Пример #1
0
        //    public Method to hide the SplashForm
        public static void Close()
        {
            if (MySplashThread == null)
                return;
            if (MySplashForm == null)
                return;

            try
            {
                MySplashForm.Invoke(new MethodInvoker(MySplashForm.Close));
            }
            catch (Exception)
            {
            }
            MySplashThread = null;
            MySplashForm = null;
        }
Пример #2
0
        //	public Method to hide the SplashForm
        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;
        }
Пример #3
0
 //    internally used as a thread function - showing the form and
 //    starting the messageloop for it
 static void ShowThread()
 {
     MySplashForm = new frmSplash();
     Application.Run(MySplashForm);
     //SingleApplication.Run(MySplashForm);
 }
Пример #4
0
 //	internally used as a thread function - showing the form and
 //	starting the messageloop for it
 static void ShowThread()
 {
     MySplashForm = new frmSplash();
     Application.Run(MySplashForm);
     //SingleApplication.Run(MySplashForm);
 }