Sfoglia il codice sorgente

- Fixed Anchor default

svn path=/trunk/mcs/; revision=32335
Peter Dennis Bartok 21 anni fa
parent
commit
3f4e5b3caa

+ 5 - 1
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs

@@ -29,9 +29,12 @@
 //	Jaak Simm		[email protected]
 //	Jaak Simm		[email protected]
 //	John Sohn		[email protected]
 //	John Sohn		[email protected]
 //
 //
-// $Revision: 1.28 $
+// $Revision: 1.29 $
 // $Modtime: $
 // $Modtime: $
 // $Log: Control.cs,v $
 // $Log: Control.cs,v $
+// Revision 1.29  2004/08/13 22:15:46  pbartok
+// - Fixed Anchor default
+//
 // Revision 1.28  2004/08/13 21:43:39  pbartok
 // Revision 1.28  2004/08/13 21:43:39  pbartok
 // - Changed GetCursorPos signature
 // - Changed GetCursorPos signature
 //
 //
@@ -459,6 +462,7 @@ namespace System.Windows.Forms
 			bounds = new Rectangle(0, 0, DefaultSize.Width, DefaultSize.Height);
 			bounds = new Rectangle(0, 0, DefaultSize.Width, DefaultSize.Height);
 			client_size = new Size(DefaultSize.Width, DefaultSize.Height);
 			client_size = new Size(DefaultSize.Width, DefaultSize.Height);
 			prev_size = Size.Empty;
 			prev_size = Size.Empty;
+			anchor_style=AnchorStyles.Top | AnchorStyles.Left;
 
 
 			is_visible = true;
 			is_visible = true;
 			is_disposed = false;
 			is_disposed = false;