Quellcode durchsuchen

2006-12-06 Chris Toshok <[email protected]>

	* DefaultLayout.cs: make Control.child_controls private.  switch
	all uses over to Control.Controls.


svn path=/trunk/mcs/; revision=69107
Chris Toshok vor 19 Jahren
Ursprung
Commit
d3186fc18c

+ 5 - 0
mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/ChangeLog

@@ -1,3 +1,8 @@
+2006-12-06  Chris Toshok  <[email protected]>
+
+	* DefaultLayout.cs: make Control.child_controls private.  switch
+	all uses over to Control.Controls.
+
 2006-12-04  Chris Toshok  <[email protected]>
 
 	* ArrangedElementCollection.cs: fix up corcompare for this file.

+ 2 - 2
mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/DefaultLayout.cs

@@ -46,7 +46,7 @@ namespace System.Windows.Forms.Layout
 			space = parent.DisplayRectangle;
 
 			// Deal with docking; go through in reverse, MS docs say that lowest Z-order is closest to edge
-			Control[] controls = parent.child_controls.GetAllControls ();
+			Control[] controls = parent.Controls.GetAllControls ();
 			for (int i = controls.Length - 1; i >= 0; i--) {
 				child = controls[i];
 
@@ -168,4 +168,4 @@ namespace System.Windows.Forms.Layout
 		}
 	}
 }
-#endif
+#endif