Example #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;
        }
Example #2
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;
        }
Example #3
0
 static void ShowThread()
 {
     MySplashForm = new LoadingForm();
     Application.Run(MySplashForm);
 }
Example #4
0
 static void ShowThread()
 {
     MySplashForm = new LoadingForm();
     Application.Run(MySplashForm);
 }