diff --git a/App.axaml b/App.axaml index c1073a1..709a3fd 100644 --- a/App.axaml +++ b/App.axaml @@ -19,4 +19,9 @@ avares://ReceiptPDFBuilder/Assets/Fonts/Noto_Sans/static#Noto Sans avares://ReceiptPDFBuilder/Assets/Fonts/Noto_Sans_JP/static#Noto Sans JP + + + + + \ No newline at end of file diff --git a/App.axaml.cs b/App.axaml.cs index a083749..b27b8f8 100644 --- a/App.axaml.cs +++ b/App.axaml.cs @@ -1,5 +1,7 @@ +using System; using Avalonia; using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.Interactivity; using Avalonia.Markup.Xaml; using ReceiptPDFBuilder; @@ -21,4 +23,9 @@ public partial class App : Application base.OnFrameworkInitializationCompleted(); } + + public void AboutOnClick(object? sender, EventArgs args) + { + new AboutWindow().Show(); + } } \ No newline at end of file