Exemple #1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     form = new LightsForm();
     new Action(ControlMethod).BeginInvoke(null, null);
     Application.Run(form);
 }
Exemple #2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     form = new LightsForm();
     new Action(ControlMethod).BeginInvoke(null, null);
     Application.Run(form);
 }