示例#1
0
 public virtual void SetControlTag(Control Control, Object TagObject)
 {
     if (this.InvokeRequired)
     {
         SetControlTagDelegate dele = new SetControlTagDelegate(SetControlTag2);
         this.Invoke(dele, new object[] { Control, TagObject });
     }
     else
     {
         SetControlTag2(Control, TagObject);
     }
 }
示例#2
0
 public virtual void SetControlTag(Control Control, Object TagObject)
 {
     if (this.InvokeRequired)
     {
         SetControlTagDelegate dele = new SetControlTagDelegate(SetControlTag2);
         this.Invoke(dele, new object[] { Control, TagObject });
     }
     else
     {
         SetControlTag2(Control, TagObject);
     }
 }