메소드 | 설명 | |
---|---|---|
SelectForm ( IList |
A simple constructor that initializes the object with the given values.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
메소드 | 설명 | |
---|---|---|
AddOption ( SelectOption p_sopOption ) : void |
Adds an option to the list of options.
|
|
AdjustListViewColumnWidth ( ) : void |
Sizes the column of the list view of options to fill the control.
|
|
HidePanels ( ) : void |
Hides the description and image panels if they are empty.
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
LoadOptions ( IList |
Loads the options into the form.
|
|
butOK_Click ( object sender, EventArgs e ) : void |
Handles the Control.Click event of the OK button. This closes the form. |
|
lvwOptions_SelectedIndexChanged ( object sender, EventArgs e ) : void |
Handles the ListView.SelectedIndexChanged event of the list view of options. This changes the displayed description to that of the selected option. |
|
lvwOptions_SizeChanged ( object sender, EventArgs e ) : void |
Handles the Control.SizeChanged event of the list view of options. This ensures that the column of the list view of options fills the control. |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
리턴 | void |
public SelectForm ( IList |
||
p_lstOptions | IList |
The list of option to display in the form. |
p_strTitle | string | The title of the form. |
p_booMultiSelect | bool | Whether to allow the selection of multiple options. |
리턴 | System |