The events that fire should have a sender object?
The sender object only returns the menuitem object, I need to know which of the two listview had the menuitem executed over, so I can perform seperate actions depending on the listview the user selected the menu over.
I'll state it again the contextMenuStrip has only one menuitem assigned to it
> "Refresh"
and to it I have the following on click event assigned
private void refreshListToolStripMenuItem_Click(object sender, EventArgs e)
{
!!! sender == refreshListToolStripMenuItem !!!
}
I just need to know which listview to refersh, very simple although .NET is making it very difficult, should probably just create two identical contextMenuStrip and get it over and done with instead of troubling you guys.
And thanks Plater for taking the time to reply.