2014年3月4日

gridControl gridView响应右键菜单

摘要: 增加一个PopupMenu并编辑相关菜单项,然后在gridView的MouseUp事件里写如下代码:private void gridView1_MouseUp(object sender, MouseEventArgs e){ //鼠标右键响应 GridView detailGrid = (sender as GridView);GridHitInfo hitInfo = (detailGrid.CalcHitInfo((e as MouseEventArgs).Location)); // DevExpress.XtraGrid.Views.Grid.ViewInfo... 阅读全文

posted @ 2014-03-04 04:03 teolvp 阅读(506) 评论(0) 推荐(0) 编辑

导航