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)
201if (_dragImageRect != Rectangle.Empty) 203Rectangle rect = _dragImageRect; 603if (_clearDragImageRect != _dragImageRect) 609_clearDragImageRect = _dragImageRect; 786Rectangle previousImageRect = _dragImageRect; 793_dragImageRect.Location = newPosition; 796Rectangle newImageRect = _dragImageRect; 951if (_dragImageRect.IsEmpty) 958_dragImageRect = Rectangle.Union(_dragImageRect, controlRect); 1007int imageWidth = _dragImageRect.Width; 1013int imageHeight = _dragImageRect.Height; 1033Rectangle controlRect = new(_dragComponents[i].draggedLocation.X - _dragImageRect.X, 1034_dragComponents[i].draggedLocation.Y - _dragImageRect.Y, 1045_originalDragImageLocation = new Point(_dragImageRect.X, _dragImageRect.Y);