* DataGridTableStyle.cs: remove the gross calling of
commit68ecd1786159c024c925991165a9e49f378abb50
authorChris Toshok <toshok@novell.com>
Tue, 5 Dec 2006 00:03:50 +0000 (5 00:03 -0000)
committerChris Toshok <toshok@novell.com>
Tue, 5 Dec 2006 00:03:50 +0000 (5 00:03 -0000)
tree78d46a35863d081e37d1a7c1a3f126bb754c0107
parent4cff74bb1e69833ad59234c354f7c2541b38ea7b
* DataGridTableStyle.cs: remove the gross calling of
datagrid.Refresh from here.  It's a broken idea and it doesn't
work anyway.

* DataGrid.cs: instead, just register/unregister from the
DataGridTableStyle events in CurrentTableStyle.  we play it
conservatively and EndEdit + CalcAreasAndInvalidate on any event,
even though some would most likely not require it.  Fixes bug
#80115 (and one portion of #80117 as a side effect).

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

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