Esempio n. 1
0
 private void checkBox_PlaySound_CheckedChanged(object sender, EventArgs e)
 {
     button_SoundLocation.Enabled = button_Sound_Stop.Enabled = checkBox_PlaySound.Checked;
     if (button_SoundLocation.Enabled == false)
     {
         Sound_Helper.Stop("sound_alert");
         label_SoundLocation.Text = "";
         Settings.SoundLocation   = "";
     }
     Settings.PlaySound = checkBox_PlaySound.Checked;
     Settings.Save();
 }
Esempio n. 2
0
 private void button_Sound_Stop_Click(object sender, EventArgs e)
 {
     Sound_Helper.Stop("sound_alert");
 }