Пример #1
0
 private void Command_Execute_ShowGameSettings(object sender, ExecutedRoutedEventArgs args)
 {
     GameSettingsWindow gsw = new GameSettingsWindow(_manager);
     gsw.Owner = this;
     gsw.ShowDialog();
 }
Пример #2
0
 private void Command_Execute_New(object sender, ExecutedRoutedEventArgs args)
 {
     GameSettingsWindow gsw = new GameSettingsWindow(_manager);
     gsw.Owner = this;
     gsw.ShowDialog();
     SetCurrentPlayerStatusText(PlayerColor.White);
     MainGameBoard.FullRedraw();
     _manager.StartGame();
 }