2 using System.Collections.Generic;
4 using System.Threading.Tasks;
5 using System.Windows.Forms;
7 namespace SharpDisplayManager
11 //WARNING: This is assuming we have a single instance of our program.
12 //That is what we want but we should enforce it somehow.
13 public static MainForm iMainForm;
15 /// The main entry point for the application.
20 Application.EnableVisualStyles();
21 Application.SetCompatibleTextRenderingDefault(false);
22 iMainForm = new MainForm();
23 Application.Run(iMainForm);