// -------------------------------------------------------------------------------------------------------------------- // // 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 SubtitlesDefaultsView.xaml // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrakeWPF.Views { using System.Windows; using System.Windows.Controls; using HandBrakeWPF.ViewModels; /// /// Interaction logic for SubtitlesDefaultsView.xaml /// public partial class SubtitlesDefaultsView : Window { /// /// Initializes a new instance of the class. /// public SubtitlesDefaultsView() { this.InitializeComponent(); } private void Apply_OnClick(object sender, RoutedEventArgs e) { ((SubtitlesDefaultsViewModel)DataContext).IsApplied = true; this.Close(); } } }