Author: jackson
Date: 2006-06-09 16:27:18 -0400 (Fri, 09 Jun 2006)
New Revision: 61605

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs
Log:

        - Don't need an internal constructor anymore.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-06-09 20:13:23 UTC (rev 61604)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-06-09 20:27:18 UTC (rev 61605)
@@ -5,10 +5,13 @@
        expose.
        - Reduce calls to the TreeView property, which is mildly expensive
        by using a local var.
-       * Form.cs: Layout the MDI child windows when creating the parent form.
+       * Form.cs: Layout the MDI child windows when creating the parent
+       form.
+       - Don't use the internal constructor anymore
        * MdiClient.cs: use the parent form width/height (if available)
        when laying out the child windows, we do this because the
        mdiclient isn't docked yet when the initial layout is done.
+       - Don't need an internal constructor anymore.
 
 2006-06-08 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
 

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2006-06-09 20:13:23 UTC (rev 61604)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2006-06-09 20:27:18 UTC (rev 61605)
@@ -418,7 +418,7 @@
 
                        set {
                                if (value && mdi_container == null) {
-                                       mdi_container = new MdiClient (this);
+                                       mdi_container = new MdiClient ();
                                        Controls.Add(mdi_container);
                                } else if (!value && mdi_container != null) {
                                        Controls.Remove(mdi_container);

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs     
2006-06-09 20:13:23 UTC (rev 61604)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs     
2006-06-09 20:27:18 UTC (rev 61605)
@@ -82,13 +82,6 @@
                        Dock = DockStyle.Fill;
                        SetStyle (ControlStyles.Selectable, false);
                }
-
-               internal MdiClient (Form parent)
-               {
-                       BackColor = SystemColors.AppWorkspace;
-                       Dock = DockStyle.Fill;
-                       SetStyle (ControlStyles.Selectable, false);
-               }
                #endregion      // Public Constructors
 
                internal override void OnPaintBackgroundInternal 
(PaintEventArgs pe)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to