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

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