Exemple #1
0
        static public void Close()
        {
            if (MySplashThread == null)
            {
                return;
            }
            if (MySplashForm == null)
            {
                return;
            }

            try
            {
                MySplashForm.Invoke(new MethodInvoker(MySplashForm.Close));
            }
            catch (Exception)
            {
            }
            MySplashThread = null;
            MySplashForm   = null;
        }
Exemple #2
0
 static void ShowThread()
 {
     MySplashForm = new frmSplash();
     Application.Run(MySplashForm);
 }