static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); using (cmpMain = new ComponentMain()) { Application.Run(); } }