// A static method to close the SplashScreen static public void CloseForm() { if( _frm_Splash != null && _frm_Splash.IsDisposed == false ) { // Make it start going away. _frm_Splash._d_TransparenzInkrement = - _frm_Splash._d_TransparenzDekrement; } _oThread = null; // we don't need these any more. _frm_Splash = null; }
// Die Initialisierung und Ausführung des Splash Screen. Dies ist im Übergeordneten Programm hier // im eigenen Thread passiert. static private void ZeigeForm() { _frm_Splash = new Cpr_SplashScreen(); Application.Run(_frm_Splash); }