2007-03-23 Chris Toshok <toshok@ximian.com>
commit1df0ea6493ffceaa7a55822e3c4665d1374ab209
authortoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Fri, 23 Mar 2007 20:42:58 +0000 (23 20:42 +0000)
committertoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Fri, 23 Mar 2007 20:42:58 +0000 (23 20:42 +0000)
tree9e53fce272696437d90252c6e750f6c86ebb9097
parentb7d7c469f74e1960994ec97e14f32f70a1712c21
2007-03-23  Chris Toshok  <toshok@ximian.com>

* DataGrid.cs (GetVisibleRowCount): increase the row count in the
case where there's an add row, just so we don't end up in a case
where it's not displayed (this happens when the row is partially
obscured).  Fixes bug #79574.

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@74922 e3ebcda4-bce8-0310-ba0a-eca2169e7518
class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs