internal static void CloseApp() { MessageBox.Show("ShutDown"); DataStorage.Save(); StopThreads?.Invoke(); Environment.Exit(1); }
internal static void CloseApp() { StationManager.DataStorage.ChangeUser(CurrentLocalUser); StationManager.DataStorage.SaveCurrentUser(); MessageBox.Show("ShutDown"); StopThreads?.Invoke(); Environment.Exit(1); }
public static void InvokeStopThreads() { try { StopThreads?.Invoke(); } catch {} }
internal static void CloseApp() { MessageBox.Show("Stop"); try { StopThreads?.Invoke(); } catch { } Environment.Exit(1); }
protected override void OnClosing(CancelEventArgs e) { base.OnClosing(e); StopThreads?.Invoke(); Environment.Exit(0); }
internal static void CloseApp() { //MessageBox.Show("Shutting Down"); StopThreads?.Invoke(); Environment.Exit(1); }
internal static void CloseApp() { StopThreads?.Invoke(); Environment.Exit(1); }
internal static void CloseApp() { MessageBox.Show("Closing app"); StopThreads?.Invoke(); Environment.Exit(1); }
public static void StopAllThreads() { StopThreads?.Invoke(); }
internal static void CloseApp() { DataStorage.SaveChanges(); StopThreads?.Invoke(); Environment.Exit(1); }
internal static void CloseApp() { MessageBox.Show("YOU ARE GOING TO CLOSE THE APP"); StopThreads?.Invoke(); Environment.Exit(1); }