4 writes to _dragImageRect
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (4)
115
_dragImageRect
= Rectangle.Empty;
932
_dragImageRect
= Rectangle.Empty;
947
_dragImageRect
= controlRect;
952
_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
;
597
if (_clearDragImageRect !=
_dragImageRect
)
603
_clearDragImageRect =
_dragImageRect
;
780
Rectangle previousImageRect =
_dragImageRect
;
787
_dragImageRect
.Location = newPosition;
790
Rectangle newImageRect =
_dragImageRect
;
945
if (
_dragImageRect
.IsEmpty)
952
_dragImageRect = Rectangle.Union(
_dragImageRect
, controlRect);
1001
int imageWidth =
_dragImageRect
.Width;
1007
int imageHeight =
_dragImageRect
.Height;
1027
Rectangle controlRect = new(_dragComponents[i].draggedLocation.X -
_dragImageRect
.X,
1028
_dragComponents[i].draggedLocation.Y -
_dragImageRect
.Y,
1039
_originalDragImageLocation = new Point(
_dragImageRect
.X,
_dragImageRect
.Y);