I'm writing a program in C# and windows forms and I have a problem.
I have a DataGridView
where I display data in different columns and I added a DataGridViewButtonColumn
. The thing is that I need to separate the CellClick
event on the DataGridViewButtonColumn
of the whole DataGridView.CellClick
event. To resume I would like to invoke a different function if I click on the button in the datagrid than if I click on the other cells.
Thanks in advance.