Пример #1
0
 public static void HideWindow()
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         if (_currWindow != null)
         {
             _currWindow.DoClose();
         }
         _currWindow = null;
     });
 }
Пример #2
0
        public static void ShowWindow()
        {
            Application.Current.Dispatcher.Invoke(() =>
            {
                HideWindow();

                _currWindow       = new CheckingForUpdateWindow();
                _currWindow.Owner = Application.Current.MainWindow;
                _currWindow.Show();
            });
        }
Пример #3
0
 private static void HideWindows()
 {
     CheckingForUpdateWindow.HideWindow();
     UpdateAvailableDialog.HideWindow();
     DownloadProgressWindow.HideWindow();
 }
Пример #4
0
 internal static void Updater_CheckingForUpdate()
 {
     CheckingForUpdateWindow.ShowWindow();
 }