Esempio n. 1
0
 private void ButtonSound_Click(object sender, RoutedEventArgs e)
 {
     if (ButtonSound.Content == FindResource("Sound_On"))
     {
         ButtonSound.Content = FindResource("Sound_Off");
         _Tcpclient.SoundOff();
     }
     else
     {
         ButtonSound.Content = FindResource("Sound_On");
         _Tcpclient.unSoundOff();
     }
 }