public static void AddCtrlValue(Form parentForm, Control ctrl, string value) { if (parentForm.InvokeRequired) { AddCtrlValueHandler method = new AddCtrlValueHandler(AddCtrlValueMethod); parentForm.BeginInvoke(method, new object[] { ctrl, value }); } else { AddCtrlValueMethod(ctrl, value); } }