CommonCenter Method

centers the form on the current screen.

Definition

Namespace: DWSIM.UI.Shared
Assembly: DWSIM.ExtensionMethods.Eto (in DWSIM.ExtensionMethods.Eto.dll) Version: 10.0.0.0
public static void Center(
	this Form form
)

Parameters

form  Form

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Form. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also