public void Terminate() { this.Invoke((MethodInvoker)delegate { this.Height = 74; OK.Visible = notification.Visible = false; progressBar1.Enabled = true; linkLabel1.Visible = false; this.Close(); }); }
public static void HideSplash() { try { //instance.Invoke((MethodInvoker)delegate { Application.ExitThread(); }); instance.Terminate(); } catch { } }