26 references to Location
System.Windows.Forms (8)
System\Windows\Forms\BoundsSpecified.cs (1)
49
All =
Location
| Size,
System\Windows\Forms\Control.cs (1)
2420
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)
1202
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)
8071
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8072
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Location
, -1, -2, 0, 0, 0 };
8073
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Location
, 1, 0, 0, 0, 0 };
8074
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Location
, 0, 2, 0, 0, 0 };
8075
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Location
, 1, 2, 0, 0, 0 };
8076
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8077
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8078
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8079
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Location
, 1, 2, 0, 0, 0 };
8448
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8449
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Location
, -1, -2, 0, 0, 0, 1 };
8450
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Location
, 1, 0, 0, 0, 0, 1 };
8451
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Location
, 0, 2, 0, 0, 0, 1 };
8452
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Location
, 1, 2, 0, 0, 0, 1 };
8453
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8454
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8455
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8456
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Location
, 1, 2, 0, 0, 0, 1 };