Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
No Can Do.
I am trying to build a security system to integrate into an existing (very large) project. The source is frozen and there is no way to get permission or time to put code into every event in every control. Even making that change to the base classes would not work because many of the events are overwridden.
>>Using the bindevent method, how do I prevent the original method code from running? For example, I conditionally want the delegate code to prevent the actual method from running.
>
>Turn on a flag in your delegate code and check the flag in the original method code.
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