Example #1
0
 private void ConnectDisconnectButtonClick(object sender, RoutedEventArgs e)
 {
     if (Orchestra.IsConnected)
     {
         Orchestra.Disconnect();
     }
     else
     {
         Orchestra.Connect();
     }
 }