/// <summary> /// Used to Close the Splash Screen and it thread. /// </summary> static public void CloseForm() { if (m_oSplashScreen != null) { // make this start to go away: m_oSplashScreen.m_dOpacityIncrement = -m_oSplashScreen.m_dOpacityDecrement; } // Do not need these anymore. m_oThread = null; m_oSplashScreen = null; //m_oSplashScreen.Close(); }
static private void ShowForm() { m_oSplashScreen = new StartupSplashScreen(); Application.Run(m_oSplashScreen); //m_oSplashScreen.Show(); }