public void OnAboutMenuCommand(MainWindow window) { var childWindow = new Window(); childWindow.Content = new AboutView(); childWindow.Owner = window; childWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen; childWindow.ResizeMode = ResizeMode.NoResize; childWindow.MaxHeight = 300; childWindow.MaxWidth = 500; childWindow.ShowDialog(); }
public void OnExitMenuCommand(MainWindow window) { window.Close(); }