Esempio n. 1
0
 private void DeviceCommandChanged(DeviceCommand newDevice, string message)
 {
     if (message != null)
     {
         ChangeMessage(message);
     }
     DeviceCommand.Command[] commands = newDevice.GetDeviceCommands();
     UpdateCommandList(commands);
     currentDevice = newDevice;
 }
Esempio n. 2
0
 private void UpdateCommands(IUsbDevice dev)
 {
     DeviceCommand.Command[] commands = DeviceCommand.GetDeviceCommands(dev);
     UpdateCommandList(commands);
 }