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)
1769Rectangle offset = _mouseDragOffset; 1911Rectangle 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; 1941if (_mouseDragOffset.Width < 0) 1943_mouseDragOffset.X += _mouseDragOffset.Width; 1944_mouseDragOffset.Width = -_mouseDragOffset.Width; 1947if (_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); 1967if (!_mouseDragOffset.IsEmpty && _graphics is not null) 1969Rectangle frameRect = new(_mouseDragOffset.X - _adornerWindowToScreenOffset.X, 1970_mouseDragOffset.Y - _adornerWindowToScreenOffset.Y, 1971_mouseDragOffset.Width, _mouseDragOffset.Height); 2008Point offset = new(_mouseDragOffset.X, _mouseDragOffset.Y); 2010_statusCommandUI?.SetStatusInformation(new Rectangle(offset.X, offset.Y, _mouseDragOffset.Width, _mouseDragOffset.Height));