private void Exit(object sender, RoutedEventArgs e) { MainWindow.Exit(); }
private void ExitButton_Click(object sender, RoutedEventArgs e) => MainWindow.Exit();