test

博客园markdown编辑器测试


private void gridControl1_DragDrop(object sender, DragEventArgs e)
        {
            GridControl grid = sender as GridControl;
            Point pt = grid.PointToClient(new Point(e.X, e.Y));
            GridView view = grid.GetViewAt(pt) as GridView;
            if (view == null)
                return;
            GridHitInfo hitInfo = gridView1.CalcHitInfo(pt);
            if (hitInfo.InRowCell)
                MessageBox.Show(hitInfo.RowHandle.ToString() + "----" + hitInfo.RowHandle.ToString());
posted on 2020-02-21 11:20  王延刚  阅读(108)  评论(0编辑  收藏  举报