G
Guest
Hi,
I have create an inherited control (a TextBox which doesn't accept numbers)
and have added it to my toolbox.
Can anyone give pointers on how to set the Text to "" when an instance of
this control is dropped onto a Windows form? I have set the Text to "" in
the constructor for the control but it still shows NoNumbers1, NoNumbers2,
etc.
Also, a quick reminder on how to set the toolbox icon would be appreciated.
I have create an inherited control (a TextBox which doesn't accept numbers)
and have added it to my toolbox.
Can anyone give pointers on how to set the Text to "" when an instance of
this control is dropped onto a Windows form? I have set the Text to "" in
the constructor for the control but it still shows NoNumbers1, NoNumbers2,
etc.
Also, a quick reminder on how to set the toolbox icon would be appreciated.