C# Class ARCed.Database.DatabaseWindow

Base class for database forms.
Inheritance: ARCed.UI.DockContent
Afficher le fichier Open project: borisblizzard/arcreator

Protected Properties

Свойство Type Description
SuppressEvents bool

Private Properties

Свойство Type Description
DatabaseWindowFormClosing void
DatabaseWindowLoad void

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
ChangeCapacity ( ) : void

Changes the capcity of the given game object collection.

Private Methods

Méthode 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 méthode

Changes the capcity of the given game object collection.
protected ChangeCapacity ( ) : void
Résultat void

DatabaseWindow() public méthode

Default constructor
public DatabaseWindow ( ) : System
Résultat System

NotifyRefresh() public méthode

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
Résultat void

RefreshCurrentObject() public méthode

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

RefreshHeader() public méthode

Refreshes the header _srcTexture
public RefreshHeader ( ) : void
Résultat void

RefreshObjectList() public méthode

Refreshes the list of game objects
public RefreshObjectList ( ) : void
Résultat void

SetWindowIcon() public méthode

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

Property Details

SuppressEvents protected_oe property

Flag if control changing should cause events to be raised.
protected bool SuppressEvents
Résultat bool