Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overriding Base Events in C#
Message
De
05/04/2002 20:30:45
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00641684
Message ID:
00641703
Vues:
18
>In my inherited form I use private overrides void form1_Load() but I keep getting an error there is noo method to override. can anyone help me. Does overriding work like VFP(unless You say dodefault() in inherited form will it run the base event).


Hi, Fred.

You must declare the parentclass method as "virtual", in order to be able to use the overrided on the subclass.
Claudio Lassala
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform