Hi,
I am attempting to create a C# Visual Studio 2008 add-in for Team Explorer that will add a custom Context Menu item for when Work Item Queries are right clicked. I have succeeded in actually adding the custom Context Menu Item, however:
How do I actually determine which item (Query) that the user has right-clicked on, in my event handler.
void subMenuItemHandler_Click(object CommandBarControl, refbool Handled, refbool CancelDefault)<br/> {<br/>//Great! My custom context menu item was clicked!<br/>//But, which query item was right-clicked???<br/> }