10 references to ScaleSize
System.Windows.Forms (10)
System\Windows\Forms\Control.cs (2)
9725minSize = ScaleSize(LayoutUtils.UnionSizes(Size.Empty, minSize), // make sure we don't go below 0. 9733maxSize = ScaleSize(LayoutUtils.UnionSizes(Size.Empty, maxSize), // make sure we don't go below 0.
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (5)
1468ClientSize = ScaleSize(clientSize, dx, dy); 1471MinimumSize = ScaleSize(minSize, dx, dy); 1476MaximumSize = ScaleSize(maxSize, dx, dy); 1505MinimumSize = ScaleSize(minSize, factor.Width, factor.Height); 1510MaximumSize = ScaleSize(maxSize, factor.Width, factor.Height);
System\Windows\Forms\Form.cs (3)
5087ClientSize = ScaleSize(clientSize, x, y); 5116UpdateMinimumSize(ScaleSize(minSize, xScaleFactor, yScaleFactor), updateContainerSize); 5121UpdateMaximumSize(ScaleSize(maxSize, xScaleFactor, yScaleFactor), updateContainerSize);