1、双击事件不分左右键:
dataGridView1_CellDoubleClick
{
事件
}
2、双歌舍击事件分左右键
dataGridView1_MouseDoubleClick
if (e.Button == MouseButtons.Left)
{
事件
}
if (e.Button == MouseButtons.Right)
{
事件何何
}
3、同样的单击也是类似爷暗讨的方法
时间:2026-02-14 17:27:49
1、双击事件不分左右键:
dataGridView1_CellDoubleClick
{
事件
}
2、双歌舍击事件分左右键
dataGridView1_MouseDoubleClick
if (e.Button == MouseButtons.Left)
{
事件
}
if (e.Button == MouseButtons.Right)
{
事件何何
}
3、同样的单击也是类似爷暗讨的方法