private void Mp3Player_VolumeChanged(object sender, VolumeEventArgs e)
 {
     VolumeSlider.IsEnabled = true;
     VolumeSlider.Value = e.Volume;
 }
Example #2
0
 protected virtual void OnVolumeChanged(VolumeEventArgs e)
 {
     if (VolumeChanged != null)
     {
         VolumeChanged(this, e);
     }
 }