Ejemplo n.º 1
0
 public virtual String getControlText(Control Control)
 {
     if (this.InvokeRequired)
     {
         GetControlTextDelegate dele = new GetControlTextDelegate(getControlText2);
         return((String)this.Invoke(dele, new object[] { Control }));
     }
     else
     {
         return(getControlText2(Control));
     }
 }
Ejemplo n.º 2
0
 public virtual String getControlText(Control Control)
 {
     if (this.InvokeRequired)
     {
         GetControlTextDelegate dele = new GetControlTextDelegate(getControlText2);
         return (String)this.Invoke(dele, new object[] { Control });
     }
     else
     {
         return getControlText2(Control);
     }
 }