Exemplo n.º 1
0
 private void checkBox1_CheckedChanged(object sender, EventArgs e)
 {
     if (checkBox1.Checked)
     {
         SoundClass.sound_on();
         checkBox1.Text = "звук есть";
     }
     else
     {
         SoundClass.sound_off();
         checkBox1.Text = "звука нет";
     }
 }