9 references to Translate
System.Drawing.Common.Tests (4)
System\Drawing\RegionTests.cs (4)
1904
region.
Translate
(10, 10);
1917
region.
Translate
(dx, dy);
1938
region.
Translate
(10, 10);
1967
AssertExtensions.Throws<ArgumentException>(null, () => disposedRegion.
Translate
(1, 2));
System.Windows.Forms (2)
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (2)
343
iconRegion.Region.
Translate
(iconBounds.X, iconBounds.Y);
345
iconRegion.Region.
Translate
(-iconBounds.X, -iconBounds.Y);
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
133
region.
Translate
(scrollPosition.X, scrollPosition.Y);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
806
invalidDragRegion.
Translate
(mouseLoc.X - _initialMouseLoc.X + _lastSnapOffset.X, mouseLoc.Y - _initialMouseLoc.Y + _lastSnapOffset.Y);
System\Windows\Forms\Design\DesignerFrame.cs (1)
489
intersectionRegion.
Translate
(-overlayControlScreenBounds.X, -overlayControlScreenBounds.Y);