2012年7月24日

OnBackKeyPress 后退键的禁止

摘要: protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e) { base.OnBackKeyPress(e); if (!MessageBox.Show("Are you sure to give up current Tr... 阅读全文

posted @ 2012-07-24 17:01 冰危节奏 阅读(233) 评论(0) 推荐(0) 编辑

2012年7月5日

windows phone 中设置Application Bar

摘要: App.xaml: <Application.Resources> <shell:ApplicationBar x:Key=”MainAppBar” IsVisible=”True”> <shell:ApplicationBar.MenuItems> <shell:ApplicationBarMenuItem Text=”About” Cli... 阅读全文

posted @ 2012-07-05 17:53 冰危节奏 阅读(237) 评论(0) 推荐(0) 编辑

2012年6月27日

Windows phone 未处理异常的 错误报告页面

摘要: 1.创建ErrorPage页面,增加如下代码: public static Exception Exception; // Executes when the user navigates to this page. protected override void OnNavigatedTo(NavigationEventArgs e) ... 阅读全文

posted @ 2012-06-27 14:57 冰危节奏 阅读(387) 评论(0) 推荐(0) 编辑

Windows phone 中的Grid布局

摘要: <!--ContentPanel - place additional content here--> <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <Grid.RowDefinitions> <RowDefinitio... 阅读全文

posted @ 2012-06-27 11:44 冰危节奏 阅读(735) 评论(0) 推荐(0) 编辑

123

摘要: 456 阅读全文

posted @ 2012-06-27 11:00 冰危节奏 阅读(779) 评论(0) 推荐(0) 编辑

2010年5月10日

针对自己网站内容的搜索引擎代码

摘要: 转自:http://www.ziyexing.com/files-6/wyjl/wyjl_inf_16.htm   如下是网友推荐的针对自己网站容的搜索引擎代码。这些借用于几大搜索网站所提供的代码,可以镶嵌到自己的主页中,并对自己网站中的内容进行方便的搜索,而且高效,不占用网站服务器的资源。使用时,请将代码里的“www.ziyexing.com”替换成你的网址。  代码可放在主页中任意选定的位置。... 阅读全文

posted @ 2010-05-10 15:53 冰危节奏 阅读(3394) 评论(0) 推荐(0) 编辑

为什么取不到HttpContext.Current.User.Identity.Name值?郁闷

摘要: 问题找到, 是因为我没有在IIS中设置不能匿名登录,把这个取消了就行了。 阅读全文

posted @ 2010-05-10 11:40 冰危节奏 阅读(2742) 评论(2) 推荐(0) 编辑

终于弄明白Framework 3.5为什么在IIS的ASP.NET选项找不到?

摘要: 本人现在正在研究VS2008,发现VS2008带的Framework 3.5,于是我去IIS ASP.NET里面看看是不是有那个选项.发现没有.于是乎就想到这是脚本没有映射.用以前注册Framework 2.0的方法,发现找不到aspnet_regiis.exe注册了.上V3.5里面发现最有可能的是一个叫VFServers.exe还差不多.用命令重新注册还是不行.我看见 添加删除程序里面 是 fr... 阅读全文

posted @ 2010-05-10 10:07 冰危节奏 阅读(383) 评论(0) 推荐(0) 编辑

2010年5月5日

shtml的include

摘要: 有的网站会出现100多个,甚至更多个页面拥有完全相同的导航条,列表,等充分的信息。这种情况下我们可以使用shtml的include功能来导入这些相同的部分: index.shtml: <HTML> </HEAD> <BODY> <!--#include file="block.html" --> </BODY></HTML> ... 阅读全文

posted @ 2010-05-05 15:47 冰危节奏 阅读(687) 评论(2) 推荐(0) 编辑

2010年5月4日

验证域的用户名和密码

摘要: http://support.microsoft.com/kb/316748 阅读全文

posted @ 2010-05-04 09:33 冰危节奏 阅读(261) 评论(0) 推荐(0) 编辑

导航