(GUI): added settings dialog.

This commit is contained in:
morkt
2018-01-10 02:44:21 +04:00
parent 6af3e14f34
commit 13829ca798
5 changed files with 466 additions and 0 deletions

View File

@@ -1289,6 +1289,13 @@ namespace GARbro.GUI
about.ShowDialog();
}
private void PreferencesExec (object sender, ExecutedRoutedEventArgs e)
{
var settings = new SettingsWindow();
settings.Owner = this;
settings.ShowDialog();
}
private void CanExecuteAlways (object sender, CanExecuteRoutedEventArgs e)
{
e.CanExecute = true;
@@ -1517,5 +1524,6 @@ namespace GARbro.GUI
public static readonly RoutedCommand NextItem = new RoutedCommand();
public static readonly RoutedCommand CopyNames = new RoutedCommand();
public static readonly RoutedCommand StopPlayback = new RoutedCommand();
public static readonly RoutedCommand Preferences = new RoutedCommand();
}
}