public static void CloseSplash() { if (Instance == null) { return; } Instance.Invoke(new Action(delegate() { Instance.Close(); Instance.Dispose(); })); Instance.Dispose(); Instance = null; }
public frmSplash() { Instance = this; InitializeComponent(); }