private static void ShowSplashScreen() { _splashScreen.Show(); while (!_splashScreen.Completed) { Application.DoEvents(); } _splashScreen.Close(); _splashScreen.Dispose(); }