Ejemplo n.º 1
0
		/// ------------------------------------------------------------------------------------
		/// <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;
			}
		}
Ejemplo n.º 2
0
		/// ------------------------------------------------------------------------------------
		/// <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();
		}