mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-29 03:20:46 +12:00
This commit is contained in:
parent
7d8077d653
commit
0f0aff4682
|
@ -31,5 +31,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("0.9.1.235")]
|
||||
[assembly: AssemblyFileVersion("0.9.1.235")]
|
||||
[assembly: AssemblyVersion("0.9.1.236")]
|
||||
[assembly: AssemblyFileVersion("0.9.1.236")]
|
||||
|
|
|
@ -934,14 +934,31 @@ namespace SystemTrayMenu
|
|||
MenusFadeOut();
|
||||
break;
|
||||
default:
|
||||
if (!string.IsNullOrEmpty(keyInput) &&
|
||||
(SelectMatched(dgv, iRowKey, keyInput) ||
|
||||
SelectMatched(dgv, 0, keyInput)))
|
||||
{
|
||||
FadeInIfNeeded();
|
||||
CheckMenuOpenerStop(iMenuBefore, iRowBefore);
|
||||
CheckMenuOpenerStart(dgv, iRowKey);
|
||||
toClear = true;
|
||||
if (!string.IsNullOrEmpty(keyInput))
|
||||
{
|
||||
if (SelectMatched(dgv, iRowKey, keyInput) ||
|
||||
SelectMatched(dgv, 0, keyInput))
|
||||
{
|
||||
FadeInIfNeeded();
|
||||
CheckMenuOpenerStop(iMenuBefore, iRowBefore);
|
||||
CheckMenuOpenerStart(dgv, iRowKey);
|
||||
toClear = true;
|
||||
}
|
||||
else if (isStillSelected)
|
||||
{
|
||||
iRowKey = iRowBefore - 1;
|
||||
if (SelectMatched(dgv, iRowKey, keyInput) ||
|
||||
SelectMatched(dgv, 0, keyInput))
|
||||
{
|
||||
FadeInIfNeeded();
|
||||
CheckMenuOpenerStop(iMenuBefore, iRowBefore);
|
||||
CheckMenuOpenerStart(dgv, iRowKey);
|
||||
}
|
||||
else
|
||||
{
|
||||
iRowKey = iRowBefore;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue