DotNet 4.8.1 build of DotNetBar

This commit is contained in:
2025-02-07 10:35:23 -05:00
parent 33439b63a0
commit 6b0a5d60f4
2609 changed files with 989814 additions and 7 deletions

View File

@@ -0,0 +1,18 @@
using System.Drawing;
using System.Windows.Forms;
namespace DevComponents.DotNetBar.SuperGrid
{
internal static class DragDrop
{
public static bool DragStarted(Point pt1, Point pt2)
{
Rectangle r = new Rectangle(pt1.X, pt1.Y, 0, 0);
r.Inflate(SystemInformation.DragSize.Width,
SystemInformation.DragSize.Height);
return (r.Contains(pt2.X, pt2.Y) == false);
}
}
}