1 override of GetUpdatedRect
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ComponentTray.cs (1)
2885public override Rectangle GetUpdatedRect(Rectangle originalRect, Rectangle dragRect, bool updateSize)
8 references to GetUpdatedRect
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\OleDragDropHandler.cs (3)
380newRect = _selectionHandler.GetUpdatedRect(comp.Bounds, newRect, false); 401newRect = _selectionHandler.GetUpdatedRect(comp.Bounds, newRect, false); 771bounds = _selectionHandler.GetUpdatedRect(Rectangle.Empty, bounds, false);
System\Windows\Forms\Design\SelectionUIHandler.cs (1)
316Rectangle tempNewBounds = GetUpdatedRect(oldBounds, new Rectangle(targetX, targetY, targetWidth, targetHeight), true);
System.Windows.Forms.Design.Tests (4)
System\Windows\Forms\Design\SelectionUIHandlerTests.cs (4)
140_selectionUIHandlerMock.Setup(h => h.GetUpdatedRect(originalRect, dragRect, updateSize)) 143Rectangle result = _selectionUIHandlerMock.Object.GetUpdatedRect(originalRect, dragRect, updateSize); 155_selectionUIHandlerMock.Setup(h => h.GetUpdatedRect(originalRect, dragRect, updateSize)) 158Rectangle result = _selectionUIHandlerMock.Object.GetUpdatedRect(originalRect, dragRect, updateSize);