From fbf4e05bdac94f0c21d3cf8cc7d65b29cbe17c1f Mon Sep 17 00:00:00 2001 From: Michael Babienco Date: Mon, 16 Feb 2026 13:07:09 +0900 Subject: [PATCH] Show about window on click --- App.axaml | 5 +++++ App.axaml.cs | 7 +++++++ 2 files changed, 12 insertions(+) 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