diff options
author | sr55 <[email protected]> | 2016-03-21 20:11:09 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2016-03-21 20:11:55 +0000 |
commit | b6a81f7e4fdde1eba56bde85e0e251cc6475f782 (patch) | |
tree | dfc96488cbce431b9b071b6f0536f7278244c8ea /win/CS/HandBrakeWPF/Controls | |
parent | af1a27928318cc377562ec4026a2cbbfad83cbca (diff) |
WinGui: Some Cosmetic changes and links added to the GUI.
Diffstat (limited to 'win/CS/HandBrakeWPF/Controls')
-rw-r--r-- | win/CS/HandBrakeWPF/Controls/SourceSelection.xaml | 4 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Controls/SourceSelection.xaml.cs | 15 |
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");
+ }
}
}
|