private void cancelButton_Click(object sender, RoutedEventArgs e) { _gameOptions = null; this.Close(); }
public options() { _gameOptions = GameOptions.Create(); DataContext = _gameOptions; InitializeComponent(); }
public GameViewModel() { _players = new List <Player>(); this._gameOptions = GameOptions.Create(); }
public GameViewModel() { _players = new List<Player>(); this._gameOptions = GameOptions.Create(); }