C# Class ARCed.Controls.DatabaseObjectListBox

Inheritance: System.Windows.Forms.GroupBox
Afficher le fichier Open project: borisblizzard/arcreator

Private Properties

Свойство Type Description
ButtonMaximumClick void
InitializeComponent void
ListBoxObjectsSelectedIndexChanged void
PictureBoxHeaderDoubleClick void
PictureBoxHeaderResize void

Méthodes publiques

Méthode Description
BeginUpdate ( ) : void

Maintains performance while items are added to the control's listbox one at a time by preventing painting until EndUpdate() is called.

DatabaseObjectListBox ( ) : System

Default constructor

EndUpdate ( ) : void

Resumes painting of the control's listbox after painting is suspended from calling BeginUpdate().

GetItemRectangle ( int index ) : Rectangle

Returns the bounding rectangle for an item in the control's listbox

PopulateList ( List objectList ) : void

Clears and populates the listbox on the control with the given collection of objects

RefreshHeader ( ) : void

Forces a repainting of the header. Called after settings have changed.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
ButtonMaximumClick ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ListBoxObjectsSelectedIndexChanged ( object sender, EventArgs e ) : void
PictureBoxHeaderDoubleClick ( object sender, EventArgs e ) : void
PictureBoxHeaderResize ( object sender, EventArgs e ) : void

Method Details

BeginUpdate() public méthode

Maintains performance while items are added to the control's listbox one at a time by preventing painting until EndUpdate() is called.
public BeginUpdate ( ) : void
Résultat void

DatabaseObjectListBox() public méthode

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

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

EndUpdate() public méthode

Resumes painting of the control's listbox after painting is suspended from calling BeginUpdate().
public EndUpdate ( ) : void
Résultat void

GetItemRectangle() public méthode

Returns the bounding rectangle for an item in the control's listbox
public GetItemRectangle ( int index ) : Rectangle
index int Index of the item in the listbox to get the rectangle for
Résultat System.Drawing.Rectangle

PopulateList() public méthode

Clears and populates the listbox on the control with the given collection of objects
public PopulateList ( List objectList ) : void
objectList List Collection of items
Résultat void

RefreshHeader() public méthode

Forces a repainting of the header. Called after settings have changed.
public RefreshHeader ( ) : void
Résultat void