2007-03-19 Chris Toshok <toshok@ximian.com>
commit383ee76b0dd64af0e5a5b1928e17086225e6781a
authortoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Tue, 20 Mar 2007 05:23:28 +0000 (20 05:23 +0000)
committertoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Tue, 20 Mar 2007 05:23:28 +0000 (20 05:23 +0000)
tree0253f618415b2e8eb540c7cd76a5bea9ad411ced
parentd477c1bc894de18b81889f4f40ff992ee292518f
2007-03-19  Chris Toshok  <toshok@ximian.com>

* Control.cs (WmPaint): don't make use of the Handle property
after an event is emitted, as the user could have closed the
form/destroyed the control.  Store the Handle in a local variable
and make use of that.  Fixes bug #80768.

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