//Opens the preferences configuration window. private void MenuItem_Preferences_Click(object sender, RoutedEventArgs e) { PreferencesWindow prefWin = new PreferencesWindow(); prefWin.Show(); }