title: how to limit right click on selected listview item only or an item rather than empty spaces?
body: <p>the right click in listview item is working but it work on every space in the listview, wether it is on item or empty spaces. i want to limit only to selected item.</p>
  
  <p>i tried to use the <code>listview1.HitTest</code> but it is not working. still the right click is all the listveiw.</p>
  
  <pre><code>if (e.Button == MouseButtons.Right)
          {
              var loc = listView1.HitTest(e.Location);
  
              if (loc.Item != null &amp;&amp; contextMenuStrip1.Items.Count == 0)
              {
  
                  contextMenuStrip1.Items.Add("TEST1");
                  contextMenuStrip1.Items.Add("TEST2");
  
              }              
  
          }
  </code></pre>