C# Класс 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.
Наследование: System.Windows.Forms.ComboBox
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

CheckComboBox() публичный Метод

C'tor
public CheckComboBox ( ) : System
Результат System

CheckComboBox_DrawItem() публичный Метод

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
Результат void

CheckComboBox_SelectedIndexChanged() публичный Метод

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
Результат void