Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
StackOverFlow Error
Message
De
08/07/2004 16:14:11
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00922183
Message ID:
00922198
Vues:
16
This message has been marked as the solution to the initial question of the thread.
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;}
>}
>
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform