[Mono-bugs] [Bug 79644][Nor] Changed - Settings MinimumSize does not appear to work
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Oct 18 17:39:02 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 georgegiolfan at yahoo.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79644
--- shadow/79644 2006-10-18 17:26:16.000000000 -0400
+++ shadow/79644.tmp.8191 2006-10-18 17:39:02.000000000 -0400
@@ -1,10 +1,10 @@
Bug#: 79644
Product: Mono: Class Libraries
Version: unspecified
-OS: other
+OS: Windows XP
OS Details:
Status: NEEDINFO
Resolution:
Severity: Unknown
Priority: Normal
Component: Windows.Forms
@@ -22,6 +22,26 @@
Additional Information:
The executable was compiled on .NET Framework 2.0, however MinimumSize is
available in 1.1.
------- Additional Comments From toshok at ximian.com 2006-10-18 17:26 -------
This works for me. Can you post a testcase?
+
+------- Additional Comments From georgegiolfan at yahoo.com 2006-10-18 17:39 -------
+using System;
+using System.Drawing;
+using System.Windows.Forms;
+class TestForm : Form {
+ static void Main() {
+ Application.Run(new TestForm());
+ }
+ public TestForm() {
+ Button Resize = new Button();
+ Resize.Text = "Resize";
+ Controls.Add(Resize);
+ Resize.Click += new EventHandler(Resize_Click);
+ }
+ void Resize_Click(object sender, EventArgs e) {
+ MinimumSize = new Size(Width * 2, Height * 2);
+ }
+}
+
More information about the mono-bugs
mailing list