C2021-004 logic to support table cell shading

null reference check
This commit is contained in:
jjenko committed 2021-11-18 19:32:25 +00:00
1 parent 884eda31e2
commit 2f07372641
3 files changed
+116 -26

No files matched your search

@@ -3656,6 +3656,7 @@ namespace Volian.Controls.Library
try
{
TreeNode dragNode = GetTreeNodeFromData(e.Data);
if (dragNode == null) return;
// Compute drag position and move image
Point formP = this.FindForm().PointToClient(new Point(e.X, e.Y));
DragHelper.ImageList_DragMove(formP.X - this.Left, formP.Y - this.Top);