示例#1
0
 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);
     }
 }
示例#2
0
 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);
     }
 }