2 using System.Collections.Generic;
3 using System.ComponentModel;
7 using System.Windows.Forms;
8 using System.Threading;
10 namespace Sample_Environment_Control_Interface
33 _runningThread.IsBackground =
true;
34 _runningThread.SetApartmentState(ApartmentState.STA);
35 _runningThread.Start();
43 _splashScreen.lblMessage.Text =
_message;
56 _runningThread.Abort();
62 _splashScreen.Visible =
false;
void InitializeComponent()
Required method for Designer support - do not modify the contents of this method with the code editor...
delegate void HideSplashScreenDelegate()
static Thread _runningThread
static void ShowSplashScreen(String text)
static GeneralSplashScreen _splashScreen