Example #1
0
 internal static void CloseApp()
 {
     StopThreads?.Invoke();
     Environment.Exit(1);
 }
 internal static void CloseApp()
 {
     MessageBox.Show("Closing the app...");
     StopThreads?.Invoke();
     Environment.Exit(1);
 }
Example #3
0
 internal static void CloseApp()
 {
     MessageBox.Show("YOU ARE GOING TO CLOSE THE APP");
     StopThreads?.Invoke();
     Environment.Exit(1);
 }
Example #4
0
 // Close all Threads after completion of the program.
 protected override void OnClosing(CancelEventArgs e)
 {
     base.OnClosing(e);
     StopThreads?.Invoke();
     Environment.Exit(1);
 }
Example #5
0
 internal static void CloseApp()
 {
     MessageBox.Show("ShutDown");
     StopThreads?.Invoke();
     Environment.Exit(1);
 }