摘要: //对于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 阅读全文
posted @ 2011-09-06 12:33 josephus 阅读(844) 评论(0) 推荐(0) 编辑