commit
570557d9ac
@ -171,7 +171,7 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
if (VerticalScrollBar.Visible)
|
if (VerticalScrollBar.Visible)
|
||||||
{
|
{
|
||||||
VBar.Maximum = RowCount - 1;
|
VBar.Maximum = RowCount - this.Rows.GetRowCount(DataGridViewElementStates.Displayed) + 1;
|
||||||
VBar.Value = FirstDisplayedScrollingRowIndex;
|
VBar.Value = FirstDisplayedScrollingRowIndex;
|
||||||
VBar.Visible = true;
|
VBar.Visible = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user