4 writes to _mouseDragOffset
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ParentControlDesigner.cs (4)
1772
_mouseDragOffset
= Rectangle.Empty;
1964
_mouseDragOffset
= Control.RectangleToClient(_mouseDragOffset);
1965
_mouseDragOffset
= GetUpdatedRect(Rectangle.Empty, _mouseDragOffset, true);
1966
_mouseDragOffset
= Control.RectangleToScreen(_mouseDragOffset);
30 references to _mouseDragOffset
System.Windows.Forms.Design (30)
System\Windows\Forms\Design\ParentControlDesigner.cs (30)
1768
Rectangle offset =
_mouseDragOffset
;
1916
Rectangle oldFrameRect =
_mouseDragOffset
;
1919
_mouseDragOffset
.X = _mouseDragBase.X;
1920
_mouseDragOffset
.Y = _mouseDragBase.Y;
1921
_mouseDragOffset
.Width = x - _mouseDragBase.X;
1922
_mouseDragOffset
.Height = y - _mouseDragBase.Y;
1941
_mouseDragOffset
.Width += offset.X;
1942
_mouseDragOffset
.Height += offset.Y;
1946
if (
_mouseDragOffset
.Width < 0)
1948
_mouseDragOffset
.X +=
_mouseDragOffset
.Width;
1949
_mouseDragOffset
.Width = -
_mouseDragOffset
.Width;
1952
if (
_mouseDragOffset
.Height < 0)
1954
_mouseDragOffset
.Y +=
_mouseDragOffset
.Height;
1955
_mouseDragOffset
.Height = -
_mouseDragOffset
.Height;
1964
_mouseDragOffset = Control.RectangleToClient(
_mouseDragOffset
);
1965
_mouseDragOffset = GetUpdatedRect(Rectangle.Empty,
_mouseDragOffset
, true);
1966
_mouseDragOffset = Control.RectangleToScreen(
_mouseDragOffset
);
1972
if (!
_mouseDragOffset
.IsEmpty && _graphics is not null)
1974
Rectangle frameRect = new(
_mouseDragOffset
.X - _adornerWindowToScreenOffset.X,
1975
_mouseDragOffset
.Y - _adornerWindowToScreenOffset.Y,
1976
_mouseDragOffset
.Width,
_mouseDragOffset
.Height);
2013
Point offset = new(
_mouseDragOffset
.X,
_mouseDragOffset
.Y);
2015
_statusCommandUI?.SetStatusInformation(new Rectangle(offset.X, offset.Y,
_mouseDragOffset
.Width,
_mouseDragOffset
.Height));