예제 #1
0
        private void ShowWaitWindow()
        {
            if (waitWindowVisible)
            {
                return;
            }

            waitWindowVisible = true;

            waitWindow         = new WaitWindow();
            waitWindow.Closed += WaitWindowClosed;
            waitWindow.Owner   = this;
            waitWindow.ShowDialog();
        }
예제 #2
0
 private void CloseWaitWindow()
 {
     waitWindowVisible = false;
     try
     {
         if (waitWindow != null)
         {
             waitWindow.Closed -= WaitWindowClosed;
             waitWindow.Close();
             waitWindow = null;
         }
     }
     catch
     {
     }
 }
예제 #3
0
 private void CloseWaitWindow()
 {
     waitWindowVisible = false;
     try
     {
         if (waitWindow != null)
         {
             waitWindow.Closed -= WaitWindowClosed;
             waitWindow.Close();
             waitWindow = null;
         }
     }
     catch
     {
     }
 }
예제 #4
0
        private void ShowWaitWindow()
        {
            if (waitWindowVisible)
                return;

            waitWindowVisible = true;

            waitWindow = new WaitWindow();
            waitWindow.Closed += WaitWindowClosed;
            waitWindow.Owner = this;
            waitWindow.ShowDialog();
        }