标签:datagridview class blog code tar com
datagridview有一列DataGridViewCheckBox,但连续点击的话(1秒点击N次),会导致出错,数据处理不正确,感觉
private void dgv_CellContentClick(object sender, DataGridViewCellEventArgs e) {}的没处理完,一般处理方法就是再加个doubleclick事件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 |
private
void dgv_CellContentClick( object
sender, DataGridViewCellEventArgs e) { try { dgv.Enable = false ; ........ } catch
(Exception ex) { } finally { dgv.Enable = true ; } } |
DataGridView的DataGridViewCheckBox问题,布布扣,bubuko.com
DataGridView的DataGridViewCheckBox问题
标签:datagridview class blog code tar com
原文地址:http://www.cnblogs.com/JohnnyBao/p/3782082.html