* DataGrid.cs (set_CurrentCell): concede focus as we move around.
authorChris Toshok <toshok@novell.com>
Mon, 12 Jun 2006 16:29:36 +0000 (16:29 -0000)
committerChris Toshok <toshok@novell.com>
Mon, 12 Jun 2006 16:29:36 +0000 (16:29 -0000)
commiteb4d061208df6b62fa0f1712c6077ab74ce7537a
tree7266f4d690eece99c6b87904c9a2f0e882f947f2
parentdb55aca365b22ca22919cc9721add524711aa250
* DataGrid.cs (set_CurrentCell): concede focus as we move around.
we need this to get rid of the selected background in the bool
column.
(CancelEditing): move the ConcedeFocus call to above the Abort
call.  Also, set is_changing to false and invalidate the row
header if we were changing before.
(ProcessKeyPreviewInternal): remove, since noone outside this
class calls it anymore.  Roll the code into ProcessKeyPreview.
(EndEdit): remove the internal version.
(InvalidateCurrentRowHeader): make private.

* DataGridBoolColumn.cs: simplify this class a bunch.  remove the
Keys.Escape handling (and with it the last call to
DataGrid.EndEdit from outside the class.)

2006-06-12  Chris Toshok  <toshok@ximian.com>

svn path=/trunk/mcs/; revision=61630
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/DataGridBoolColumn.cs