Пример #1
0
 public static void Close()
 {
     if (Splash.MySplashThread != null)
     {
         if (Splash.MySplashForm != null)
         {
             try
             {
                 Splash.MySplashForm.Invoke(new MethodInvoker(Splash.MySplashForm.Close));
             }
             catch (Exception)
             {
             }
             Splash.MySplashThread = null;
             Splash.MySplashForm   = null;
         }
     }
 }
Пример #2
0
 private static void ShowThread()
 {
     Splash.MySplashForm = new frmPromptQuerying(1);
     Application.Run(Splash.MySplashForm);
 }