I'm trying to have a contextmenustrip object show up on the coordinates that a right click occurs on a particular form object. I hooked into the forms CellMouseClick event and I can receive X,Y values for the event, but they seem to be relative to that particular control. For example, if I use contextmenu.Show(e.X, e.Y), it will show in the top hand corner of the screen, as opposed to where the mouse is on that form.
How can I accomplish what I am looking to do? If it helps, the form control I'm hooking into is DataGridView.