title: Highlight the selected cell in a DataGridView?
body: <p>In my code below, I'm showing a context menu when the user right-clicks on a cell in my DataGridView.  I'd also like the cell that the user right-clicks on to change background color so that they can see the cell they've "right-click selected".  Is there a way to add something to my code below so that this occurs?</p>
  
  <pre><code>private void dataGridView2_MouseClick(object sender, MouseEventArgs e)
      {
          if (e.Button == MouseButtons.Right)
          {
              ContextMenu m = new ContextMenu();
              MenuItem mnuCopy = new MenuItem("Copy");
              mnuCopy.Click += new EventHandler(mnuCopy_Click);
              m.MenuItems.Add(mnuCopy);
  
              int currentMouseOverRow = dataGridView2.HitTest(e.X, e.Y).RowIndex;               
  
              m.Show(dataGridView2, new Point(e.X, e.Y));
  
          }
      }
  </code></pre>