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