Exemple #1
0
 // A private entry point for the thread.
 private static void ShowForm()
 {
     ms_frmSplash = new SplashScreen();
     Application.Run(ms_frmSplash);
 }
 // A private entry point for the thread.
 private static void ShowForm()
 {
     ms_frmSplash = new SplashScreen();
     Application.Run(ms_frmSplash);
 }
Exemple #3
0
 // A static method to close the SplashScreen
 public static void CloseForm()
 {
     if( ms_frmSplash != null && ms_frmSplash.IsDisposed == false )
     {
         // Make it start going away.
         ms_frmSplash.m_dblOpacityIncrement = -Math.Abs(ms_frmSplash.m_dblOpacityDecrement);
     }
     ms_oThread = null;	// we don't need these any more.
     ms_frmSplash = null;
 }