31 references to Offset
System.Drawing (1)
commonui\System\Drawing\Point.cs (1)
273Offset(p.X, p.Y);
System.Windows.Forms (27)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (19)
207p1.Offset(0,-1); // need to paint last pixel too. 229p1.Offset(-1, 2); 230p2.Offset( 1, 1); 231p3.Offset( 1,-1); 232p4.Offset(-1,-1); 245p1.Offset(0,-1); // need to paint last pixel too. 291p1.Offset(0,-1); // need to paint last pixel too. 303p1.Offset(-1, 2); 304p2.Offset( 1, 1); 305p3.Offset( 1,-1); 306p4.Offset(-1,-1); 326p1.Offset(0,-1); // need to paint last pixel too. 382p1.Offset(0, -1); // need to paint last pixel too. 391p1.Offset(-1, 2); 392p2.Offset(1, 1); 393p3.Offset(1, -1); 394p4.Offset(-1, -1); 429p1.Offset(0, -1); // need to paint last pixel too. 467p1.Offset(0,-1); // need to paint last pixel too.
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (4)
355pt.Offset(0, ptScroll.X); 358pt.Offset(ptScroll.X, 0); 446pt.Offset(ptScroll.Y, 0); 448pt.Offset(ptScroll.X, 0);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
4927location.Offset(25, 25);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
2047position.Offset(control.IsMirrored ? Width : -Width, 0);
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
715screenLocation.Offset(-toolStripToDrag.Width,0);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (1)
1205gradientCopyPixel.Offset(1, -1);
System.Workflow.Activities (1)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
436locationInDialog.Offset(-parentScreenLocation.X, -parentScreenLocation.Y);
System.Workflow.ComponentModel (2)
AuthoringOM\Design\WorkflowLayouts.cs (2)
301logicalPoint.Offset(-offSet.Width, -offSet.Height); 308logicalPoint.Offset(offSet.Width, offSet.Height);