10 references to ScaleSize
System.Windows.Forms (10)
winforms\Managed\System\WinForms\Control.cs (2)
11538
minSize =
ScaleSize
(LayoutUtils.UnionSizes(Size.Empty, minSize), // make sure we dont go below 0.
11544
maxSize =
ScaleSize
(LayoutUtils.UnionSizes(Size.Empty, maxSize), // make sure we dont go below 0.
winforms\Managed\System\WinForms\Form.cs (3)
5795
MinimumSize =
ScaleSize
(minSize, x, y);
5798
MaximumSize =
ScaleSize
(maxSize, x, y);
5800
ClientSize =
ScaleSize
(clientSize, x, y);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (5)
1701
ClientSize =
ScaleSize
(clientSize, dx, dy);
1703
MinimumSize =
ScaleSize
(minSize, dx, dy);
1706
MaximumSize =
ScaleSize
(maxSize, dx, dy);
1735
MinimumSize =
ScaleSize
(minSize, factor.Width, factor.Height);
1738
MaximumSize =
ScaleSize
(maxSize, factor.Width, factor.Height);