34 references to Size
System.Windows.Forms (14)
System\Windows\Forms\BoundsSpecified.cs (1)
49
All = Location |
Size
,
System\Windows\Forms\Control.cs (2)
624
parent.LayoutEngine.InitLayout(this, BoundsSpecified.
Size
);
3013
set => SetBounds(_x, _y, value.Width, value.Height, BoundsSpecified.
Size
);
System\Windows\Forms\Controls\Buttons\Button.cs (1)
67
ParentInternal.LayoutEngine.InitLayout(this, BoundsSpecified.
Size
);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
103
ParentInternal.LayoutEngine.InitLayout(this, BoundsSpecified.
Size
);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (2)
159
BoundsSpecified.
Size
);
166
BoundsSpecified.
Size
);
System\Windows\Forms\Form.cs (3)
555
toLayout.LayoutEngine.InitLayout(this, BoundsSpecified.
Size
);
5005
if ((_restoredWindowBoundsSpecified & BoundsSpecified.
Size
) != 0)
6457
_restoredWindowBoundsSpecified = BoundsSpecified.
Size
;
System\Windows\Forms\Layout\CommonProperties.cs (2)
214
element.SetBounds(bounds, BoundsSpecified.
Size
);
238
element.SetBounds(bounds, BoundsSpecified.
Size
);
System\Windows\Forms\Panels\Panel.cs (1)
86
ParentInternal.LayoutEngine.InitLayout(this, BoundsSpecified.
Size
);
System\Windows\Forms\UserControl.cs (1)
90
toLayout.LayoutEngine.InitLayout(this, BoundsSpecified.
Size
);
System.Windows.Forms.Tests (20)
System\Windows\Forms\ControlTests.Methods.cs (18)
8134
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Size
, 0, 0, 0, 0, 0 };
8135
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Size
, 0, 0, -3, -4, 1 };
8136
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Size
, 0, 0, 0, 0, 0 };
8137
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Size
, 0, 0, 0, 0, 0 };
8138
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Size
, 0, 0, 0, 0, 0 };
8139
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Size
, 0, 0, 1, 0, 1 };
8140
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Size
, 0, 0, 0, 2, 1 };
8141
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Size
, 0, 0, 1, 2, 1 };
8142
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Size
, 0, 0, 30, 40, 1 };
8511
yield return new object[] { 0, 0, 0, 0, BoundsSpecified.
Size
, 0, 0, 0, 0, 0, 0 };
8512
yield return new object[] { -1, -2, -3, -4, BoundsSpecified.
Size
, 0, 0, -3, -4, 1, 2 };
8513
yield return new object[] { 1, 0, 0, 0, BoundsSpecified.
Size
, 0, 0, 0, 0, 0, 0 };
8514
yield return new object[] { 0, 2, 0, 0, BoundsSpecified.
Size
, 0, 0, 0, 0, 0, 0 };
8515
yield return new object[] { 1, 2, 0, 0, BoundsSpecified.
Size
, 0, 0, 0, 0, 0, 0 };
8516
yield return new object[] { 0, 0, 1, 0, BoundsSpecified.
Size
, 0, 0, 1, 0, 1, 2 };
8517
yield return new object[] { 0, 0, 0, 2, BoundsSpecified.
Size
, 0, 0, 0, 2, 1, 2 };
8518
yield return new object[] { 0, 0, 1, 2, BoundsSpecified.
Size
, 0, 0, 1, 2, 1, 2 };
8519
yield return new object[] { 1, 2, 30, 40, BoundsSpecified.
Size
, 0, 0, 30, 40, 1, 2 };
TrackBarTests.cs (2)
2872
foreach (BoundsSpecified specified in new BoundsSpecified[] { BoundsSpecified.Height, BoundsSpecified.
Size
, BoundsSpecified.All })
2905
foreach (BoundsSpecified specified in new BoundsSpecified[] { BoundsSpecified.Width, BoundsSpecified.
Size
, BoundsSpecified.All })