/// <summary> /// this function showes the window of the settings. /// </summary> private void SettingsPressed() { Window window = new SettingsWindow(); // Show window modelessly, NOTE: Returns without waiting for window to close window.Show(); }
/// <summary> /// Create the setting window /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void SettingsWindow(object sender, RoutedEventArgs e) { SettingsWindow s = new SettingsWindow(new SettingsWindowViewModel(applicationSettingsModel)); s.Show(); }