Skip to content

Commit

Permalink
Added online help button to configuration utility
Browse files Browse the repository at this point in the history
  • Loading branch information
nefarius committed Feb 18, 2021
1 parent cca1ef1 commit 39879ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 2 additions & 3 deletions BthPS3CfgUI/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@
<adonisControls:AdonisWindow.TitleBarContent>
<StackPanel Orientation="Horizontal"
HorizontalAlignment="Right">
<!--
<Button Content="?"
Style="{DynamicResource {x:Static adonisUi:Styles.WindowButton}}"
FontFamily="Segoe UI"
FontSize="14"/>
-->
FontSize="14"
Click="Help_OnClick"/>
</StackPanel>
</adonisControls:AdonisWindow.TitleBarContent>

Expand Down
6 changes: 6 additions & 0 deletions BthPS3CfgUI/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Diagnostics;
using System.Windows;
using System.Windows.Navigation;
using AdonisUI.Controls;

Expand All @@ -20,5 +21,10 @@ private void Hyperlink_OnRequestNavigate(object sender, RequestNavigateEventArgs
{
Process.Start(e.Uri.ToString());
}

private void Help_OnClick(object sender, RoutedEventArgs e)
{
Process.Start("https://vigem.org/projects/BthPS3/");
}
}
}

0 comments on commit 39879ad

Please sign in to comment.