Link to home
Start Free TrialLog in
Avatar of countrymeister
countrymeister

asked on

How do I capture the information of the Toolstripmenuitem that was clicked

How do I capture the Toolstripmenuitem that was clicked.
I have a windows form developed in VS 2005, which has a menustrip which has many toolstripmenuitems, which in turn have child  toolstripmenuitems.

The Toolstripmenuitems are added to the menustrip at runtime dynamically from an xml file.
How do I detect which item within the menustrip was clicked
I used this as my reference to bind the menustrip to the xml file

http://www.codeproject.com/useritems/XML_Driven_Menu_Strip.asp?df=100&forumid=408426&exp=0&select=1993718
ASKER CERTIFIED SOLUTION
Avatar of so3
so3
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of countrymeister
countrymeister

ASKER

That was awesome, thank you