C# Class ARCed.Controls.DatabaseObjectListBox

Inheritance: System.Windows.Forms.GroupBox
Mostra file Open project: borisblizzard/arcreator

Private Properties

Property Type Description
ButtonMaximumClick void
InitializeComponent void
ListBoxObjectsSelectedIndexChanged void
PictureBoxHeaderDoubleClick void
PictureBoxHeaderResize void

Public Methods

Method 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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method 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 method

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
return void

DatabaseObjectListBox() public method

Default constructor
public DatabaseObjectListBox ( ) : System
return System

Dispose() protected method

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

EndUpdate() public method

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

GetItemRectangle() public method

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
return System.Drawing.Rectangle

PopulateList() public method

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

RefreshHeader() public method

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