John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Catégorie:
Programmation orienté objet
>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement