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