Esempio n. 1
0
 private void btnRaiseSound_Click(object sender, EventArgs e)
 {
     if (Sound.SoundVolume() + 10 <= 100)
     {
         Sound.ChangeSoundVolume(10);
         lblSoundPercentage.Text = Sound.SoundVolume() + "%";
     }
 }
Esempio n. 2
0
 private void btnLowerSound_Click(object sender, EventArgs e)
 {
     if (Sound.SoundVolume() - 10 >= 0)
     {
         Sound.ChangeSoundVolume(-10);
         lblSoundPercentage.Text = Sound.SoundVolume() + "%";
     }
 }