Author: toshok
Date: 2006-11-06 20:46:09 -0500 (Mon, 06 Nov 2006)
New Revision: 67426

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs
Log:
        * NumericUpDown.cs: fix the ToString method for some unit test
        love.

2006-11-06  Chris Toshok  <[EMAIL PROTECTED]>



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-11-07 01:45:58 UTC (rev 67425)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-11-07 01:46:09 UTC (rev 67426)
@@ -1,5 +1,10 @@
 2006-11-06  Chris Toshok  <[EMAIL PROTECTED]>
 
+       * NumericUpDown.cs: fix the ToString method for some unit test
+       love.
+
+2006-11-06  Chris Toshok  <[EMAIL PROTECTED]>
+
        * PropertyGrid.cs:
        - set the initial SelectedGridItem if we can.
 

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs 
2006-11-07 01:45:58 UTC (rev 67425)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs 
2006-11-07 01:46:09 UTC (rev 67426)
@@ -57,7 +57,7 @@
                        decimal_places = 0;
                        hexadecimal = false;
                        increment = 1M;
-                       maximum = 100.0M;
+                       maximum = 100M;
                        minimum = 0.0M;
                        thousands_separator = false;
                }
@@ -289,7 +289,7 @@
                }
 
                public override string ToString() {
-                       return string.Format("{0}: value {1} in range [{2}, 
{3}]", base.ToString(), dvalue, minimum, maximum);
+                       return string.Format("{0}, Minimum = {1}, Maximum = 
{2}", base.ToString(), minimum, maximum);
                }
 
                public override void UpButton() {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to