static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); frmSplash splash = new frmSplash(); splash.ShowDialog(); Application.Run(new frmMain()); }