Shawn,
If you notice in your other post, I corrected you on what this problem is. To reiterate, you need to do this:
private m_HadError;
public bool HadError
{
get { return m_HadError;}
set {m_HadError = value;}
}
~~Bonnie
>Hi everyone,
>I subclassed a text box from MM, now i want to add a custom property to that text box.
>
>i added the following code to it and now i get a
>
>Exception of type System.StackOverflowException was thrown.
>
>
>error when i try to set the property.
>
>Any Ideas? this is the code to add the property :
>
>
>public bool HadError
>{
> get { return HadError;}
> set {HadError = value;}
>}
>