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)
1768Rectangle offset = _mouseDragOffset; 1916Rectangle 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; 1946if (_mouseDragOffset.Width < 0) 1948_mouseDragOffset.X += _mouseDragOffset.Width; 1949_mouseDragOffset.Width = -_mouseDragOffset.Width; 1952if (_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); 1972if (!_mouseDragOffset.IsEmpty && _graphics is not null) 1974Rectangle frameRect = new(_mouseDragOffset.X - _adornerWindowToScreenOffset.X, 1975_mouseDragOffset.Y - _adornerWindowToScreenOffset.Y, 1976_mouseDragOffset.Width, _mouseDragOffset.Height); 2013Point offset = new(_mouseDragOffset.X, _mouseDragOffset.Y); 2015_statusCommandUI?.SetStatusInformation(new Rectangle(offset.X, offset.Y, _mouseDragOffset.Width, _mouseDragOffset.Height));