Esempio n. 1
0
 internal void RaiseOnDeviceDisconnect(object sender, _WMPOCXEvents_DeviceDisconnectEvent e)
 {
     if ((this.DeviceDisconnect != null)) {
         this.DeviceDisconnect(sender, e);
     }
 }
Esempio n. 2
0
 public virtual void DeviceDisconnect(WMPLib.IWMPSyncDevice pDevice)
 {
     _WMPOCXEvents_DeviceDisconnectEvent devicedisconnectEvent = new _WMPOCXEvents_DeviceDisconnectEvent(pDevice);
     this.parent.RaiseOnDeviceDisconnect(this.parent, devicedisconnectEvent);
 }