diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs index 5d04af6f8..c487f5b98 100644 --- a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs +++ b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs @@ -10,6 +10,9 @@ namespace HandBrakeWPF.Controls
{
using System.Windows.Controls;
+ using System.Windows.Navigation;
+
+ using HandBrakeWPF.ViewModels;
/// <summary>
/// Interaction logic for SourceSelection.xaml
@@ -23,5 +26,17 @@ namespace HandBrakeWPF.Controls {
this.InitializeComponent();
}
+
+ private void AboutHandBrake_OnRequestNavigate(object sender, RequestNavigateEventArgs e)
+ {
+ MainViewModel vm = this.DataContext as MainViewModel;
+ vm.OpenAboutApplication();
+ }
+
+ private void OpenOptions_OnRequestNavigate(object sender, RequestNavigateEventArgs e)
+ {
+ MainViewModel vm = this.DataContext as MainViewModel;
+ vm.OpenOptionsWindow();
+ }
}
}
|