Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inheritance Question
Message
De
16/01/2005 09:45:03
 
Information générale
Forum:
ASP.NET
Catégorie:
Programmation orienté objet
Divers
Thread ID:
00977571
Message ID:
00977585
Vues:
31
Hello Mr. Newby!! <g>

>>The sub routine I created in the base, 'MyBaseSub', does not appear in the
>inherited form.<


The code itself is not there (nor should it be), but it still should show up in Intellisense for you to use in your sub-class.

~~Bonnie



>Mr. Newby @ .Net Here.
>
>I finally figured out how to subclass a form in vb.Net.
>
>I created a form, added the desired controls, and rebuilt
>the form.
>
>Next I selected 'Add', 'Add Inherited Form' from the right-click menu
>on the Solution Explorer and from the 'Instance Picker' dialog, I selected
>the form I wanted to inherit from.
>
>At first, all seemed good. All controls on the base form appeared on the
>inherited form. Yay! Yoo-Hoo! I'm a REAL programmer now!
>
>But, DOOM! HEARTBREAK!
>
>The sub routine I created in the base, 'MyBaseSub', does not appear in the
>inherited form.
>
>In VFP (Yes, I'm a VFP'r at heart) any public PEM's defined in the
>parent class are visible in the child class.
>
>Is this not to be? Where is my parent method?
>
>Anyone want to guide this lost soul?
>
>Thanks!
Bonnie Berent DeWitt
NET/C# MVP since 2003

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

Click here to load this message in the networking platform