Example #1
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            sliderProgress.Value = player.GetProgress();
            sliderVolume.Value   = player.GetVolume();

            this.Refresh();
        }
Example #2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     if (player != null && player.IsPlaying())
     {
         positionSlider.Value = player.GetProgress();
         volumeSlider.Value   = player.GetVolume();
     }
 }