[Mono-bugs] [Bug 79539][Nor] Changed - [ScrollableControl] Crash resizing with AutoScroll set to true

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Sep 30 22:29:13 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 unserkonig at gmail.com.

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: toshok at ximian.com                            
 ReportedBy: unserkonig at gmail.com               
 QAContact: mono-bugs at ximian.com
 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 unserkonig at gmail.com  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());
+        }
+}
+


More information about the mono-bugs mailing list