摘要:
//对于datagridview使用CellMouseDown事件private void dataGridView_CellMouseDown(object sender, DataGridViewCellMouseEventArgs e){if (e.Button == MouseButtons.Right){ if (e.RowIndex >= 0) { dataGridView.ClearSelection(); dataGridView.Rows[e.RowIndex].Selected = true; dataGridView.CurrentCell = dataGridVi 阅读全文