Centers a window. If the window is a top-level window, it centers it on the
desktop. If the window is a child window, it centers it on top of its parent.
Namespace: PPJ.RuntimeAssembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)
Syntax
C# |
---|
public static SalBoolean CenterWindow( Control ctrl ) |
Parameters
- ctrl
- Type: System.Windows.Forms..::..Control