private void btnRaiseMusic_Click(object sender, EventArgs e) { if (Sound.MusicVolume() + 10 <= 100) { Sound.ChangeMusicVolume(10); lblMusicPercentage.Text = Sound.MusicVolume() + "%"; } }
private void btnLowerMusic_Click(object sender, EventArgs e) { if (Sound.MusicVolume() - 10 >= 0) { Sound.ChangeMusicVolume(-10); lblMusicPercentage.Text = Sound.MusicVolume() + "%"; } }
private void frmSettings_Load(object sender, EventArgs e) { lblMusicPercentage.Text = Sound.MusicVolume() + "%"; lblSoundPercentage.Text = Sound.SoundVolume() + "%"; }