Ejemplo n.º 1
0
 private void DisposeInterface()
 {
     if (_interfaceControl.InvokeRequired)
     {
         var s = new DisposeInterfaceCB(DisposeInterface);
         _interfaceControl.Invoke(s);
     }
     else
     {
         _interfaceControl.Dispose();
     }
 }
Ejemplo n.º 2
0
 private void DisposeInterface()
 {
     if (this._InterfaceControl.InvokeRequired)
     {
         DisposeInterfaceCB s = new DisposeInterfaceCB(DisposeInterface);
         this._InterfaceControl.Invoke(s);
     }
     else
     {
         this._InterfaceControl.Dispose();
     }
 }
 private void DisposeInterface()
 {
     if (this._InterfaceControl.InvokeRequired)
     {
         DisposeInterfaceCB s = new DisposeInterfaceCB(DisposeInterface);
         this._InterfaceControl.Invoke(s);
     }
     else
     {
         this._InterfaceControl.Dispose();
     }
 }