예제 #1
0
 private void Music_Click(object sender, RoutedEventArgs e)
 {
     GameAudioManager.SwitchMute();
     ((ImageBrush)music.Background).ImageSource = GameAudioManager.isAudioMuted ? ImageResourcesManager.soundOffIcon : ImageResourcesManager.soundIcon;
 }