示例#1
0
        private void _CloseForm()
        {
            if (InvokeRequired)
            {
                Invoke(new CloseFormDelegate(_CloseForm));
                return;
            }

            try
            {
                Instance.Close();
                Instance.Dispose();
            }
            catch
            {
            }
            finally
            {
                Instance = null;
            }
        }
示例#2
0
 static public void _ShowSplashScreen()
 {
     Instance = new frmSplash();
     Application.Run(Instance);
 }