2006-06-27 Peter Dennis Bartok <pbartok@novell.com>
authorPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Tue, 27 Jun 2006 15:51:38 +0000 (15:51 -0000)
committerPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Tue, 27 Jun 2006 15:51:38 +0000 (15:51 -0000)
* Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)

svn path=/trunk/mcs/; revision=62077

mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs

index 6501a84e9587ccdb05b4747c5201301ff2b71979..fdaa24028943cbbe30a6666c1849772cd8373f16 100644 (file)
@@ -1,3 +1,7 @@
+2006-06-27  Peter Dennis Bartok  <pbartok@novell.com>
+
+       * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
+
 2006-06-27  Peter Dennis Bartok  <pbartok@novell.com> 
 
        * Form.cs: Fixed c+p error and added check to resize form if minimum
index ddd25befd9954b7ae2c83d3b4ba50d94c8047856..2f42b645d331111a4240ce906424e41d0ffb21f2 100644 (file)
@@ -3098,6 +3098,12 @@ namespace System.Windows.Forms
                        ScaleCore(dx, dy);
                }
 
+#if NET_2_0
+               public void Scale(SizeF factor) {
+                       ScaleCore(factor.Width, factor.Height);
+               }
+#endif
+
                public void Select() {
                        Select(false, false);
                }