C# Class SIPSorcery.SimpleWizardOutRuleControl

Inheritance: System.Windows.Controls.UserControl
Show file Open project: sipsorcery/sipsorcery

Public Methods

Method Description
SetErrorMessage ( string errorMessage ) : void
SetRuleToUpdate ( SimpleWizardRule rule ) : void

Sets the UI fields based on the supplied rule. If the rule is null the fields are reset ready for a new rule to be added.

SetStatusMessage ( string status, bool disableInput ) : void
SimpleWizardOutRuleControl ( ) : System

Private Methods

Method Description
Cancel ( object sender, System e ) : void
CloseErrorMessage ( object sender, System e ) : void
RuleCommandType_SelectionChanged ( object sender, System e ) : void
SetCommandParameterFieldsForRule ( SimpleWizardRule rule ) : void

Sets the command parameter fields based on the specified rule. The command parameters mean different things and apply to different controls dependent on the rule's command type.

SetRuleCommandParameters ( SimpleWizardRule rule ) : string

Sets the command parameter properties on a rule based on the rule's command type. The rule's command type dictates which input fields will eb used for each command parameter.

Submit ( object sender, System e ) : void
Validate ( SimpleWizardRule rule ) : string

Method Details

SetErrorMessage() public method

public SetErrorMessage ( string errorMessage ) : void
errorMessage string
return void

SetRuleToUpdate() public method

Sets the UI fields based on the supplied rule. If the rule is null the fields are reset ready for a new rule to be added.
public SetRuleToUpdate ( SimpleWizardRule rule ) : void
rule SIPSorcery.Entities.SimpleWizardRule
return void

SetStatusMessage() public method

public SetStatusMessage ( string status, bool disableInput ) : void
status string
disableInput bool
return void

SimpleWizardOutRuleControl() public method

public SimpleWizardOutRuleControl ( ) : System
return System