private void BtnResetToDefaults_Click(object sender, RoutedEventArgs e) { MyAudioFileSelector.AudioPlayer.StopSound(); MyAudioFileSelector.SetAudioPath(""); LoadDefaultValuesToBeEditedFromDb(); CbAutoOpenLastFile.Text = "Yes"; CbStartProgramWithWindows.IsChecked = false; DgBeeps.Beeps.Clear(); }
private void RecentFilesMenuStrip1_PathValidationRequested( object sender, PathValidationEventArgs e) { e.Valid = MyAudioFileSelector.SetAudioPath(e.Path); }