4 writes to _mouseDragOffset
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ParentControlDesigner.cs (4)
1773
_mouseDragOffset
= Rectangle.Empty;
1965
_mouseDragOffset
= Control.RectangleToClient(_mouseDragOffset);
1966
_mouseDragOffset
= GetUpdatedRect(Rectangle.Empty, _mouseDragOffset, true);
1967
_mouseDragOffset
= Control.RectangleToScreen(_mouseDragOffset);
30 references to _mouseDragOffset
System.Windows.Forms.Design (30)
System\Windows\Forms\Design\ParentControlDesigner.cs (30)
1769
Rectangle offset =
_mouseDragOffset
;
1917
Rectangle oldFrameRect =
_mouseDragOffset
;
1920
_mouseDragOffset
.X = _mouseDragBase.X;
1921
_mouseDragOffset
.Y = _mouseDragBase.Y;
1922
_mouseDragOffset
.Width = x - _mouseDragBase.X;
1923
_mouseDragOffset
.Height = y - _mouseDragBase.Y;
1942
_mouseDragOffset
.Width += offset.X;
1943
_mouseDragOffset
.Height += offset.Y;
1947
if (
_mouseDragOffset
.Width < 0)
1949
_mouseDragOffset
.X +=
_mouseDragOffset
.Width;
1950
_mouseDragOffset
.Width = -
_mouseDragOffset
.Width;
1953
if (
_mouseDragOffset
.Height < 0)
1955
_mouseDragOffset
.Y +=
_mouseDragOffset
.Height;
1956
_mouseDragOffset
.Height = -
_mouseDragOffset
.Height;
1965
_mouseDragOffset = Control.RectangleToClient(
_mouseDragOffset
);
1966
_mouseDragOffset = GetUpdatedRect(Rectangle.Empty,
_mouseDragOffset
, true);
1967
_mouseDragOffset = Control.RectangleToScreen(
_mouseDragOffset
);
1973
if (!
_mouseDragOffset
.IsEmpty && _graphics is not null)
1975
Rectangle frameRect = new(
_mouseDragOffset
.X - _adornerWindowToScreenOffset.X,
1976
_mouseDragOffset
.Y - _adornerWindowToScreenOffset.Y,
1977
_mouseDragOffset
.Width,
_mouseDragOffset
.Height);
2014
Point offset = new(
_mouseDragOffset
.X,
_mouseDragOffset
.Y);
2016
_statusCommandUI?.SetStatusInformation(new Rectangle(offset.X, offset.Y,
_mouseDragOffset
.Width,
_mouseDragOffset
.Height));