public static void ChangeText(LabelControl lbl, string text, Color forcecolor) { if (lbl.InvokeRequired) { lbl.BeginInvoke((Action)(() => { lbl.ForeColor = forcecolor; lbl.Text = text; })); } else { lbl.ForeColor = forcecolor; lbl.Text = text; } }