コード例 #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);
        }