C# Class ARCed.Controls.CheckGroupBox

Exibir arquivo Open project: borisblizzard/arcreator

Private Properties

Property Type Description
InitializeComponent void
buttonAll_Click void
buttonNone_Click void
checkedList_ItemCheck void

Public Methods

Method Description
BeginUpdate ( ) : void

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

CheckAll ( bool checkState ) : void

Sets all checkboxes to the given state

CheckGroupBox ( ) : System

Default constructor

CheckGroupBox ( IContainer container ) : System

Constructor with arguments

EndUpdate ( ) : void

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

GetItemChecked ( int index ) : bool

Gets the state of a checkbox

SetItemChecked ( int index, bool checkState ) : void

Sets a checkbox to the given state

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

buttonAll_Click ( object sender, EventArgs e ) : void
buttonNone_Click ( object sender, EventArgs e ) : void
checkedList_ItemCheck ( object sender, ItemCheckEventArgs e ) : void

Method Details

BeginUpdate() public method

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

CheckAll() public method

Sets all checkboxes to the given state
public CheckAll ( bool checkState ) : void
checkState bool State to set the checkboxes
return void

CheckGroupBox() public method

Default constructor
public CheckGroupBox ( ) : System
return System

CheckGroupBox() public method

Constructor with arguments
public CheckGroupBox ( IContainer container ) : System
container IContainer Container for components
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 CheckedListBox after painting is suspended from calling BeginUpdate().
public EndUpdate ( ) : void
return void

GetItemChecked() public method

Gets the state of a checkbox
public GetItemChecked ( int index ) : bool
index int Index of the checkbox
return bool

SetItemChecked() public method

Sets a checkbox to the given state
public SetItemChecked ( int index, bool checkState ) : void
index int Index of the checkbox
checkState bool State to set checkbox
return void