diff --git a/Avalonia.EliteBGS/EliteBGS.csproj b/Avalonia.EliteBGS/EliteBGS.csproj index 48d6a56..267b656 100644 --- a/Avalonia.EliteBGS/EliteBGS.csproj +++ b/Avalonia.EliteBGS/EliteBGS.csproj @@ -51,6 +51,7 @@ + diff --git a/Avalonia.EliteBGS/LoadEntriesWindow.axaml.cs b/Avalonia.EliteBGS/LoadEntriesWindow.axaml.cs index a85b473..c7017f8 100644 --- a/Avalonia.EliteBGS/LoadEntriesWindow.axaml.cs +++ b/Avalonia.EliteBGS/LoadEntriesWindow.axaml.cs @@ -4,6 +4,8 @@ using System.Collections.Generic; using System.IO; using Avalonia; using Avalonia.Controls; +using Avalonia.Interactivity; +using Avalonia.Input; using EDPlayerJournal.Entries; using EliteBGS.Util; using EDPlayerJournal.BGS; diff --git a/Avalonia.EliteBGS/MainWindow.axaml.cs b/Avalonia.EliteBGS/MainWindow.axaml.cs index ec83169..5dbad89 100644 --- a/Avalonia.EliteBGS/MainWindow.axaml.cs +++ b/Avalonia.EliteBGS/MainWindow.axaml.cs @@ -11,6 +11,8 @@ using System.Globalization; using System.Diagnostics; using Avalonia; using Avalonia.Controls; +using Avalonia.Interactivity; +using Avalonia.Input; namespace EliteBGS; @@ -484,7 +486,7 @@ public partial class MainWindow : Window { RefreshView(); } - private void Profit_KeyUp(object sender, System.Windows.Input.KeyEventArgs e) { + private void Profit_KeyUp(object sender, KeyEventArgs e) { if (e.Key == Key.Enter) { RefreshView(); } @@ -547,13 +549,15 @@ public partial class MainWindow : Window { UpdateTheme(); } - private void URL_RequestNavigate(object sender, System.Windows.Navigation.RequestNavigateEventArgs e) { + /* + private void URL_RequestNavigate(object sender, RequestNavigateEventArgs e) { ProcessStartInfo info = new ProcessStartInfo(); info.UseShellExecute = true; info.FileName = e.Uri.AbsoluteUri; Process.Start(info); e.Handled = true; } + */ private void NoInfluenceSupport_Toggled(object sender, RoutedEventArgs e) { Config.Global.IgnoreInfluenceSupport = this.NoInfluenceSupport.IsOn;