Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reset a value in the property page...I hate it!
Message
De
11/09/2004 09:53:27
 
 
À
11/09/2004 09:12:41
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00941301
Message ID:
00941308
Vues:
16
Mike,

No, you're not doing anything wrong. It sounds like the button class that the co-worker created is where the problem is. What *does* happen when you choose Reset? What's the code for the button class?

~~Bonnie


>Hi,
>
>I drop a user control onto a windows form. This control is a button that a co-worker created as a "template" (I like to call it a "class" like in VFP, yeah, yeah, I know, everything in .Net is a class). After dropping it, all properties are set to its "default" or inherited values. If I then overwrite one, say the foreground color, then try to reset it by right clicking on the property and choosing Reset, the value that is restored is NOT that of the "template/class".
>
>What am I doing wrong? If I'm not doing anything wrong then is it just me or is anyone else annoyed at this behavior.
>
>.NET Newbie,
>
>Mike
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