title: Check which submenu item was clicked in context menu strip
body: <p>There is a ContextMenuStrip in a grid control.</p>
  
  <p>I have named it as GridContextMenu.</p>
  
  <p>The GridContextMenu is populated with 4 - 5 items using the following code :</p>
  
  <pre><code> gridcontextMenu.Items.Add(new ToolStripMenuItem
                          {
                              Name = Plants,
                              Text = Plants,
                              Tag = Plants,
                              Width = 100,
                              Image = &lt;image source is put here&gt;
                          });
  
  gridcontextMenu.Items.Add(new ToolStripMenuItem
                          {
                              Name = Animals,
                              Text = Animals,
                              Tag = Animals,
                              Width = 100,
                              Image = &lt;image source is put here&gt;
                          });
  </code></pre>
  
  <p>For the animal menu in tool strip, i added submenu in the following way</p>
  
  <pre><code>(gridcontextMenu.Items[1] as ToolStripMenuItem).DropDownItems.Add("Tiger", image_source, new EventHandler(SubmenuItem_Click));
  (gridcontextMenu.Items[1] as ToolStripMenuItem).DropDownItems.Add("Lion", image_source, new EventHandler(SubmenuItem_Click));
  (gridcontextMenu.Items[1] as ToolStripMenuItem).DropDownItems.Add("Elephant", image_source, new EventHandler(SubmenuItem_Click));
  </code></pre>
  
  <p>In the SubmenuItem_Click event handler i need to know which animal submenu was clicked.</p>
  
  <p>How to achieve this ?</p>
  
  <p>currently i have the code for event handler in the following way :</p>
  
  <pre><code>private void SubmenuItem_Click(object sender, EventArgs e)
  {
  }
  </code></pre>
  
  <p>How to check condition in this event that which animal submenu was selected ?
  Kindly share the answer.</p>