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
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