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(); }
private void button_Sound_Stop_Click(object sender, EventArgs e) { Sound_Helper.Stop("sound_alert"); }