/// <summary> /// Called when the connection state of the LineaPro changes. /// </summary> /// <param name="state">The connection state.</param> public override void ConnectionState(ConnStates state) { if (ConnectionStateChanged != null) { ConnectionStateChanged.Invoke(this, new ConnectionStateChangedEventArgs(state)); } }
/// <summary> /// Initializes a new instance of the <see cref="LineaTest.ConnectionStateChangedEventArgs"/> class. /// </summary> /// <param name="State">The connection state.</param> public ConnectionStateChangedEventArgs(ConnStates State) { this.State = State; }
/// <summary> /// Called when the connection state of the LineaPro changes. /// </summary> /// <param name="state">The connection state.</param> public override void ConnectionState(ConnStates state) { if ( ConnectionStateChanged != null ) ConnectionStateChanged.Invoke (this, new ConnectionStateChangedEventArgs(state)); }