public static void CloseForm() { if (SplashScreen._splashScreen != null) SplashScreen._splashScreen._opacityIncrement = -SplashScreen._splashScreen._opacityDecrement; SplashScreen._splashThread = (Thread) null; SplashScreen._splashScreen = (SplashScreen) null; }
private static void ShowForm() { SplashScreen._splashScreen = new SplashScreen(); Application.Run((Form) SplashScreen._splashScreen); }