[Mono-bugs] [Bug 79294][Nor] New - [Control] Removing a control from ControlsCollection doesn't remove it from parent

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 5 18:26:39 EDT 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 unserkonig at gmail.com.

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

--- shadow/79294	2006-09-05 18:26:39.000000000 -0400
+++ shadow/79294.tmp.800	2006-09-05 18:26:39.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 79294
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: unserkonig at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [Control] Removing a control from ControlsCollection doesn't remove it from parent
+
+Removing a Control from Control.Controls should remove it from the
+graphical side.
+
+Steps to reproduce the problem:
+1. Compile the sample.
+2. Click on the button.
+
+The label "Hi" should dissapear after the button sets its Parent property
+to null.
+
+Observe that the control is well removed from ControlCollection, but it
+should also be removed from the parent's surface.


More information about the mono-bugs mailing list