private void volumeBar_Scroll(object sender, EventArgs e) { PlayerForm.currentvolume = (float)volumeBar.Value / 100.0f; if (PlayerForm.playing) { PlayerForm.UpdateSettings(); } VolumeTimer = 100; }