|
-
March 15th, 2006, 08:19 AM
#4
Re: MenuItem.Popup == ToolStripMenuItem.???
hey!
popup is all about displaying the menu. if you want to see which menuitem is clicked, you should set onclick event and check...
Code:
ToolStripMenuItem m_ClickItem = (ToolStripMenuItem)sender;
if(m_ClickItem == mytoolstripmenuitemFileOpen)
{
do something
}
If you think you CAN, you can, If you think you CAN'T, you are probably right.
Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.
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
|