26 references to Location
System.Windows.Forms (8)
System\Windows\Forms\BoundsSpecified.cs (1)
49
All =
Location
| Size,
System\Windows\Forms\Control.cs (1)
2509
set => SetBounds(value.X, value.Y, _width, _height, BoundsSpecified.
Location
);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
201
CommonProperties.UpdateSpecifiedBounds(this, bounds.X, bounds.Y, bounds.Width, bounds.Height, BoundsSpecified.
Location
);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1199
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)
5226
specified &= ~BoundsSpecified.
Location
;
6565
_restoredWindowBoundsSpecified |= BoundsSpecified.
Location
;
System\Windows\Forms\MDI\MDIClient.cs (1)
212
specified &= ~BoundsSpecified.
Location
;
System.Windows.Forms.Tests (18)
System\Windows\Forms\ControlTests.Methods.cs (18)
8086
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8087
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Location
, -1, -2, 0, 0, 0 };
8088
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Location
, 1, 0, 0, 0, 0 };
8089
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Location
, 0, 2, 0, 0, 0 };
8090
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Location
, 1, 2, 0, 0, 0 };
8091
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8092
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8093
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8094
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Location
, 1, 2, 0, 0, 0 };
8463
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8464
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Location
, -1, -2, 0, 0, 0, 1 };
8465
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Location
, 1, 0, 0, 0, 0, 1 };
8466
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Location
, 0, 2, 0, 0, 0, 1 };
8467
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Location
, 1, 2, 0, 0, 0, 1 };
8468
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8469
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8470
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8471
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Location
, 1, 2, 0, 0, 0, 1 };