[Mono-bugs] [Bug 79001][Min] Changed - NumericUpDown: Value proeprty should be equal to Minimum property when created

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 2 23:19:32 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=79001

--- shadow/79001	2006-08-02 23:18:02.000000000 -0400
+++ shadow/79001.tmp.5958	2006-08-02 23:19:32.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 79001
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Minor
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: unserkonig at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -26,6 +26,30 @@
 
 
 Steps to reproduce the problem:
 1. Compile the sample.
 2. Observe that the value in the NumericUpDown control is 0, not 3. In .Net
 the value is 3 (the same value of Minimum property).
+
+------- Additional Comments From unserkonig at gmail.com  2006-08-02 23:19 -------
+// Sample
+using System;
+using System.Windows.Forms;
+using System.Drawing;
+
+public class TestForm : Form
+{
+        static void Main ()
+        {
+                TestForm form = new TestForm ();
+                Application.Run (form);
+        }
+
+        public TestForm ()
+        {
+                NumericUpDown ud = new NumericUpDown ();
+                ud.Location = new Point (5, 5);
+                ud.Minimum = 3;
+                ud.Parent = this;
+        }
+}
+


More information about the mono-bugs mailing list