internal void ConnectivityCheckEnd(bool Success) { if (Step1StatusLbl.InvokeRequired) { ConnectivityCheckEnd_d CALL_d = new ConnectivityCheckEnd_d(ConnectivityCheckEnd); Step1StatusLbl.Invoke(CALL_d, new object[] { Success }); } else { if (Success) { Step1Progress.Visible = false; Step1StatusLbl.Text = "Congrats! Url is reachable, proceed to the next step."; StepZeroNextBtn.Enabled = true; } else { IronUI.UI.ConsoleScanUrlTB.ReadOnly = false; this.Close(); } } }