/// ------------------------------------------------------------------------------------ /// <summary> /// Closes the splash screen /// </summary> /// ------------------------------------------------------------------------------------ private static void CloseSplashScreen() { // Close the splash screen if (s_splashScreen != null) { s_splashScreen.Close(); s_splashScreen.Dispose(); s_splashScreen = null; } }
/// ------------------------------------------------------------------------------------ /// <summary> /// Displays the splash screen /// </summary> /// ------------------------------------------------------------------------------------ private static void ShowSplashScreen(FwApp app) { s_splashScreen = new FwSplashScreen(); s_splashScreen.ProductExecutableAssembly = Assembly.LoadFile(app.ProductExecutableFile); s_splashScreen.Show(!FwRegistrySettings.DisableSplashScreenSetting, s_noUserInterface); s_splashScreen.Refresh(); }