Ejemplo n.º 1
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;
        }