static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); SplashAppContext splashContext = new SplashAppContext(new frmMain(), new frmSpalash()); Application.Run(splashContext); }