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