[Mono-bugs] [Bug 80768][Nor] Changed - ObjectDisposedException closing form in Paint

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Feb 9 18:48:23 EST 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by georgegiolfan at yahoo.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80768

--- shadow/80768	2007-02-09 03:45:56.000000000 -0500
+++ shadow/80768.tmp.5571	2007-02-09 18:48:22.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: 1.2
 OS: GNU/Linux [Other]
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: toshok at ximian.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -58,6 +58,10 @@
   [STAThread]
   static void Main ()
   {
     Application.Run (new MainForm ());
   }
 }
+
+------- Additional Comments From georgegiolfan at yahoo.com  2007-02-09 18:48 -------
+A possible fix would be to check if control is disposed (and return 
+in that case) after calling OnPaint in Control.WndProc.


More information about the mono-bugs mailing list