public void Disconnect() { deviceProvider.StopDiscovering(); if (board != null) { board.Disconnect(); } }
protected virtual void OnDisconnectActionActivated(object sender, System.EventArgs e) { _Board.Disconnect(); }