Skip to content

Commit

Permalink
added help item
Browse files Browse the repository at this point in the history
  • Loading branch information
msarilar committed Nov 11, 2016
1 parent 227d5be commit 0d83f33
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions EDEngineer/Utils/UI/TrayIconManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Diagnostics;
using System.Windows.Forms;
using EDEngineer.Utils.System;

Expand Down Expand Up @@ -48,6 +49,13 @@ private static ContextMenu BuildContextMenu(EventHandler showHandler, EventHandl
Text = "Set Shortcut"
};
setShortCutItem.Click += configureShortcutHandler;

var helpItem = new MenuItem()
{
Text = "Help",
};
helpItem.Click += (o,e) => Process.Start("https://github.com/msarilar/EDEngineer/wiki/Troubleshooting-Issues");

var quitItem = new MenuItem()
{
Text = "Quit",
Expand All @@ -59,6 +67,7 @@ private static ContextMenu BuildContextMenu(EventHandler showHandler, EventHandl
menu.MenuItems.Add(unlockItem);
menu.MenuItems.Add(setShortCutItem);
menu.MenuItems.Add("-");
menu.MenuItems.Add(helpItem);
menu.MenuItems.Add(quitItem);
return menu;
}
Expand Down

0 comments on commit 0d83f33

Please sign in to comment.