Function: A control that only displays data and supports direct adjustment of data size up and down
Common properties:
Set maximum and minimum values
Set the number of displayed decimal points, step size, maximum updown value, and minimum updown value
Set the placement position of the small icon for adjusting data up and down
Backend code demonstration:
private void numericUpDown1_ValueChanged(object sender, EventArgs e)
{
//获取值
var v= numericUpDown1.Value;
MessageBox.Show(v.ToString());
}