public virtual void setControlVisible(Control Control, Boolean Visible) { if (this.InvokeRequired) { SetControlVisibleDelegate dele = new SetControlVisibleDelegate(setControlVisible2); this.Invoke(dele, new object[] { Control, Visible }); } else { setControlVisible2(Control, Visible); } }
public virtual void setControlVisible(Control Control, Boolean Visible) { if (this.InvokeRequired) { SetControlVisibleDelegate dele = new SetControlVisibleDelegate(setControlVisible2); this.Invoke(dele, new object[] { Control, Visible }); } else { setControlVisible2(Control, Visible); } }