internal void RaiseOnDeviceSyncStateChange(object sender, _WMPOCXEvents_DeviceSyncStateChangeEvent e) { if ((this.DeviceSyncStateChange != null)) { this.DeviceSyncStateChange(sender, e); } }
public virtual void DeviceSyncStateChange(WMPLib.IWMPSyncDevice pDevice, WMPLib.WMPSyncState newState) { _WMPOCXEvents_DeviceSyncStateChangeEvent devicesyncstatechangeEvent = new _WMPOCXEvents_DeviceSyncStateChangeEvent(pDevice, newState); this.parent.RaiseOnDeviceSyncStateChange(this.parent, devicesyncstatechangeEvent); }