C# Class AEMManager.Util.SystemUtil

Show file Open project: wcm-io-devops/aem-manager

Public Methods

Method Description
RestoreWindowPos ( Form pfrm, int left, int top, int width, int height, FormWindowState windowState = FormWindowState.Normal ) : void

Restores the last saved position/state of given form from the registry.

SaveWindowPos ( Form pfrm ) : void

Saved current position/state of given form in registry.

Method Details

RestoreWindowPos() public static method

Restores the last saved position/state of given form from the registry.
public static RestoreWindowPos ( Form pfrm, int left, int top, int width, int height, FormWindowState windowState = FormWindowState.Normal ) : void
pfrm System.Windows.Forms.Form Form instance
left int
top int
width int
height int
windowState FormWindowState
return void

SaveWindowPos() public static method

Saved current position/state of given form in registry.
public static SaveWindowPos ( Form pfrm ) : void
pfrm System.Windows.Forms.Form Form instance
return void