// A static method to close the SplashScreen static public void CloseForm() { if( ms_frmSplash != null && ms_frmSplash.IsDisposed == false ) { // Make it start going away. ms_frmSplash.m_dblOpacityIncrement = - ms_frmSplash.m_dblOpacityDecrement; } ms_oThread = null; // we do not need these any more. ms_frmSplash = null; }
// A private entry point for the thread. static private void ShowForm() { ms_frmSplash = new Splash(); Control.CheckForIllegalCrossThreadCalls = false; Application.Run(ms_frmSplash); }
// A private entry point for the thread. static private void ShowForm() { ms_frmSplash = new Splash(); Application.Run(ms_frmSplash); }
// A private entry point for the thread. private static void ShowForm() { ms_frmSplash = new Splash(); Application.Run(ms_frmSplash); }