I added a control to my C# application and decide to override the Text
property as this:
[Browsable(true)
public override string Text
{
get{return base.Text;}
set
{
base.Text = value;
this.Invalidate ();
}
}
It appears to be working fine, but when I start the application the text
disappears, what's going on?
Thanks.
property as this:
[Browsable(true)
public override string Text
{
get{return base.Text;}
set
{
base.Text = value;
this.Invalidate ();
}
}
It appears to be working fine, but when I start the application the text
disappears, what's going on?
Thanks.