Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Override custom method in subclass
Message
 
 
À
08/09/2009 12:42:35
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Programmation orienté objet
Divers
Thread ID:
01423040
Message ID:
01423094
Vues:
35
>>>You can do this in .NET - see Gregory's reply
>>
>>I saw it, but may be we understood the problem differently. As I understood, you can not put custom logic in the form's instance of the class as you can do in FoxPro - see the mentioned discussion.
>>
>>You can put all the logic into the subclass.
>
>
>You can create virtual methods in the base class that you can override in the instance. You can have code in one or the other or both.

Can you please illustrate this point with a sample?

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform