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