mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-09-29 16:51:18 +13:00
#53, version 0.9.2.30
This commit is contained in:
parent
fac14cf016
commit
1cb0aaaa49
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ namespace SystemTrayMenu.UserInterface
|
||||||
RowData trigger = (RowData)Tag;
|
RowData trigger = (RowData)Tag;
|
||||||
DataGridView dgv = menuPredecessor.GetDataGridView();
|
DataGridView dgv = menuPredecessor.GetDataGridView();
|
||||||
int distanceToDgvTop = 0;
|
int distanceToDgvTop = 0;
|
||||||
if (dgv.Rows.Count > 0)
|
if (dgv.Rows.Count > trigger.RowIndex)
|
||||||
{
|
{
|
||||||
Rectangle cellRectangle = dgv.GetCellDisplayRectangle(
|
Rectangle cellRectangle = dgv.GetCellDisplayRectangle(
|
||||||
0, trigger.RowIndex, false);
|
0, trigger.RowIndex, false);
|
||||||
|
|
Loading…
Reference in a new issue