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());
未经作者允许,禁止转载