07 2012 档案

后台线程调用前台页面上的内容:windows Form
摘要:BackgroundThreadFunction() { Invoke(new ShowMessage(Show), strAccount, e.Message); } private delegate void ShowMessage(string strAccount, string Exception); private void Show(string strAcco... 阅读全文

posted @ 2012-07-26 10:27 冰危节奏 阅读(175) 评论(0) 推荐(0)

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 冰危节奏 阅读(243) 评论(0) 推荐(0)

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 冰危节奏 阅读(256) 评论(0) 推荐(0)

导航