Re: Newbie Q: How to determine WHICH item was clicked on context menu
- From: Rex <RexForum4453@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Jun 2007 11:51:06 -0400
ok... that definitely helps - I need to take a different approach!
Now can anyone point me toward some information on HOW to set that up?
I would really appreciate it.
Rex
On Thu, 21 Jun 2007 11:23:31 -0400, Rex
<RexForum4453@xxxxxxxxxxxxxxxxxx> wrote:
Hi All - In the following method (the click event of my Context Menu.
control):
private void contextMenuStrip1_MouseClick(object sender,
MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
MessageBox.Show("left click");
}
}
the message "left click" successfully appears. What I can't figure out
(and this might be obvious!) is how to determine WHICH of the 5 menu
items that are found on my Context Menu that the User clicked.
Thanks,
Rex
- Follow-Ups:
- Re: Newbie Q: How to determine WHICH item was clicked on context menu
- From: Marc Gravell
- Re: Newbie Q: How to determine WHICH item was clicked on context menu
- References:
- Prev by Date: Re: Service fails if user not logged in
- Next by Date: Re: Using resources.resx for localization
- Previous by thread: Re: Newbie Q: How to determine WHICH item was clicked on context menu
- Next by thread: Re: Newbie Q: How to determine WHICH item was clicked on context menu
- Index(es):