2013年6月17日

Windows Phone 几种弹出框提示方式

摘要: 首先,我们需要在网络上下载一个Coding4Fun然后,引用 using Coding4Fun.Phone.Controls.Toolkit; using Coding4Fun.Phone.Controls; //第一种:AboutPrompt:说明弹出框,特点是弹出框会在屏幕中间,其他的弹出框是在屏幕的上方。private void About_Click(object sender, RoutedEventArgs e){ var about = new AboutPrompt(); about.Completed += baseObject_Completed; abo... 阅读全文

posted @ 2013-06-17 18:12 Hai_阔天空 阅读(364) 评论(0) 推荐(0)

Windows Phone 自定义一个启动画面

摘要: 1.新建一个UserControl<UserControl x:Class="LoadingPage.PopupSplash" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc=&q 阅读全文

posted @ 2013-06-17 18:02 Hai_阔天空 阅读(364) 评论(0) 推荐(0)

Windows Phone 几种页面间传递数据的方式

摘要: 首先,我们要引用:using Microsoft.Phone.Shell;第一种:// 导航到新页面NavigationService.Navigate(new Uri("/DetailsPage.xaml?selectedItem=" + MainListBox.SelectedIndex, UriKind.Relative));DetailPage.xaml.cs// 导航页面以将数据上下文设置为列表中的所选项时protected override void OnNavigatedTo(NavigationEventArgs e){ string selectedInd 阅读全文

posted @ 2013-06-17 17:56 Hai_阔天空 阅读(259) 评论(0) 推荐(0)

Windows Phone 页面切换动画

摘要: 1.首先引用Microsoft.Phone.Toolkit2.将App.xaml.cs 中的 RootFrame = new PhoneApplicationFrame(); 改成RootFrame = new TransitionFrame();3.引用toolkit xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"4.toolkit中一共有5中动画效果☻SlideTransition 飞入动画 ☻RotateTransition 阅读全文

posted @ 2013-06-17 17:40 Hai_阔天空 阅读(299) 评论(0) 推荐(0)

Windows Phone 在读取网络图片之前先显示默认图片

摘要: 1.新建一个控件WindowsPhoneControl1WindowsPhoneControl1.xaml<UserControl x:Class="DefaultImage.WindowsPhoneControl1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microso 阅读全文

posted @ 2013-06-17 15:24 Hai_阔天空 阅读(351) 评论(0) 推荐(0)

ios开发 点击文本(TextField)输入的时候向上推以及输入之后恢复的动画

摘要: 1.添加委托UITextFieldDelegate2.-(BOOL)textFieldShouldReturn:(UITextField *)textField { [textField resignFirstResponder]; return YES;} //隐藏键盘- (void... 阅读全文

posted @ 2013-06-17 10:45 Hai_阔天空 阅读(569) 评论(0) 推荐(0)

导航