Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why is this happening??
Message
From
29/01/2009 18:22:59
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
29/01/2009 16:15:20
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
01378204
Message ID:
01378336
Views:
6
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform