NumericUpDown Block Down

-1

How to block or control the "Down" state of the Windows Forms NumericUpDown component?

Ex: First time the user makes a "registration", he can Add or Remove the Quantity, in the second possibility the user can "edit" add or remove the added amount, provided that the Down is not less than the amount saved previously in the register.

    
asked by anonymous 17.10.2018 / 17:24

2 answers

1

I think this is what you want.

numericUpDown.ReadOnly = true;
    
17.10.2018 / 18:34
0

I think that in this situation it would be better for the numericupdown to pull the saved data and to play in the minimum option of your numeric so the minimum will always be what the user saved last.

    
05.11.2018 / 20:57