I have a simple custom control with a button on it (composite control). Which I override the Text property so that in the property page I can set the "Text" property to reflect the text on the button. However, everytime when I recompile the control, the text on the button will go back to "button1". For example, if I dropped that custom control on a form and tried to change its Text property to some other text, like "Click Me". As soon as I recomplie the composite control itself, it will go back to "Button1". I suspect that it is because the default text on the button itself is "button1". My question is that if there is a way to keep the text?
Any help would be appreicated. Thanks