protected void OnDiscoveryFinished(DiscoveryEventArgs e) { if (DiscoveryFinished != null) DiscoveryFinished(this, e); }
private void DiscDiscoveryFinished(object o, DiscoveryEventArgs e) { if (_disc.ActivityServices.Count == 0) if (Visualizer.ActiveVisualizations.Count == 0) SetDeskState(DeskState.Ready); else SetDeskState(DeskState.Locked); }