C# Class Alsing.Design.CollectionEditorGui

Inheritance: System.Windows.Forms.UserControl
Show file Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
btnAdd System.Windows.Forms.Button
btnCancel System.Windows.Forms.Button
btnDown System.Windows.Forms.Button
btnDropdown System.Windows.Forms.Button
btnOK System.Windows.Forms.Button
btnRemove System.Windows.Forms.Button
btnUp System.Windows.Forms.Button
lblMembers System.Windows.Forms.Label
lblProperties System.Windows.Forms.Label
lstMembers System.Windows.Forms.ListBox
pnlMain System.Windows.Forms.Panel
pnlMembers System.Windows.Forms.Panel
pygProperties System.Windows.Forms.PropertyGrid

Public Methods

Method Description
AddObject ( object o ) : void
Bind ( ) : void
CollectionEditorGui ( ) : System
RemoveObject ( object o ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
EnableRemove ( ) : void
GetBgBrush ( bool Selected ) : SolidBrush
GetDisplayText ( object Item ) : string
GetFgBrush ( bool Selected ) : SolidBrush
InitializeComponent ( ) : void

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

SelectObject ( ) : void
btnDown_Click ( object sender, EventArgs e ) : void
btnUp_Click ( object sender, EventArgs e ) : void
lstMembers_DrawItem ( object sender, DrawItemEventArgs e ) : void
lstMembers_SelectedIndexChanged ( object sender, EventArgs e ) : void

Method Details

AddObject() public method

public AddObject ( object o ) : void
o object
return void

Bind() public method

public Bind ( ) : void
return void

CollectionEditorGui() public method

public CollectionEditorGui ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

RemoveObject() public method

public RemoveObject ( object o ) : void
o object
return void

Property Details

btnAdd public property

public Button,System.Windows.Forms btnAdd
return System.Windows.Forms.Button

btnCancel public property

public Button,System.Windows.Forms btnCancel
return System.Windows.Forms.Button

btnDown public property

public Button,System.Windows.Forms btnDown
return System.Windows.Forms.Button

btnDropdown public property

public Button,System.Windows.Forms btnDropdown
return System.Windows.Forms.Button

btnOK public property

public Button,System.Windows.Forms btnOK
return System.Windows.Forms.Button

btnRemove public property

public Button,System.Windows.Forms btnRemove
return System.Windows.Forms.Button

btnUp public property

public Button,System.Windows.Forms btnUp
return System.Windows.Forms.Button

lblMembers public property

public Label,System.Windows.Forms lblMembers
return System.Windows.Forms.Label

lblProperties public property

public Label,System.Windows.Forms lblProperties
return System.Windows.Forms.Label

lstMembers public property

public ListBox,System.Windows.Forms lstMembers
return System.Windows.Forms.ListBox

pnlMain public property

public Panel,System.Windows.Forms pnlMain
return System.Windows.Forms.Panel

pnlMembers public property

public Panel,System.Windows.Forms pnlMembers
return System.Windows.Forms.Panel

pygProperties public property

public PropertyGrid,System.Windows.Forms pygProperties
return System.Windows.Forms.PropertyGrid