Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00760085
Message ID:
00766074
Vues:
17
One reason that is the rule in VFP is that if you use the class designer for your classes then it's really hard to change the baseclass of a class.

In c# it's much easier to change the baseclass of a class than it was in VFP so I don't think subclassing if you don't need to is that beneficial.

>That's always been the rule in VFP. Thanks!
>
>>Eric,
>>
>>I would subclass everything that you intend to use. Don't use the Framework classes directly on your forms, period. Today, you might not think you need to extend such-and-such a class ... but tomorrow you may realize that you needed to. Just go ahead and subclass all that you use now and you won't be kicking yourself in the butt later on.
>>
>>~~Bonnie
>>
>>
>>>Is it general practice to subclass all your windows forms controls or just the ones you need to extend?
Rip Ryness
International Falls, MN
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform