コード例 #1
0
        private void GameView_Load(object sender, EventArgs e)
        {
            //ScoreboardView scoreboard = controller.getViewScoreboard();
            TicTacToeView ticTacToe = controller.getViewTicTacToe();

            //ticTacToe.Location = new Point(0, scoreboard.Height);

            //Controls.Add(scoreboard);
            Controls.Add(ticTacToe);
        }
コード例 #2
0
 public TicTacToeController(GameController cont)
 {
     container = cont;
     view      = new TicTacToeView(this);
     model     = new TicTacToeModel();
 }
コード例 #3
0
 public TicTacToeController(GameController cont)
 {
     container = cont;
       view = new TicTacToeView(this);
       model = new TicTacToeModel();
 }