CustomMessageBox.ScaleControl Method (SizeF, BoundsSpecified)
Scales the location, size, padding and margin of the message box.
Namespace: Microsoft.WindowsServerSolutions.Controls
Assembly: AdminCommon (in AdminCommon.dll)
Syntax
protected override void ScaleControl(
SizeF factor,
BoundsSpecified specified
)
protected:
virtual void ScaleControl(
SizeF factor,
BoundsSpecified specified
) override
Protected Overrides Sub ScaleControl (
factor As SizeF,
specified As BoundsSpecified
)
Parameters
factor
Type: System.Drawing.SizeFThe factor by which the height and width of the message box is scaled.
specified
Type: System.Windows.Forms.BoundsSpecifiedA BoundsSpecified value that specifies the bounds of the message box to use when defining its size and position.
See Also
CustomMessageBox Class
Microsoft.WindowsServerSolutions.Controls Namespace
Return to top