コード例 #1
0
ファイル: App.xaml.cs プロジェクト: dynamics7/xapdeployer
 // Code to execute when the application is activated (brought to foreground)
 // This code will not execute when the application is first launched
 private void Application_Activated(object sender, ActivatedEventArgs e)
 {
     Utils.IsLightTheme();
     _currentModel          = PhoneApplicationService.Current.State["CurrentModel"] as MainViewModel;
     _explorerViewModel     = PhoneApplicationService.Current.State["ExplorerModel"] as ExplorerViewModel;
     _multiInstallViewModel = PhoneApplicationService.Current.State["MultiInstallModel"] as MultiInstallViewModel;
     if (_multiInstallViewModel != null)
     {
         _multiInstallViewModel.Preload(_multiInstallViewModel.Xaps, true);
     }
 }
コード例 #2
0
ファイル: App.xaml.cs プロジェクト: ultrashot/xapdeployer
 // Code to execute when the application is activated (brought to foreground)
 // This code will not execute when the application is first launched
 private void Application_Activated(object sender, ActivatedEventArgs e)
 {
     Utils.IsLightTheme();
     _currentModel = PhoneApplicationService.Current.State["CurrentModel"] as MainViewModel;
     _explorerViewModel = PhoneApplicationService.Current.State["ExplorerModel"] as ExplorerViewModel;
     _multiInstallViewModel = PhoneApplicationService.Current.State["MultiInstallModel"] as MultiInstallViewModel;
     if (_multiInstallViewModel != null)
         _multiInstallViewModel.Preload(_multiInstallViewModel.Xaps, true);
 }