Hello Im making a Custom Control that Inherits System.Windows.Forms.TextBox How can i set the Text of the Control because their is not form load ?
Printable View
Hello Im making a Custom Control that Inherits System.Windows.Forms.TextBox How can i set the Text of the Control because their is not form load ?
- I want to set the Text of the Control at Designtime/Runtime
You can use the constructor to load any intial text or the ParentChange event or which ever of the other looks like it will do what you want.