Beispiel #1
0
 public static void ShowWaitWindow()
 {
     if (ww == null)
     {
         ww = new View.WaitWindow();
         ww.ShowDialog();
     }
 }
Beispiel #2
0
 public static void CloseWaitWindow(bool IsReadFailed)
 {
     if (ww != null)
     {
         ww.CloseSplashScreen();
         ww = null;
         if (IsReadFailed)
         {
             System.Windows.Application.Current.Dispatcher.Invoke(() =>
             {
                 DXMessageBox.Show("读取失败", "提示", MessageBoxButton.OK, MessageBoxImage.Error);
             });
         }
     }
 }