26 references to Location
System.Windows.Forms (8)
System\Windows\Forms\BoundsSpecified.cs (1)
49
All =
Location
| Size,
System\Windows\Forms\Control.cs (1)
2422
set => SetBounds(value.X, value.Y, _width, _height, BoundsSpecified.
Location
);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
202
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)
8113
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8114
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Location
, -1, -2, 0, 0, 0 };
8115
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Location
, 1, 0, 0, 0, 0 };
8116
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Location
, 0, 2, 0, 0, 0 };
8117
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Location
, 1, 2, 0, 0, 0 };
8118
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8119
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8120
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0 };
8121
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Location
, 1, 2, 0, 0, 0 };
8490
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8491
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Location
, -1, -2, 0, 0, 0, 1 };
8492
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Location
, 1, 0, 0, 0, 0, 1 };
8493
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Location
, 0, 2, 0, 0, 0, 1 };
8494
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Location
, 1, 2, 0, 0, 0, 1 };
8495
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8496
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8497
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Location
, 0, 0, 0, 0, 0, 0 };
8498
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Location
, 1, 2, 0, 0, 0, 1 };