H
hazz
so that when a user clicks or double clicks on a datagridview row,
private void dataGridView1_RowEnter(object sender, DataGridViewCellEventArgs
e) {}and
private void dataGridView1_CellContentClick(object sender,
DataGridViewCellEventArgs e){}
handle any incoming events in a reliable and consistent manner.
Requirements:
1. no actions are performed in these event handlers during the
datagridview intialization.
2. the ability to select a single row only after the datagridview has been
initialized and displayed.
(given dataGridView1.SelectionMode =
DataGridViewSelectionMode.FullRowSelect; )
3. the double click event action is not pre-empted by a single event.
Thank you, -Greg
private void dataGridView1_RowEnter(object sender, DataGridViewCellEventArgs
e) {}and
private void dataGridView1_CellContentClick(object sender,
DataGridViewCellEventArgs e){}
handle any incoming events in a reliable and consistent manner.
Requirements:
1. no actions are performed in these event handlers during the
datagridview intialization.
2. the ability to select a single row only after the datagridview has been
initialized and displayed.
(given dataGridView1.SelectionMode =
DataGridViewSelectionMode.FullRowSelect; )
3. the double click event action is not pre-empted by a single event.
Thank you, -Greg