/// <summary> /// Is called when the connection to a device is lost /// </summary> /// <param name="sender"></param> /// <param name="args"></param> void DeviceLost(object sender, DeviceEventArgs args) { RemoveDeviceDelegate RemoveDeviceInstance = new RemoveDeviceDelegate(RemoveDevice); this.Invoke(RemoveDeviceInstance, new object[] { args.Device }); }
/// <summary> /// Is called when the connection to a device is lost /// </summary> /// <param name="sender"></param> /// <param name="args"></param> void DeviceLost(object sender, DeviceEventArgs args) { RemoveDeviceDelegate RemoveDeviceInstance = new RemoveDeviceDelegate(RemoveDevice); this.Invoke(RemoveDeviceInstance, new object[] { args.Device }); }