Method ScaleControl
ScaleControl(SizeF, BoundsSpecified)
Scales a control's location, size, padding and margin.
protected override void ScaleControl(SizeF factor, BoundsSpecified specified)
Parameters
factorSizeFThe factor by which the height and width of the control will be scaled.
specifiedBoundsSpecifiedA BoundsSpecified value that specifies the bounds of the control to use when defining its size and position.