标签:style blog class code java tar
(1)XAML
mc:Ignorable="d"
(2)XAML
xmlns:Behavior="clr-namespace:WP.ControlBehavior;assembly=WP.ControlBehavior"
(3)
<Grid x:Name="ContentPanel" Grid.Row="2" > <ListBox ItemsSource="{Binding AirTicketItems}" ItemTemplate="{StaticResource DT_AirInfo}" Behavior:TiltEffect.IsTiltEnabled="True"/> </Grid>
(4)
AirTicketResultInfo定义的APP为静态的
BookFlight定义的App为私有的
区别是什么?
(5)
#region BackKeyPressCommand BackKeyPressCommand = new RelayCommand(() => { BackKeyPress(true); AirTicketItems = null; StartFlightName = null; EndFlightName = null; }); #endregion
(6)
public void Navigated(System.Uri uri)
{}里的
AppCurrent.SelectionDate = string.Empty;
(7)AirTicketResultInfoVM.cs
public void Navigated(System.Uri uri) { if (IsLoading || !string.IsNullOrEmpty(AppCurrent.SelectionDate)) { StartFlightName = AppCurrent.StartCity.ApLName; EndFlightName = AppCurrent.EndCity.ApLName; #region DataService AirTicketItems = null; IsLoading = true; DataService.GetAirTicketInfo( (airInfo) => { AirTicketItems = airInfo.OutBounds; IsLoading = false; }, () => { GlobalFunc.PageGoBack(BackKeyPressCommand); }, AppCurrent.StartCity.ApCode, AppCurrent.EndCity.ApCode, AppCurrent.SelectionDate, ""); #endregion AppCurrent.SelectionDate = string.Empty; } }
(8)UrlFactory.cs
标签:style blog class code java tar
原文地址:http://www.cnblogs.com/Windows-phone/p/3716880.html