2007-05-30 Chris Toshok <toshok@ximian.com>
commit3e60b83c4a989aa92f070cc77e519aee6fe16823
authorChris Toshok <toshok@novell.com>
Wed, 30 May 2007 19:22:04 +0000 (30 19:22 -0000)
committerChris Toshok <toshok@novell.com>
Wed, 30 May 2007 19:22:04 +0000 (30 19:22 -0000)
treed379a7d1d66c281a98bd4b41be97d74b0a7f7199
parent885b75a8a1c911d600e327419411b84b1452f5ad
2007-05-30  Chris Toshok  <toshok@ximian.com>

* DataGrid.cs (set_CurrentCell): guard against negative
column/row.

* DataGridColumnStyle.cs (CheckValidDataSource): just use the
array index syntax instead of looping over the property names.

* DataGridTextBoxColumn.cs: add a changed handler on the textbox,
and set IsInEditOrNavigateMode to false there.

svn path=/trunk/mcs/; revision=78263
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridColumnStyle.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBoxColumn.cs