Posted on 2004-08-19
Hi everyone ..
again .. I come up with a somehow difficult question
Everything I need is the NumericUpDown Control .. But there has to be a change ...
I want that control to display a unit behind the value ..
I want a control which can output ("100 V"). When I press the Up-Button it should switch to "101 V".
Does anyone know how to do this ?
I have one base form, from which another form is derived. Only the base class should contain code, not the derived one. So If a user wants to develop a form based upon my base class, the feature that the numericupdown can display a unit should already be available.
(I don't want a custom control - the user should be able to drag/drop the NumericUpDown control from the toolsbox in visualstudio onto the form)
Another possible solution would be:
* If the user chooses the NumericUpDown control, it should be automatically replaced by a user control (designed by me)
I give out 500 points .. since I have no idea how to do that :)