C# Class NzbSearcher.CheckComboBox

Inherits from ComboBox and handles DrawItem and SelectedIndexChanged events to create an owner drawn combo box drop-down. The contents of the dropdown are rendered using the CheckBoxRenderer class.
Inheritance: System.Windows.Forms.ComboBox
Afficher le fichier Open project: Heimiko/NzbSearcher

Méthodes publiques

Méthode Description
CheckComboBox ( ) : System

C'tor

CheckComboBox_DrawItem ( object sender, DrawItemEventArgs e ) : void

Invoked when the ComboBox has to render the drop-down items.

CheckComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void

Invoked when the selected index is changed on the dropdown. This sets the check state of the CheckComboBoxItem and fires the public event CheckStateChanged using the CheckComboBoxItem as the event sender.

Method Details

CheckComboBox() public méthode

C'tor
public CheckComboBox ( ) : System
Résultat System

CheckComboBox_DrawItem() public méthode

Invoked when the ComboBox has to render the drop-down items.
public CheckComboBox_DrawItem ( object sender, DrawItemEventArgs e ) : void
sender object
e System.Windows.Forms.DrawItemEventArgs
Résultat void

CheckComboBox_SelectedIndexChanged() public méthode

Invoked when the selected index is changed on the dropdown. This sets the check state of the CheckComboBoxItem and fires the public event CheckStateChanged using the CheckComboBoxItem as the event sender.
public CheckComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void