summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Controls
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Controls')
-rw-r--r--win/CS/HandBrakeWPF/Controls/SourceSelection.xaml4
-rw-r--r--win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs15
2 files changed, 19 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
index b5726fb40..f73103b88 100644
--- a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
+++ b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml
@@ -110,6 +110,10 @@
</TextBlock>
<TextBlock Text="|" Margin="5,0,5,0"/>
<TextBlock>
+ <Hyperlink x:Name="help" NavigateUri="/" RequestNavigate="Help_OnRequestNavigate" >Help</Hyperlink>
+ </TextBlock>
+ <TextBlock Text="|" Margin="5,0,5,0"/>
+ <TextBlock>
<Hyperlink x:Name="AboutHandBrake" NavigateUri="/" RequestNavigate="AboutHandBrake_OnRequestNavigate" >About HandBrake</Hyperlink>
</TextBlock>
</StackPanel>
diff --git a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs
index cf8285292..5eab79b49 100644
--- a/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs
+++ b/win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs
@@ -9,6 +9,7 @@
namespace HandBrakeWPF.Controls
{
+ using System.Diagnostics;
using System.Windows.Controls;
using System.Windows.Navigation;
@@ -56,5 +57,19 @@ namespace HandBrakeWPF.Controls
MainViewModel vm = this.DataContext as MainViewModel;
vm.OpenOptionsWindow();
}
+
+ /// <summary>
+ /// The help_ on request navigate.
+ /// </summary>
+ /// <param name="sender">
+ /// The sender.
+ /// </param>
+ /// <param name="e">
+ /// The e.
+ /// </param>
+ private void Help_OnRequestNavigate(object sender, RequestNavigateEventArgs e)
+ {
+ Process.Start("https://handbrake.fr/community.php");
+ }
}
}