diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2021-02-09 22:55:40 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2021-02-09 22:55:40 -0500 |
| commit | aefa631ff3f648060f5c0fe5d51aee89e3898a85 (patch) | |
| tree | 927ffb8f19de6190b20a0180e162e2c8b7f3469e /Erable/Views/MainWindow.axaml.cs | |
| parent | e81e3817c0a4b735da47e6c45529c6f88ed4d52f (diff) | |
| download | erable-godot-aefa631ff3f648060f5c0fe5d51aee89e3898a85.tar.gz erable-godot-aefa631ff3f648060f5c0fe5d51aee89e3898a85.tar.bz2 erable-godot-aefa631ff3f648060f5c0fe5d51aee89e3898a85.zip | |
Discord RPC; About window
Diffstat (limited to 'Erable/Views/MainWindow.axaml.cs')
| -rw-r--r-- | Erable/Views/MainWindow.axaml.cs | 9 |
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 |
