Метод | Описание | |
---|---|---|
SelectHeaderDialog ( |
Initializes a new instance of SelectHeaderDialog class. The headerSchemas parameter contains the header schemas available for the wizard. This collection is used to fill the cbHeaderMessage combo box later. selectedHeader parameter is used to return the selected header value from the dialog box to the caller. |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Метод | Описание | |
---|---|---|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
SelectHeaderDialog_Closing ( object sender, CancelEventArgs e ) : void |
Performs the actions when the dialog box is closing. This method checks whether the header selection is cancelled or not. If it's cancelled then this method will set the returned SchemaElement's ElementName and ElementNamespace to null. |
|
SelectHeaderDialog_Load ( object sender, System e ) : void |
Performs the actions before loading the dialog box. This method fills the cbHeaderMessage combo box with available header schemas. Also this method sets the first item on the cbHeaderMessage combo box as the selected header. |
|
btnCancel_Click ( object sender, System e ) : void |
Performs the actions when the Cancel button is clicked. This method indicates that the header selection operation is canceled and closes the form. |
|
btnOK_Click ( object sender, System e ) : void |
Performs the actions when the OK button is clicked. This method indicates that the header selection operation is OK and closes the form. |
|
cbHeaderMessage_SelectedIndexChanged ( object sender, System e ) : void |
Performs the actions when the selected index changes on the cbHeaderMessage combo box. This method updates the selected header to the newly selected item on the cbHeaderMessage combo box. |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public SelectHeaderDialog ( |
||
headerSchemas | Reference to an instance of |
|
selectedHeader | Reference to an instance of |
|
Результат | System |