private void OptionsCommand_Executed(object sender, ExecutedRoutedEventArgs e) { OptionsWindow optionWindow = new OptionsWindow(); optionWindow.DataContext = gameOptions; optionWindow.ShowDialog(); }
private void options_Click(object sender, RoutedEventArgs e) { OptionsWindow optionWindow = new OptionsWindow(); optionWindow.DataContext = gameOptions; optionWindow.ShowDialog(); }