M
mrond
Hi everyone, I'm pretty new to C#.
I'm building a simple class called NumBox which is just a textbox that
can only accept digits. No problems building.
BUT, when I want to use it in an application and I put it in the form,
the visual studio automatically recognizes it as an inheritant from a
text box, and therefore, in the initializing stage, gives it a
default text (usually the name of the box).
Is there anything I can put in my class that can over-ride this?
I'm building a simple class called NumBox which is just a textbox that
can only accept digits. No problems building.
BUT, when I want to use it in an application and I put it in the form,
the visual studio automatically recognizes it as an inheritant from a
text box, and therefore, in the initializing stage, gives it a
default text (usually the name of the box).
Is there anything I can put in my class that can over-ride this?