1: 2: 3: 4: 5:
DataGridView dgv = ((DataGridView)sender); if (dgv.Rows[e.RowIndex].Cells[e.ColumnIndex] is DataGridViewCheckBoxCell) { MessageBox.Show(dgv.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString() + " " + ((DataGridView)sender).Name); }