private void SetupCommands() { StartNewGameCommand = new RelayCommand(x => StartNewGame()); CloseErrorCommand = new RelayCommand(x => CloseErrorWindow()); }
private void SetupCommands() { PerformSelectionCommand = new RelayCommand(x => PerformSelection(), x => CanPerformSelectionExecute()); CloseSelectorWindowCommand = new RelayCommand(x => CloseSelector()); }
private void SetupCommands() { ConnectCommand = new RelayCommand(x => ConnectToServer()); PlayOfflineCommand = new RelayCommand(x => PlayOffline()); StartServerCommand = new RelayCommand(x => _client.StartServer()); }