示例#1
0
        public void UpdateGame(IViewGroupGames form, IGameController gameController, IGameRepository gameRepository, Game selectedGame)
        {
            _gameController = gameController;
            _gameRepository = gameRepository;
            _selectedGame   = selectedGame;
            _form           = form;

            this.Show();
        }
示例#2
0
        public void UpdateGameScore(IUpdateGame newForm, Game game, IViewGroupGames form)
        {
            _gameRepository.UpdateGame(game);

            this.ShowAllGroupGames(form);
        }
示例#3
0
        public void ShowAllGroupGames(IViewGroupGames newFrm)
        {
            IList <Game> gameList = _gameRepository.GetAllGames();

            newFrm.ShowAllGroupGames(this, _gameRepository, gameList);
        }