private void changeDconBtn_Click(object sender, EventArgs e) { if (SoundBrowserDialog.ShowDialog() == DialogResult.OK) { disconnectSoundLabel.Text = System.IO.Path.GetFileName(SoundBrowserDialog.FileName); DisconnectFullLabel.Text = SoundBrowserDialog.FileName; } }
private void changeFatBtn_Click(object sender, EventArgs e) { if (SoundBrowserDialog.ShowDialog() == DialogResult.OK) { fatalSoundLabel.Text = System.IO.Path.GetFileName(SoundBrowserDialog.FileName); ErrorFullLabel.Text = SoundBrowserDialog.FileName; } }
private void changeSucBtn_Click(object sender, EventArgs e) { if (SoundBrowserDialog.ShowDialog(this) == DialogResult.OK) { successSoundLabel.Text = System.IO.Path.GetFileName(SoundBrowserDialog.FileName); SuccesFullLabel.Text = SoundBrowserDialog.FileName; } }
private void changeWarBtn_Click(object sender, EventArgs e) { if (SoundBrowserDialog.ShowDialog() == DialogResult.OK) { warningSoundLabel.Text = System.IO.Path.GetFileName(SoundBrowserDialog.FileName); WarningFullLabel.Text = SoundBrowserDialog.FileName; } }
private void SoundBrowseButton_Click(object sender, EventArgs e) { if (SoundBrowserDialog.ShowDialog() == DialogResult.OK) { alarmSound = SoundBrowserDialog.FileName; SoundFilenameTextBox.Text = alarmSound; } }