Commentaires Récents
19.10.2008
Cela ne fonctionne pas!!!! Ou alors par exemple...
Par : tony

30.07.2008
Va voir ca mec, c'est le MOD de BF2 ultime avec...
Par : Jean-Sébastien

06.10.2007
En fait tu n'as qu'a utiliser le gestionaire...
Par : Carl-Hugo Marcotte

24.09.2007
C'est cool ta source j'ai réussi a faire 3...
Par : Nicolas

j'ai mis à jour le lien...
Par : Carl-Hugo Marcotte

Nom d'utilisateur :

Mot de passe :


 
Delegates and Events

Overview

All of us have been exposed to event driven programming of some sort or the other. C# adds on value to the often mentioned world of event driven programming by adding support through events and delegates. The emphasis of this article would be to identify what exactly happens when you add an event handler to your common UI controls. A simple simulation of what could possibly be going on behind the scenes when the AddOnClick or any similar event is added to the Button class will be explained. This will help you understand better the nature of event handling using multi cast delegates.
 
Très bon "tutoriel", disont plutot une liste d'exemples, décrivant très bien les fondements des Event et des Delegate...
 
Voici la liste des points expliqués dans l'article :
  • Delegates
    • Call a Function directly - No Delegate
    • The very basic Delegate
    • Calling Static Functions
    • Calling Member Functions
    • Multicasting
  • Events
    • Conventions
    • Simple Event
    • The Second Change Event Example
Nom :
Couriel :
URL :
Commentaire :