예제 #1
0
 private void chkSound_CheckedChanged(object sender, EventArgs e)
 {
     if (chkSound.Checked)
     {
         SoundCollection.ChangeSoundVolume(0);
         sldSound.Enabled = false;
     }
     else
     {
         SoundCollection.ChangeSoundVolume((int)sldSound.Value);
         sldSound.Enabled = true;
     }
 }
예제 #2
0
 private void sldSound_Scroll(object sender, EventArgs e)
 {
     SoundCollection.ChangeSoundVolume((int)sldSound.Value);
 }