Beispiel #1
0
 public SplashScreen()
 {
     Utils.Utils.NetworkInterfaceTypeChanged += new EventHandler(OnNetworkTypeChanged);
     Utils.Utils.CheckNetworkType();
     InitializeComponent();
     _navigateMode = PPTVNavigateMode.MainPage;
 }
Beispiel #2
0
 public SplashScreen()
 {
     Utils.Utils.NetworkInterfaceTypeChanged += new EventHandler(OnNetworkTypeChanged);
     Utils.Utils.CheckNetworkType();
     InitializeComponent();
     _navigateMode = PPTVNavigateMode.MainPage;
 }
Beispiel #3
0
 protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
 {
     if (e.NavigationMode != System.Windows.Navigation.NavigationMode.Back)
     {
         Utils.CommonUtils.UpdateTile();
         _navigateMode = 
             NavigationContext.QueryString.ContainsKey(KEYSTRING) ?
             PPTVNavigateMode.HubVideo : _navigateMode;
         _navigateMode =
             NavigationContext.QueryString.ContainsKey("pursuittoast") ?
             PPTVNavigateMode.ToastNotify : _navigateMode;
     }
     else
     {
         _navigateMode = PPTVNavigateMode.MainPage;
     }
     Navigate();
 }
Beispiel #4
0
 protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
 {
     if (e.NavigationMode != System.Windows.Navigation.NavigationMode.Back)
     {
         Utils.CommonUtils.UpdateTile();
         _navigateMode =
             NavigationContext.QueryString.ContainsKey(KEYSTRING) ?
             PPTVNavigateMode.HubVideo : _navigateMode;
         _navigateMode =
             NavigationContext.QueryString.ContainsKey("pursuittoast") ?
             PPTVNavigateMode.ToastNotify : _navigateMode;
     }
     else
     {
         _navigateMode = PPTVNavigateMode.MainPage;
     }
     Navigate();
 }