1 write to _initialMouseLoc
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
940
_initialMouseLoc
= initialMouseLocation;
6 references to _initialMouseLoc
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (6)
739
Point newPosition = new(mouseLoc.X -
_initialMouseLoc
.X + _dragComponents[_primaryComponentIndex].originalControlLocation.X,
740
mouseLoc.Y -
_initialMouseLoc
.Y + _dragComponents[_primaryComponentIndex].originalControlLocation.Y);
788
newPosition = new Point(mouseLoc.X -
_initialMouseLoc
.X + _originalDragImageLocation.X,
789
mouseLoc.Y -
_initialMouseLoc
.Y + _originalDragImageLocation.Y);
806
invalidDragRegion.Translate(mouseLoc.X -
_initialMouseLoc
.X + _lastSnapOffset.X, mouseLoc.Y -
_initialMouseLoc
.Y + _lastSnapOffset.Y);