Example #1
0
 public FrmNewGame(Workbench parentWorkbench, IGameServiceRepository gameServiceRepository)
 {
     InitializeComponent();
     _gameServiceRepository = gameServiceRepository;
     _parentWorkbench = parentWorkbench;
     this.Text = btnAddGame.Text = "CREATE GAME";
     _isCreate = true;
 }
Example #2
0
 public FrmNewGame(Workbench parentWorkbench, IGameServiceRepository gameServiceRepository,
     int gameId)
 {
     InitializeComponent();
     _gameServiceRepository = gameServiceRepository;
     _parentWorkbench = parentWorkbench;
     this.Text = btnAddGame.Text = "UPDATE GAME";
     _isCreate = false;
     _gameId = gameId;
 }
Example #3
0
 public FrmNewGame(Workbench parentWorkbench)
 {
     InitializeComponent();
     _parentWorkbench = parentWorkbench;
     _xhr             = new HttpRequester("game/create");
 }