示例#1
0
        public static void CloseSplash()
        {
            if (Instance == null)
            {
                return;
            }

            Instance.Invoke(new Action(delegate() {
                Instance.Close();
                Instance.Dispose();
            }));
            Instance.Dispose();
            Instance = null;
        }
示例#2
0
 public frmSplash()
 {
     Instance = this;
     InitializeComponent();
 }