Ejemplo n.º 1
0
 protected void OnConnectionChanged(ChangeType type, USB_Device changedDevice)
 {
     if (ConnectionChanged != null)
     {
         ConnectionChanged(this, new ConnectionChangedEventArgs(type, changedDevice));
     }
 }
Ejemplo n.º 2
0
 public ConnectionChangedEventArgs(TeensyWatcher.ChangeType type, USB_Device changedDevice)
 {
     this.changeType    = type;
     this.changedDevice = changedDevice;
 }
Ejemplo n.º 3
0
 protected void onConnectionChanged(ChangeType type, USB_Device changedDevice)
 {
     connectionChanged?.Invoke(this, new ConnectionChangedEventArgs(type, changedDevice));
 }
Ejemplo n.º 4
0
 public ConnectionChangedEventArgs(TeensyWatcher.ChangeType type, USB_Device changedDevice)
 {
     this.changeType = type;
     this.changedDevice = changedDevice;
 }
Ejemplo n.º 5
0
 protected void OnConnectionChanged(ChangeType type, USB_Device changedDevice)
 {
     if (ConnectionChanged != null) ConnectionChanged(this, new ConnectionChangedEventArgs(type, changedDevice));
 }