4 writes to _dragImageRect
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (4)
115
_dragImageRect
= Rectangle.Empty;
938
_dragImageRect
= Rectangle.Empty;
953
_dragImageRect
= controlRect;
958
_dragImageRect
= Rectangle.Union(_dragImageRect, controlRect);
15 references to _dragImageRect
System.Windows.Forms.Design (15)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (15)
201
if (
_dragImageRect
!= Rectangle.Empty)
203
Rectangle rect =
_dragImageRect
;
603
if (_clearDragImageRect !=
_dragImageRect
)
609
_clearDragImageRect =
_dragImageRect
;
786
Rectangle previousImageRect =
_dragImageRect
;
793
_dragImageRect
.Location = newPosition;
796
Rectangle newImageRect =
_dragImageRect
;
951
if (
_dragImageRect
.IsEmpty)
958
_dragImageRect = Rectangle.Union(
_dragImageRect
, controlRect);
1007
int imageWidth =
_dragImageRect
.Width;
1013
int imageHeight =
_dragImageRect
.Height;
1033
Rectangle controlRect = new(_dragComponents[i].draggedLocation.X -
_dragImageRect
.X,
1034
_dragComponents[i].draggedLocation.Y -
_dragImageRect
.Y,
1045
_originalDragImageLocation = new Point(
_dragImageRect
.X,
_dragImageRect
.Y);