private void ClearProgress() { if (InvokeRequired) { ClearProgressDelegate clearProgress = ClearProgress; Invoke(clearProgress); return; } lblStatusMessage.Text = "Ready for anything!"; lblStatusMessage.ForeColor = Color.Black; }
private void ClearProgress() { if (this.InvokeRequired) { ClearProgressDelegate clearProgress = new ClearProgressDelegate(ClearProgress); this.Invoke(clearProgress); return; } lblStatusMessage.Text = "Ready for anything!"; lblStatusMessage.ForeColor = Color.Black; }