摘要:
有个项目,需要在datagridview的单元格里加右键菜单,进行数据操作。最开始用的代码是:private void dataGridView1_CellMouseDown(object sender, DataGridViewCellMouseEventArgs e) { if (e.RowIndex >=0) { if (e.Button == MouseButtons.Right) { dataGridView1.ClearSelection(); ... 阅读全文
posted @ 2012-11-09 16:25 JmrBrvae 阅读(906) 评论(0) 推荐(1) 编辑