Problems with the NumericUpDown Control
I have been testing with this control and I have discovered what i think is a bug.
Drop one on a form. Set the MinValue to 0 and the MaxValue to 10.
Run and enter 11 into the control with the keyboard.
The control lets you enter 11 and actually displays 11.
I handled the key down on the control to see whats going on. I get this exception:
Exception Type: System.ArgumentException
Message: '10' is not a valid value for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
When looking at the Value property and 11 has been keyed in.
So, we can limit user input with the click and scroll, but not through the keyboard? Why even provide a Min and max Value then?