예제 #1
0
 private static void Phase2InitializationUIStage(object arg)
 {
     _initializationFailsafe.Initialize(delegate
     {
         _appInitializationSequencer.UIReady();
     });
     ProcessAppArgs();
     Download.Instance.Phase2Init();
     if (!ZuneShell.DefaultInstance.NavigationsPending && ZuneShell.DefaultInstance.CurrentPage is StartupPage)
     {
         ZuneUI.Shell.NavigateToHomePage();
     }
     if (_dbRebuilt)
     {
         string caption = ZuneLibrary.LoadStringFromResource(109U);
         string text    = ZuneLibrary.LoadStringFromResource(110U);
         if (!string.IsNullOrEmpty(caption) && !string.IsNullOrEmpty(text))
         {
             Win32MessageBox.Show(text, caption, Win32MessageBoxType.MB_ICONHAND, null);
         }
     }
     _phase2InitComplete = true;
 }