Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overriding properties in subclasses
Message
De
19/07/2006 11:53:47
 
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
01137567
Message ID:
01137659
Vues:
16
>Without the new keyword, the compiler tells me I'm hiding an inherited member and if that is the intended behavior, I should use new. So, while this compiles fine, when I try to use this control on a WinForm in another project, that property still defaults to DropDown (not DropDownLlist). I'm sure it has to be something simple I'm missing. By the way, I built this in a class project instead of a component project, does that make a difference?

Is the control on your form inherits from MyComboBox?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform