We have a user control which displays a NumericUpDown. The maximum value of the control is set to 100. When the user enters 200, the value automatically changes to 100. When the user control is closed, the value of the NumericUpDown is reset to 200 which is an invalid value. When the user control is reopened, an error appears next to the NumericUpDown control because it's value is really 200 even though 100 is displayed in the control.
We debugged the application. The value of the NumericUpDown stays at 100 until [ExternalCode] is executed at which point the value of the control changes back to 200.
We debugged the application. The value of the NumericUpDown stays at 100 until [ExternalCode] is executed at which point the value of the control changes back to 200.