private void InvokeNewInputDeviceEvent(GenericInput input)
 {
     if (NewInputDevice != null)
     {
         NewInputDeviceEventArgs eventArgs = new NewInputDeviceEventArgs(input.DeviceInstanceId, input.DeviceName, input);
         NewInputDevice.Invoke(this, eventArgs);
     }
 }
예제 #2
0
 private void InvokeNewInputDeviceEvent(String deviceId, GenericInput input)
 {
     if (NewInputDevice != null)
     {
         NewInputDeviceEventArgs eventArgs = new NewInputDeviceEventArgs(deviceId, input);
         NewInputDevice.Invoke(this, eventArgs);
     }
 }