예제 #1
0
 private void cboxSecondsToUpdate_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     RegKey.Set("SecondsToUpdate", cboxSecondsToUpdate.SelectedIndex);
 }
예제 #2
0
 private void cboxSound_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     Sound.StopSound();
     RegKey.Set("Sound", cboxSound.SelectedItem);
 }
예제 #3
0
 private void cboxServerList_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     RegKey.Set("Server", cboxServerList.SelectedValue);
 }
예제 #4
0
 private void sliderVolume_ValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e)
 {
     Sound.mediaPlayer.Volume = Convert.ToDouble(sliderVolume.Value);
     RegKey.Set("Volume", sliderVolume.Value);
 }