mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-05-04 12:32:42 +12:00
[BUG] Fix alt+f4 killing the menu but not the app (#427), version 1.3.0.10
This commit is contained in:
parent
b2ce80f376
commit
480ad7b13b
|
@ -89,6 +89,7 @@ namespace SystemTrayMenu.Handler
|
|||
case Keys.Up:
|
||||
case Keys.Down:
|
||||
case Keys.Escape:
|
||||
case Keys.Alt | Keys.F4:
|
||||
SelectByKey(keys);
|
||||
break;
|
||||
case Keys.Control | Keys.F:
|
||||
|
@ -374,6 +375,7 @@ namespace SystemTrayMenu.Handler
|
|||
|
||||
break;
|
||||
case Keys.Escape:
|
||||
case Keys.Alt | Keys.F4:
|
||||
RowDeselected(iRowBefore, dgvBefore);
|
||||
iMenuKey = 0;
|
||||
iRowKey = -1;
|
||||
|
|
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.3.0.9")]
|
||||
[assembly: AssemblyFileVersion("1.3.0.9")]
|
||||
[assembly: AssemblyVersion("1.3.0.10")]
|
||||
[assembly: AssemblyFileVersion("1.3.0.10")]
|
||||
|
|
|
@ -698,6 +698,7 @@ namespace SystemTrayMenu.UserInterface
|
|||
case Keys.Left:
|
||||
case Keys.Right:
|
||||
case Keys.Escape:
|
||||
case Keys.Alt | Keys.F4:
|
||||
case Keys.Control | Keys.F:
|
||||
case Keys.Tab:
|
||||
case Keys.Tab | Keys.Shift:
|
||||
|
|
|
@ -6,7 +6,6 @@ namespace SystemTrayMenu.Utilities
|
|||
{
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using SystemTrayMenu.DataClasses;
|
||||
|
||||
|
|
Loading…
Reference in a new issue