Example #1
0
 private static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     var gameBoardView = new GameBoardView();
     var gameBoardController = new GameBoardController(gameBoardView);
     gameBoardView.SetController(gameBoardController);
     Application.Run(gameBoardView);
 }
Example #2
0
 public void SetController(GameBoardController controller)
 {
     _controller = controller;
 }