// A private entry point for the thread. static private 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); }
public ToolSetManager() { InitializeComponent(); Application.DoEvents(); treeviewImagelist = new ImageList(); AddImages(); this.treeViewControl.ImageList = treeviewImagelist; SplashScreen.SetStatus("Initializing Components..."); Thread.Sleep(300); SplashScreen.SetStatus("Loading AuthenticationTester..."); ucAuthenticationTester = new UserControlAuthenticationTester(); tabPageAuthentication.Controls.Add(ucAuthenticationTester); ucAuthenticationTester.Dock = DockStyle.Fill; Thread.Sleep(100); SplashScreen.SetStatus("Loading CustomRequest..."); ucCustomReQuest = new UserControlCustomRequest(); tabPageCustomRequest.Controls.Add(ucCustomReQuest); ucCustomReQuest.Dock = DockStyle.Fill; Thread.Sleep(100); SplashScreen.SetStatus("Loading Database Extractor..."); ucDatabaseExtractor = new UserControlDatabaseExtractor(); tabPageDatabaseExtractor.Controls.Add(ucDatabaseExtractor); ucDatabaseExtractor.Dock = DockStyle.Fill; Thread.Sleep(100); SplashScreen.SetStatus("Loading Encoder..."); ucEncoder = new UserControlEncoder(); tabPageEncoder.Controls.Add(ucEncoder); ucEncoder.Dock = DockStyle.Fill; Thread.Sleep(100); SplashScreen.SetStatus("Loading HTTP Sniffer..."); ucHTTPSniffer = new UserControlHTTPSniffer(); tabPageHTTPsniffer.Controls.Add(ucHTTPSniffer); ucHTTPSniffer.Dock = DockStyle.Fill; SplashScreen.SetStatus("Loading Injection Browser..."); Thread.Sleep(100); ucInjectionBrowser = new UserControlInjectionBrowser(); tabPageInjectionBrowser.Controls.Add(ucInjectionBrowser); ucInjectionBrowser.Dock = DockStyle.Fill; Thread.Sleep(100); SplashScreen.SetStatus("Loading MD5Searcher..."); ucMD5Searcher = new UserControlMD5Searcher(); tabPageMD5Searcher.Controls.Add(ucMD5Searcher); ucMD5Searcher.Dock = DockStyle.Fill; Thread.Sleep(100); SplashScreen.SetStatus("Loading PortScanner..."); ucPortScanner = new UserControlPortScanner(); tabPagePortscanner.Controls.Add(ucPortScanner); ucPortScanner.Dock = DockStyle.Fill; Thread.Sleep(100); SplashScreen.SetStatus("Loading RegexTester..."); ucRegexTester = new UserControlRegexTester(); tabPageRegexTester.Controls.Add(ucRegexTester); ucRegexTester.Dock = DockStyle.Fill; Thread.Sleep(100); SplashScreen.SetStatus("Loading SubdomainScanner..."); ucSubdomainScanner = new UserControlSubdomainScanner(); tabPageSubdomainScanner.Controls.Add(ucSubdomainScanner); ucSubdomainScanner.Dock = DockStyle.Fill; Thread.Sleep(100); SplashScreen.SetStatus("Loading Webfuzzer..."); ucWebFuzzer = new UCWebfuzzer(); tabPageWebfuzzer.Controls.Add(ucWebFuzzer); ucWebFuzzer.Dock = DockStyle.Fill; Thread.Sleep(100); SplashScreen.SetStatus("Loading WebserverFinder..."); ucWebserverfinder = new UserControlWebserverFinder(); tabPageWebserverFinder.Controls.Add(ucWebserverfinder); ucWebserverfinder.Dock = DockStyle.Fill; Thread.Sleep(100); SplashScreen.SetStatus("Loading WebserverInformant..."); ucWebServerInformant = new UserControlWebserverInformant(); tabPageWebserverInformationCatcher.Controls.Add(ucWebServerInformant); ucWebserverfinder.Dock = DockStyle.Fill; Thread.Sleep(100); InitializeTreeview(); SplashScreen.CloseForm(); Thread.Sleep(100); SaveTabepages(); //timerWerbung.Start(); }
// 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 = - ms_frmSplash.m_dblOpacityDecrement; } ms_oThread = null; // we don't need these any more. ms_frmSplash = null; }