.net - Updating numbericUpdown on runtime in c# -
i updating numeric updown on runtime such compute value "x" on runtime , set minimum , maximum value of numeric updown.
numud.minimum=x/2; numud.maximum=x;
but problem is not updating. tried call update()
, refresh()
function still not working. body can guide me how that. thanks
try below code , check if minimum value being displayed set 10 or not.
int x = 20; numud.minimum = x / 2; numud.maximum = x;
because having feeling value of x must 0 must having feeling values not getting set.
looking comments updated answer this... below image show actual , needed code.
Comments
Post a Comment