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)
1769Rectangle offset = _mouseDragOffset; 1917Rectangle 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; 1947if (_mouseDragOffset.Width < 0) 1949_mouseDragOffset.X += _mouseDragOffset.Width; 1950_mouseDragOffset.Width = -_mouseDragOffset.Width; 1953if (_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); 1973if (!_mouseDragOffset.IsEmpty && _graphics is not null) 1975Rectangle frameRect = new(_mouseDragOffset.X - _adornerWindowToScreenOffset.X, 1976_mouseDragOffset.Y - _adornerWindowToScreenOffset.Y, 1977_mouseDragOffset.Width, _mouseDragOffset.Height); 2014Point offset = new(_mouseDragOffset.X, _mouseDragOffset.Y); 2016_statusCommandUI?.SetStatusInformation(new Rectangle(offset.X, offset.Y, _mouseDragOffset.Width, _mouseDragOffset.Height));