void ShowError() { if (BaseTabs.InvokeRequired) { ShowError_d CALL_d = new ShowError_d(ShowError); BaseTabs.Invoke(CALL_d, new object[] { }); } else { this.Text = "Error doing diff. Make sure you selected proper input."; } }
internal void ShowError(string Error) { if (this.InvokeRequired) { ShowError_d SE_d = new ShowError_d(ShowError); this.Invoke(SE_d, new object[] { Error }); } else { this.StatusLbl.Text = Error; this.StatusLbl.ForeColor = Color.Red; this.RunModuleBtn.Enabled = false; this.ProgressBarPanel.Visible = false; } }