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