[Mono-bugs] [Bug 79933][Nor] New - Form: ObjectDisposedException if MessageBox is displayed on Load

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Nov 14 14:57:33 EST 2006

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 gert.driesen at pandora.be.


--- shadow/79933	2006-11-14 14:57:33.000000000 -0500
+++ shadow/79933.tmp.14663	2006-11-14 14:57:33.000000000 -0500
@@ -0,0 +1,35 @@
+Bug#: 79933
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Form: ObjectDisposedException if MessageBox is displayed on Load
+When a MessageBox is displayed on Form Load, then an 
+ObjectDisposedException is thrown when a new instance of that form is 
+shown later.
+I do not get the ObjectDisposedException if I also display a MessageBox 
+is the Closed event.
+To reproduce:
+1. compile and run the attached repro.
+2. following the instructions on tab #1.
+(make sure to perform the listed steps twice)
+The instructions on Tab #4 allow you to reproduce another issue: for 
+modal forms, the Closed event is fired twice. Let me know if you need a 
+separate bug report for that.

More information about the mono-bugs mailing list