M
M Shafaat
Hi,
I want to develop an application with menus. I want to make only one event
handler method which handles a whole group of menu items by firstly
identifying which MenuItem sends the click event and then performing the
appropriate action. But I don't find any way to retrieve any info telling me
which specific MenuItem sends a click event at the moment. The sender and e
parameters seem to carry some very general information, not from a specific
MenuItem sending the click event.
This info must exist somewhere, because Windows knows which menu shall be
performed at the moment., but C# seems to hide it for the programmer!
Is there a way to get that info?
Regards,
M Shafaat
I want to develop an application with menus. I want to make only one event
handler method which handles a whole group of menu items by firstly
identifying which MenuItem sends the click event and then performing the
appropriate action. But I don't find any way to retrieve any info telling me
which specific MenuItem sends a click event at the moment. The sender and e
parameters seem to carry some very general information, not from a specific
MenuItem sending the click event.
This info must exist somewhere, because Windows knows which menu shall be
performed at the moment., but C# seems to hide it for the programmer!
Is there a way to get that info?
Regards,
M Shafaat