[Mono-bugs] [Bug 78772][Min] Changed - Form: When form is acting as a mdi container, children controls don't get displayed.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 6 04:32:33 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=78772

--- shadow/78772	2006-07-06 04:29:35.000000000 -0400
+++ shadow/78772.tmp.20753	2006-07-06 04:32:33.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 78772
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Minor
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: unserkonig at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -19,6 +19,30 @@
 When a form is acting as a mdi container form, children controls don't get
 displayed (not mdi children, but control children). 
 
 The children controls should be displayed in the background (they are
 displayed correctly if they were added BEFORE setting Form.IsMdiContainer
 to true, but not if they were added AFTER that).
+
+------- Additional Comments From unserkonig at gmail.com  2006-07-06 04:32 -------
+using System;
+using System.Windows.Forms;
+using System.Drawing;
+
+public class TestForm : Form
+{
+        static void Main ()
+        {
+                Application.Run (new TestForm ());
+        }
+
+        public TestForm ()
+        {
+                IsMdiContainer = true;
+                // Add the control AFTER IsMdiContainer was set to 'true'
+                Label label = new Label ();
+                label.Text = "Hello mdi container";
+                label.Location = new Point (5, 5);
+                label.Parent = this;
+        }
+}
+


More information about the mono-bugs mailing list