Is there a way to get the events arguements of a dataGridView so I can call one of its eventhandlers?
Posted on 2008-06-12
I have a dataGridView which a few things happen when one of the rows is clicked. I handle this using the "CellClicked" event. The cell clicked event requires two parameters, the first is the sender as an object (which I can cast my dataGridView to), and the second is a System.Windows.Forms.DataGridViewCellEventArgs. Is there any way I can get or create the last argument so I can call the event handler? I have actually wanted to do this several times, but I have never figured out how to get ahold of the arguements.