static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var model = new ScrabbleModel();

            var view = new FormMain();

            var controller = new ScrabbleController(model, view);

            controller.RenderView();
            Application.Run(view);
        }
Example #2
0
 public ScrabbleController(ScrabbleModel model, FormMain view)
 {
     this.model = model;
     this.view  = view;
     view.SetController(this);
 }