// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // Interaction logic for AudioDefaultsView.xaml // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrakeWPF.Views { using System.Windows; using System.Windows.Controls; using HandBrakeWPF.ViewModels; /// /// Interaction logic for AudioDefaultsView.xaml /// public partial class AudioDefaultsView : Window { /// /// Initializes a new instance of the class. /// public AudioDefaultsView() { this.InitializeComponent(); } private void Apply_OnClick(object sender, RoutedEventArgs e) { ((AudioDefaultsViewModel)DataContext).IsApplied = true; this.Close(); } } }