Added link to region capture keybinds page

This commit is contained in:
Jaex 2018-04-30 16:19:57 +03:00
parent 3769cef12c
commit 4a30690a69

View file

@ -927,6 +927,28 @@ internal void CreateToolbar()
tsddbOptions.DropDownItems.Add(tsmiRememberMenuState);
}
tsddbOptions.DropDownItems.Add(new ToolStripSeparator());
ToolStripMenuItem tsmiKeybinds = new ToolStripMenuItem("Open keybinds web page...");
tsmiKeybinds.Click += (sender, e) =>
{
if (Form.IsFullscreen)
{
if (MessageBox.Show(Form, "This window will close before opening the keybinds web page. Do you want to continue?",
"ShareX", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
Form.CloseWindow();
}
else
{
return;
}
}
URLHelpers.OpenURL("https://getsharex.com/docs/region-capture");
};
tsddbOptions.DropDownItems.Add(tsmiKeybinds);
#endregion Options
if (Form.IsFullscreen)