From d59c0181fa0af65c274154f1a1b22657c7733b93 Mon Sep 17 00:00:00 2001 From: Daryl Ronningen Date: Thu, 16 Dec 2021 13:56:44 -0700 Subject: [PATCH] feat: added license information --- Program.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Program.cs b/Program.cs index ea1a7e6..eb407ee 100644 --- a/Program.cs +++ b/Program.cs @@ -226,11 +226,6 @@ namespace chord } }; - userListList.OpenSelectedItem += args => - { - - }; - Application.Top.KeyPress += async args => { switch (ShortcutHelper.GetModifiersKey(args.KeyEvent)) { @@ -323,7 +318,13 @@ namespace chord { new MenuBarItem("File", new[] { - new MenuItem("Quit", "", () => { Application.Top.Running = false; }) + new MenuItem("_Quit", "Quit the Application", () => { Application.Top.Running = false; }) + }), + new MenuBarItem("Help", new[] + { + new MenuItem("_License", "See the Application License", () => { + MessageBox.Query("License", "chord Copyright (C) 2021 Daryl Ronningen\nThis program comes with ABSOLUTELY NO WARRANTY; for details see section `15` of the GPL license\nThis is free software, and you are welcome to redistribute it under certain conditions; for details see section `2` of the GPL license", "Close"); + }) }) }); }