I have TreeNode
elements with this.ContextMenuStrip = contextMenuStrip1
and event, that auto-generated on double click in VS:
private void toolStripMenuItem1_Click(object sender, EventArgs e)
{
}
How can I get a TreeNode
element, that I clicked on with right mouse button? As I see, EventArgs
have nothing, to receive a "parent" element of TreeNode
.
Thank you very much!