M
Michael.Suarez
I have 1 contextmenu with several buttons.
two different listviews sit beside each other on the same form. Both
use the same context menu.
I have a method for when a menu item gets clicked:
private void mnuMapNew_Click(object sender, EventArgs e)
{
}
The sender in this case is the menu item, not the listview...
how can i grab hold of which listview was clicked to pop the menu to
lead to this item being clicked from within this method.
Any help greatly appreciated.
Thanks,
Mike
two different listviews sit beside each other on the same form. Both
use the same context menu.
I have a method for when a menu item gets clicked:
private void mnuMapNew_Click(object sender, EventArgs e)
{
}
The sender in this case is the menu item, not the listview...
how can i grab hold of which listview was clicked to pop the menu to
lead to this item being clicked from within this method.
Any help greatly appreciated.
Thanks,
Mike