Exemple #1
0
 void VolumeSlider_TargetProportionChanged(object sender, ProportionEventArgs e)
 {
     players.EachPlayer(p => p.AudioVolume = e.Proportion);
     players.EachPlayer(p => { if (p.Mute)
                               {
                                   p.Mute = false;
                               }
                        });
     UpdateSoundButtonState();
 }
        void ScrollSlider_TargetProportionChanged(object sender, ProportionEventArgs e)
        {
            var prop = e.Proportion;

            SetScroll(prop);
        }
Exemple #3
0
 void TimeSlider_TargetProportionChanged(object sender, ProportionEventArgs e)
 {
     players.EachPlayer(p => p.SeekTo(e.Proportion));
 }