static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); ConfigUtilityForm cfg = new ConfigUtilityForm(); Thread t = new Thread(cfg.Operate); t.Start(); Application.Run(cfg); }