private void SetControlText(Control ctrl, string sText) { if (ctrl.InvokeRequired) { ChangeControlText method = new ChangeControlText(this.SetControlText); base.Invoke(method, new object[] { ctrl, sText }); } else { ctrl.Text = sText; base.Update(); } }