Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why is this happening??
Message
De
29/01/2009 18:22:59
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
29/01/2009 16:15:20
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
01378204
Message ID:
01378336
Vues:
13
>OK. Can you help me see what the code would look like? And how can the control pass values to the event?
>
>Just so you know what I am trying to do here is I have a textbox/button combo, and the textbox has a tablename, and indexname properties that are passed to a search window and the user types the search string, and then I want to activate code to do the search and update the windows on the form with the new record data. The form is one class, the search functionality is in another class and the textbox/button is another class (they say you're supposed to write this stuff in multiple tiers :)
>

The thing that made events hard for me to grasp was so many developers use different naming conventions for some of the items. Just as a precaution as you read up on events, delegates, etc. is don't get hung up on the name. The example I gave you is the convention I use because it names things what they are. The example in this link calls the delegate a handler but a good example to look through.

http://www.codeproject.com/KB/cs/events.aspx
Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform