DEV GridControl 鼠标单击事件

 private void gridView1_RowClick(object sender, DevExpress.XtraGrid.Views.Grid.RowClickEventArgs e)
{
//双击就执行
if (e.Clicks != 2)
return;
//获取选中行的数据
_dept = (Department)gridView1.GetFocusedRow();
this.DialogResult = System.Windows.Forms.DialogResult.OK;
}

  

上一篇:“全栈2019”Java多线程第十五章:当后台线程遇到finally


下一篇:深入理解定时器系列——被誉为神器的requestAnimationFrame