How exactly would this work with a delegate then?
Sorry for the silly question, but I've never really used delegates.
On a sidenote though, I thought it was possible to alter Eventargs to pass your own data through.
User Profile
Collapse
-
[C#] Custom event args for the Click event of a menu item
Hi there,
Let me start off by saying that I'm working in Visual Studio 2005, using Visual C#.
I've been trying to pass custom Event arguments to the Click event of a ToolStripMenuIt em, but I can't figure it out.
I'm probably just doing it all wrong, hence why I'm coming here for help.
What I've done is the following:
First, I create a custom eventargs class
...Code:public class
No activity results to display
Show More
Leave a comment: