C# Class Thinktecture.Tools.Web.Services.WsdlWizard.SelectHeaderDialog

Represents the user interface handler for SelectHeaderDialog form.
Inheritance: System.Windows.Forms.Form
Mostra file Open project: WSCF/WSCF Class Usage Examples

Public Methods

Method Description
SelectHeaderDialog ( SchemaElements headerSchemas, SchemaElement &selectedHeader ) : System

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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
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.

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

SelectHeaderDialog() public method

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.
public SelectHeaderDialog ( SchemaElements headerSchemas, SchemaElement &selectedHeader ) : System
headerSchemas Thinktecture.Tools.Web.Services.ServiceDescription.SchemaElements Reference to an instance of class.
selectedHeader Thinktecture.Tools.Web.Services.ServiceDescription.SchemaElement Reference to an instance of class.
return System