コード例 #1
0
 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;
     }
 }
コード例 #2
0
 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;
     }
 }
コード例 #3
0
ファイル: SettingsForm.cs プロジェクト: xxhdxh/LaserGRBL
 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;
     }
 }
コード例 #4
0
 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;
     }
 }
コード例 #5
0
 private void SoundBrowseButton_Click(object sender, EventArgs e)
 {
     if (SoundBrowserDialog.ShowDialog() == DialogResult.OK)
     {
         alarmSound = SoundBrowserDialog.FileName;
         SoundFilenameTextBox.Text = alarmSound;
     }
 }