2009-03-19 Ivan N. Zlatev <contact@i-nz.net>
authorIvan Zlatev <ivan@ivanz.com>
Thu, 19 Mar 2009 18:59:57 +0000 (18:59 -0000)
committerIvan Zlatev <ivan@ivanz.com>
Thu, 19 Mar 2009 18:59:57 +0000 (18:59 -0000)
commitff4843aeab7698ea426564f6a108863c22f415d4
tree7fe4d4f4cc390d06ab9edf91c6f9bc037fd9b3c1
parent65ba363481ce3dd55654e249c03c1def11b3abaa
2009-03-19  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: If IsHandleCreated and the very first row is added
to the grid in a non-databound scenario - select the first cell.2009-03-19  Ivan N. Zlatev  <contact@i-nz.net>
* DataGridViewTest.cs: Add tests to verify that the current cell changes
if IsHandleCreated and the first row is added in a non-databound scenario.
[Fixes bug #486881]

svn path=/trunk/mcs/; revision=129815
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridView.cs
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/DataGridViewTest.cs