mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-09-30 00:56:47 +13:00
This commit is contained in:
parent
7d8077d653
commit
0f0aff4682
2 changed files with 27 additions and 10 deletions
|
@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("0.9.1.235")]
|
[assembly: AssemblyVersion("0.9.1.236")]
|
||||||
[assembly: AssemblyFileVersion("0.9.1.235")]
|
[assembly: AssemblyFileVersion("0.9.1.236")]
|
||||||
|
|
|
@ -934,15 +934,32 @@ namespace SystemTrayMenu
|
||||||
MenusFadeOut();
|
MenusFadeOut();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (!string.IsNullOrEmpty(keyInput) &&
|
if (!string.IsNullOrEmpty(keyInput))
|
||||||
(SelectMatched(dgv, iRowKey, keyInput) ||
|
{
|
||||||
SelectMatched(dgv, 0, keyInput)))
|
if (SelectMatched(dgv, iRowKey, keyInput) ||
|
||||||
|
SelectMatched(dgv, 0, keyInput))
|
||||||
{
|
{
|
||||||
FadeInIfNeeded();
|
FadeInIfNeeded();
|
||||||
CheckMenuOpenerStop(iMenuBefore, iRowBefore);
|
CheckMenuOpenerStop(iMenuBefore, iRowBefore);
|
||||||
CheckMenuOpenerStart(dgv, iRowKey);
|
CheckMenuOpenerStart(dgv, iRowKey);
|
||||||
toClear = true;
|
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;
|
break;
|
||||||
}
|
}
|
||||||
if (isStillSelected && toClear)
|
if (isStillSelected && toClear)
|
||||||
|
|
Loading…
Reference in a new issue