阅读背景:

GridControl右键弹出PopupMenu菜单

来源:互联网 

 方法一:

private void gridControl_MouseUp(object sender, MouseEventArgs e)
        {
            try
            {
                GridHitInfo info = gvEmployee.CalcHitInfo(e.Location);
                if (e.Button == MouseButtons.Right && info.InRowCell)
                {
                    popupMenu.ShowPopup(gridControl.PointToScreen(e.Location));
                }
            }
            catch (Exception ex)
            {

                ShowFormHelper.Error(ex);
            }
        }private void gridControl_Mous



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: