Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inheriting button click
Message
De
15/11/2004 18:13:03
 
 
À
15/11/2004 12:18:06
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00961402
Message ID:
00961564
Vues:
9
I moved the code in the base class from button's click to a method in the form which i declared as public overridable, in the derivated form
i put muy new cod and then code mybase.baseformmethod and it seems to work, as i see that is not a good idea to put code in button_click event.

Thank's


>Juan,
>
>I believe that in VB.NET, you can make use of the OVERRIDES and MYBASE keywords... If you search the on-line help for these topics, you should find some examples.
>
>(Since you mention Les' book, there's another one that's also good in going from VFP to .NET that covers this topic: .NET for VFP Developers by Kevin McNeish)
>
>Kevin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform