|
-
Mar 10th, 2003, 12:30 AM
#1
Thread Starter
Lively Member
[Resolved] Creating event handlers at runtime
I am writing a C# app that creates menu items dynamically. I need to create some events for these menus at runtime. Each one of these menu items can be run through the same function, I just need to hook up a click event at runtime. (i.e. they can all run through the same basic event handler and I can create the appropriate function to handle them all.) I just need to know how to create a single event handler for all of them or create individual click events for each menu item. if you can help... thanks in advance.
Last edited by Harvester; Mar 10th, 2003 at 05:34 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|