how to validate numericupdown when value change (and not lost focus)
I have a NumericUpDown and I need when value change (and not lostfocus) do a new calculation if i put my code in event ValueChanged this work when focus is lost if i put my code in KeyPress then if number is not enter by keyboard (example copy a number and paste it) it doesn't work then what event do i need use? and if this is keypress i need concatenate the numeric value more the key pressed convert all this to string and convert it to decimal, and do the calculate, but it does not work if key pressed is not a number (example backspace) You can use KeyUp event to check direct editing and