public void send(Label obj, object _temp) { try { if (obj.InvokeRequired) { SetTextCallbackLabel d = new SetTextCallbackLabel(send); Program.Form.Invoke(d, new object[] { obj, _temp }); } else { obj.Text = (string)_temp; } } catch { } }
public void send(Label obj, object _temp) { try { if (obj.InvokeRequired) { SetTextCallbackLabel d = new SetTextCallbackLabel(send); Program.Form.Invoke(d, new object[] { obj, _temp }); } else { obj.Text = (string)_temp; } } catch { } }