Esempio n. 1
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     ARCLWindow?.Close();
     RESTWindow?.Close();
     SQLWindow?.Close();
     RabbitMQWindow?.Close();
 }
Esempio n. 2
0
        private void BtnARCLWindow_Click(object sender, RoutedEventArgs e)
        {
            if (ARCLWindow == null)
            {
                ARCLWindow            = new ARCLWindow(this);
                ARCLWindow.Closed    += ARCLWindow_Closed;
                ARCLWindow.Activated += AnyWindow_Activated;
                ARCLWindow.Show();

                ARCLWindow.Owner = null;
            }
            else if (ARCLWindow.WindowState == WindowState.Minimized)
            {
                ARCLWindow.WindowState = App.Settings.ARCLWindow.WindowState;
            }
        }
Esempio n. 3
0
 private void ARCLWindow_Closed(object sender, EventArgs e)
 {
     ARCLWindow = null;
     WindowClose();
 }