26 references to Location
System.Windows.Forms (8)
System\Windows\Forms\BoundsSpecified.cs (1)
49
All =
Location
| Size,
System\Windows\Forms\Control.cs (1)
2421
set => SetBounds(value.X, value.Y, _width, _height, BoundsSpecified.
Location
);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
203
CommonProperties.UpdateSpecifiedBounds(this, bounds.X, bounds.Y, bounds.Width, bounds.Height, BoundsSpecified.
Location
);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1205
SetBoundsCore(bounds.X, bounds.Y, bounds.Width, bounds.Height, BoundsSpecified.
Location
);
System\Windows\Forms\Controls\ToolStrips\ToolStripScrollButton.StickyLabel.cs (1)
30
if (((specified & BoundsSpecified.
Location
) != 0) && FreezeLocationChange)
System\Windows\Forms\Form.cs (2)
5155
specified &= ~BoundsSpecified.
Location
;
6459
_restoredWindowBoundsSpecified |= BoundsSpecified.
Location
;
System\Windows\Forms\MDI\MDIClient.cs (1)
216
specified &= ~BoundsSpecified.
Location
;
System.Windows.Forms.Tests (18)
System\Windows\Forms\ControlTests.Methods.cs (18)
8104
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8105
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Location
, -1, -2, 0, 0, 0 };
8106
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Location
, 1, 0, 0, 0, 0 };
8107
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Location
, 0, 2, 0, 0, 0 };
8108
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Location
, 1, 2, 0, 0, 0 };
8109
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8110
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8111
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8112
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Location
, 1, 2, 0, 0, 0 };
8481
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8482
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Location
, -1, -2, 0, 0, 0, 1 };
8483
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Location
, 1, 0, 0, 0, 0, 1 };
8484
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Location
, 0, 2, 0, 0, 0, 1 };
8485
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Location
, 1, 2, 0, 0, 0, 1 };
8486
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8487
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8488
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8489
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Location
, 1, 2, 0, 0, 0, 1 };