C# Class ARCed.Database.DatabaseWindow

Base class for database forms.
Inheritance: ARCed.UI.DockContent
Exibir arquivo Open project: borisblizzard/arcreator

Protected Properties

Property Type Description
SuppressEvents bool

Private Properties

Property Type Description
DatabaseWindowFormClosing void
DatabaseWindowLoad void

Public Methods

Method Description
DatabaseWindow ( ) : System

Default constructor

NotifyRefresh ( RefreshType type ) : void

Refreshes objects by type flag

This methods is to be overridden in inherited classes.

RefreshCurrentObject ( ) : void

Refreshes the current game object selected

This method must be overridden in inherited classes

RefreshHeader ( ) : void

Refreshes the header _srcTexture

RefreshObjectList ( ) : void

Refreshes the list of game objects

SetWindowIcon ( Image image ) : void

Sets the form's icon using the given Bitmap object.

Protected Methods

Method Description
ChangeCapacity ( ) : void

Changes the capcity of the given game object collection.

Private Methods

Method Description
DatabaseWindowFormClosing ( object sender, FormClosingEventArgs e ) : void

Unregisters the window when it is closed

DatabaseWindowLoad ( object sender, EventArgs e ) : void

Registers the window when it is loaded

Method Details

ChangeCapacity() protected method

Changes the capcity of the given game object collection.
protected ChangeCapacity ( ) : void
return void

DatabaseWindow() public method

Default constructor
public DatabaseWindow ( ) : System
return System

NotifyRefresh() public method

Refreshes objects by type flag
This methods is to be overridden in inherited classes.
Thrown when method is not overridden. Thrown when method is not overridden in inherited class
public NotifyRefresh ( RefreshType type ) : void
type RefreshType Flag for type of object to refresh
return void

RefreshCurrentObject() public method

Refreshes the current game object selected
This method must be overridden in inherited classes
Thrown when method has not been overridden.
public RefreshCurrentObject ( ) : void
return void

RefreshHeader() public method

Refreshes the header _srcTexture
public RefreshHeader ( ) : void
return void

RefreshObjectList() public method

Refreshes the list of game objects
public RefreshObjectList ( ) : void
return void

SetWindowIcon() public method

Sets the form's icon using the given Bitmap object.
public SetWindowIcon ( Image image ) : void
image Image Bitmap to create Icon from.
return void

Property Details

SuppressEvents protected_oe property

Flag if control changing should cause events to be raised.
protected bool SuppressEvents
return bool