Beispiel #1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     MainForm view = new MainForm();
     view.StartPosition = FormStartPosition.CenterScreen;
     IController controller = new IController(view);
     
     Application.Run(view);
 }
Beispiel #2
0
 /// <summary>
 /// Set controller
 /// </summary>
 /// <param name="controller"></param>
 public void SetController(IController controller)
 {
     this.controller = controller;
 }