At times, you’ll want to restrict a user’s input choices to a specific range of numeric values. This is the purpose of the NumericUpDown control. This control appears as a
TextBox, with two small
Buttons on the right side—one with an up arrow and one with a down arrow. By default, a user can type numeric values into this control as if it were a
TextBox or click the up and down arrows to increase or decrease the value in the control, respectively. The largest and smallest values in the range are specified with the Maximum and Minimum properties, respectively (both of type
decimal). The Increment property (also of type
decimal) specifies by how much the current value changes when the user clicks the arrows. Property ...