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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79539 --- shadow/79539 2006-09-30 22:28:43.000000000 -0400 +++ shadow/79539.tmp.9699 2006-09-30 22:29:13.000000000 -0400 @@ -1,14 +1,14 @@ Bug#: 79539 Product: Mono: Class Libraries Version: 1.1 -OS: +OS: unknown OS Details: Status: NEW Resolution: -Severity: +Severity: Unknown Priority: Normal Component: Windows.Forms AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- @@ -21,6 +21,33 @@ 2. Try resizing the form to the smallest possible. 3. You will get an Exception (Unhandled Exception: System.Exception: Value '-2' must be greater than or equal to 0.) We had a similar bug with textbox having a tiny size (< 4, I remember), and we were having a similar exception, too. + +------- Additional Comments From [EMAIL PROTECTED] 2006-09-30 22:29 ------- +using System; +using System.Drawing; +using System.Windows.Forms; + +public class Form1 : Form +{ + Button button1; + public Form1 () + { + button1 = new Button(); + button1.Location = new Point(40, 64); + button1.Size = new Size(112, 24); + button1.Text = "Hi"; + + AutoScroll = true; + Controls.Add (button1); + + } + + static void Main() + { + Application.Run(new Form1()); + } +} + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
