Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public ScrabbleController(ScrabbleModel model, FormMain view)
 {
     this.model = model;
     this.view  = view;
     view.SetController(this);
 }