protected void OnConnectionChanged(ChangeType type, USB_Device changedDevice) { if (ConnectionChanged != null) { ConnectionChanged(this, new ConnectionChangedEventArgs(type, changedDevice)); } }
public ConnectionChangedEventArgs(TeensyWatcher.ChangeType type, USB_Device changedDevice) { this.changeType = type; this.changedDevice = changedDevice; }
protected void onConnectionChanged(ChangeType type, USB_Device changedDevice) { connectionChanged?.Invoke(this, new ConnectionChangedEventArgs(type, changedDevice)); }
protected void OnConnectionChanged(ChangeType type, USB_Device changedDevice) { if (ConnectionChanged != null) ConnectionChanged(this, new ConnectionChangedEventArgs(type, changedDevice)); }