Im making an app for touch screens, I want to make it so when you click on the rows of the grid they will get accumulated and processed later. I have to say I have fullRowSelect instead of CellSelect
So far Im trying for cell click event
But it will not accumulate selected cells. Any idea why?
Thanks in advance !
private void DataGridView_CellClick(object sender, DataGridViewCellEventArgs e)
{
if (e.RowIndex >= 0 && e.ColumnIndex >= 0)
{
dataGridView[e.ColumnIndex, e.RowIndex].Selected = true;
}
}
Accumulate cell selection