aboutsummaryrefslogtreecommitdiff
path: root/Erable/Views/MainWindow.axaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Erable/Views/MainWindow.axaml.cs')
-rw-r--r--Erable/Views/MainWindow.axaml.cs9
1 files changed, 8 insertions, 1 deletions
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