C# Class Orc.LicenseManager.WindowExtensions

Extensions for the window class.
Datei anzeigen Open project: WildGums/Orc.LicenseManager

Public Methods

Method Description
ApplyIconFromApplication ( this window ) : void

Applies the icon from the entry assembly (the application) to the window.

RemoveCloseButton ( this window ) : void

Removes the close button from the specified window.

Private Methods

Method Description
GetWindowLong ( IntPtr hwnd, int index ) : int
OnWindowInitializedForRemoveCloseButton ( object sender, EventArgs e ) : void
SetWindowLong ( IntPtr hwnd, int index, int value ) : int

Method Details

ApplyIconFromApplication() public static method

Applies the icon from the entry assembly (the application) to the window.
public static ApplyIconFromApplication ( this window ) : void
window this The window.
return void

RemoveCloseButton() public static method

Removes the close button from the specified window.
public static RemoveCloseButton ( this window ) : void
window this The window.
return void