From aefa631ff3f648060f5c0fe5d51aee89e3898a85 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 9 Feb 2021 22:55:40 -0500 Subject: Discord RPC; About window --- Erable/Views/MainWindow.axaml.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Erable/Views/MainWindow.axaml.cs') diff --git a/Erable/Views/MainWindow.axaml.cs b/Erable/Views/MainWindow.axaml.cs index 78cde38..f849f26 100644 --- a/Erable/Views/MainWindow.axaml.cs +++ b/Erable/Views/MainWindow.axaml.cs @@ -21,9 +21,16 @@ namespace Erable.Views AvaloniaXamlLoader.Load(this); } - private void InputElement_OnPointerPressed(object? sender, PointerPressedEventArgs e) + private void Exit_OnPointerPressed(object? sender, PointerPressedEventArgs e) { Environment.Exit(0); } + + private void About_OnPointerPressed(object? sender, PointerPressedEventArgs e) + { + About about = new(); + about.ShowDialog(this); + + } } } \ No newline at end of file -- cgit v1.2.3