title: Why the ContextMenu right mouse click on ListView items is not working?
body: <p>At the top of form1:</p>
  
  <pre><code>private ContextMenuStrip contextmenustrip1 = new ContextMenuStrip();
  </code></pre>
  
  <p>Then:</p>
  
  <pre><code>private void listView1_MouseDown(object sender, MouseEventArgs e)
  {
      if (e.Button == System.Windows.Forms.MouseButtons.Right)
      {
          ListView listView = sender as ListView;
          if (e.Button == System.Windows.Forms.MouseButtons.Right)
          {
              ListViewItem item = listView.GetItemAt(e.X, e.Y);
              if (item != null)
              {
                  item.Selected = true;
                  contextmenustrip1.Show(listView, e.Location);
              }
          }
          ContextMenu contextMenu = new System.Windows.Forms.ContextMenu();
          MenuItem menuItem = new MenuItem("Cut");
          menuItem.Click += new EventHandler(CutAction);
          contextMenu.MenuItems.Add(menuItem);
          menuItem = new MenuItem("Copy");
          menuItem.Click += new EventHandler(CopyAction);
          contextMenu.MenuItems.Add(menuItem);
          menuItem = new MenuItem("Paste");
          menuItem.Click += new EventHandler(PasteAction);
          contextMenu.MenuItems.Add(menuItem);
      }
  }
  </code></pre>
  
  <p>When i make click on item using a break point it's getting to the event but the right mouse click is not working but for sure it's not showing the menus the Cut Copy Paste.</p>
  
  <p>I want to make that when i make right click on item in the listView it will show the menu for the current item. Not sure if i should first make mousedown first or some other event not sure what's more logic. But the idea is to show the menu per right mouse click on item.</p>