title: Mouse button in ToolStripMenuItem
body: <p>I have a context menu with a few items. One of the items has a submenu (or whatever it's called) with a few items (depends on what files it finds).</p>
  
  <p>What I want to do is when I left click one of the sub-items I want one thing to happen, and when I right click I want another thing to happen.</p>
  
  <p>My problem is that when I use the filesToolStripMenuItem_DropDownItemClicked, I don't get any MouseEventArgs in the parameter, so I can't find out which mouse button was used to click the item.</p>
  
  <p>I tried adding it myself in the parameter but I get some error then.</p>
  
  <p>Does anyone know how I can fix this? So I can find out what mouse button was used to click the sub-item (which is a ToolStripMenuItem)?</p>
  
  <p>Thanks</p>
  
  <p>edit: here is the code I use to create the sub items:</p>
  
  <pre><code>IPHostEntry ipE = Dns.GetHostEntry(Dns.GetHostName());
  IPAddress[] IpA = ipE.AddressList;
  for (int i = 0; i &lt; IpA.Length; i++)
  {
        if (!IpA[i].ToString().Contains(":"))
             cxItems.Items.Add(new ToolStripMenuItem(IpA[i].ToString()));
  }
  </code></pre>
  
  <p>And for those items I want to be able to do different things depending on which mouse button I use</p>