Exemple #1
0
 public void setEnableBool(bool status)
 {
     if (this.InvokeRequired)
     {
         setBoolCallBack d = new setBoolCallBack(setEnableBool);
         this.Invoke(d, new object[] { status });
     }
     else
     {
         base.Enabled = status;
     }
 }
 public void setEnableBool(bool status)
 {
     if (this.InvokeRequired)
     {
         setBoolCallBack d = new setBoolCallBack(setEnableBool);
         this.Invoke(d, new object[] { status });
     }
     else
     {
         base.Enabled = status;
     }
 }