static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); form1 myForm = new form1(); Application.Run(myForm); }