static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); TestForm form = new TestForm(); Application.Run(form); }