DataGridView通过右键选中行及更新Index
摘要:
private void dataGridView1_CellMouseDown(object sender, DataGridViewCellMouseEventArgs e) { if (e.Button == MouseButtons.Right) { if (e.RowIndex > -1) { if (!this.dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Selecte... 阅读全文
posted @ 2013-04-09 23:00 流逝の青春 阅读(317) 评论(0) 推荐(0) 编辑