ContextMenu in a DataGridView

Oct 10 2008 12:53 PM
Right now I've set up a ContextMenu on a datagridview.  One of the options on the ContextMenu is to Edit the Cell that the person right clicked. 

However I am unable to get the EventArgs or the Sender in the event handler to return which cell the user clicked on.

Is there any way to have the EventArgs return what would be found in something like DataGridViewCellMouseEventArgs??
So that I could do something like e.RowIndex to return which row the user clicked on???  OR does anyone have another solution??
Thanks


Answers (2)