Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overriding properties in subclasses
Message
 
To
19/07/2006 11:53:47
General information
Forum:
ASP.NET
Category:
Class design
Miscellaneous
Thread ID:
01137567
Message ID:
01137687
Views:
17
>>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,

Yes. I actually created a new tab in the toolbox and dropped my dll on it. Then, I dragged the control from the toolbox to the form (which then adds a reference to the dll into the References folder in my project).

TIA,
Chad
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Reply
Map
View

Click here to load this message in the networking platform