C# Class ARCed.Controls.CheckGroupBox

Afficher le fichier Open project: borisblizzard/arcreator

Private Properties

Свойство Type Description
InitializeComponent void
buttonAll_Click void
buttonNone_Click void
checkedList_ItemCheck void

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

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

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

CheckAll() public méthode

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

CheckGroupBox() public méthode

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

CheckGroupBox() public méthode

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

GetItemChecked() public méthode

Gets the state of a checkbox
public GetItemChecked ( int index ) : bool
index int Index of the checkbox
Résultat bool

SetItemChecked() public méthode

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