protected virtual void OnLostDevice(object sender, DeviceEventArguments arguments) { if (LostDevice != null) { LostDevice(sender, arguments); } }
protected virtual void OnDiscoveredDevice(object sender, DeviceEventArguments arguments) { if (DiscoveredDevice != null) { DiscoveredDevice(sender, arguments); } }
private void DeviceListLostDevice(object sender, DeviceEventArguments e) { e.Device.Dispose(); }