4 writes to _mouseDragOffset
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ParentControlDesigner.cs (4)
1773
_mouseDragOffset
= Rectangle.Empty;
1959
_mouseDragOffset
= Control.RectangleToClient(_mouseDragOffset);
1960
_mouseDragOffset
= GetUpdatedRect(Rectangle.Empty, _mouseDragOffset, true);
1961
_mouseDragOffset
= Control.RectangleToScreen(_mouseDragOffset);
30 references to _mouseDragOffset
System.Windows.Forms.Design (30)
System\Windows\Forms\Design\ParentControlDesigner.cs (30)
1769
Rectangle offset =
_mouseDragOffset
;
1911
Rectangle oldFrameRect =
_mouseDragOffset
;
1914
_mouseDragOffset
.X = _mouseDragBase.X;
1915
_mouseDragOffset
.Y = _mouseDragBase.Y;
1916
_mouseDragOffset
.Width = x - _mouseDragBase.X;
1917
_mouseDragOffset
.Height = y - _mouseDragBase.Y;
1936
_mouseDragOffset
.Width += offset.X;
1937
_mouseDragOffset
.Height += offset.Y;
1941
if (
_mouseDragOffset
.Width < 0)
1943
_mouseDragOffset
.X +=
_mouseDragOffset
.Width;
1944
_mouseDragOffset
.Width = -
_mouseDragOffset
.Width;
1947
if (
_mouseDragOffset
.Height < 0)
1949
_mouseDragOffset
.Y +=
_mouseDragOffset
.Height;
1950
_mouseDragOffset
.Height = -
_mouseDragOffset
.Height;
1959
_mouseDragOffset = Control.RectangleToClient(
_mouseDragOffset
);
1960
_mouseDragOffset = GetUpdatedRect(Rectangle.Empty,
_mouseDragOffset
, true);
1961
_mouseDragOffset = Control.RectangleToScreen(
_mouseDragOffset
);
1967
if (!
_mouseDragOffset
.IsEmpty && _graphics is not null)
1969
Rectangle frameRect = new(
_mouseDragOffset
.X - _adornerWindowToScreenOffset.X,
1970
_mouseDragOffset
.Y - _adornerWindowToScreenOffset.Y,
1971
_mouseDragOffset
.Width,
_mouseDragOffset
.Height);
2008
Point offset = new(
_mouseDragOffset
.X,
_mouseDragOffset
.Y);
2010
_statusCommandUI?.SetStatusInformation(new Rectangle(offset.X, offset.Y,
_mouseDragOffset
.Width,
_mouseDragOffset
.Height));