예제 #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);
 }