Example #1
0
        /// <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();
        }
Example #2
0
 static private void ShowForm()
 {
     m_oSplashScreen = new StartupSplashScreen();
     Application.Run(m_oSplashScreen);
     //m_oSplashScreen.Show();
 }