public Form1(PlayerModel model, PlayerController controller) { InitializeComponent(); this.model = model; this.controller = controller; model.RegisterView(this); }
private static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); PlayerModel model = new PlayerModel(); PlayerController controller = new PlayerController(model); Application.Run(controller.view as Form1); }