private static void StartMainApplication() { CheckResolution(); s_splashForm = new SplashForm(); s_splashForm.StartPosition = FormStartPosition.CenterScreen; s_splashForm.Show(); Application.DoEvents(); SetStatus("SCOUT is starting..."); Thread.CurrentThread.CurrentCulture = CultureInfo.InstalledUICulture; Application.Idle += Application_Idle; Application.ThreadExit += Application_ThreadExit; s_mainForm = MainForm.GetInstance(); s_mainForm.Closed += s_mainForm_Closed; Application.Run(s_mainForm); }