C# Class Sharpex2D.Surface.GameWindow

Inheritance: IDisposable
Mostra file Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
CenterWindow ( ) : void

Centers the Window.

Dispose ( ) : void

Disposes the object.

SetCursorIcon ( string path ) : void

Sets the CursorIcon.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes the object.

Private Methods

Method Description
FixWindow ( ) : void

Fixes the size of the window.

FreeWindow ( ) : void

Frees the window size.

GameWindow ( IntPtr handle ) : System

Initializes a new GameWindow class.

_surface_Activated ( object sender, EventArgs e ) : void

Activate Event.

_surface_Deactivate ( object sender, EventArgs e ) : void

Deactivate Event.

_surface_FormClosing ( object sender, FormClosingEventArgs e ) : void

FormClosing Event.

Method Details

CenterWindow() public method

Centers the Window.
public CenterWindow ( ) : void
return void

Dispose() public method

Disposes the object.
public Dispose ( ) : void
return void

Dispose() protected method

Disposes the object.
protected Dispose ( bool disposing ) : void
disposing bool Indicates whether managed resources should be disposed.
return void

SetCursorIcon() public method

Sets the CursorIcon.
public SetCursorIcon ( string path ) : void
path string The Path.
return void