C# Class SIPSorcery.SimpleWizardOutRuleControl

Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: sipsorcery/sipsorcery

Méthodes publiques

Méthode 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

Méthode 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 méthode

public SetErrorMessage ( string errorMessage ) : void
errorMessage string
Résultat void

SetRuleToUpdate() public méthode

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
Résultat void

SetStatusMessage() public méthode

public SetStatusMessage ( string status, bool disableInput ) : void
status string
disableInput bool
Résultat void

SimpleWizardOutRuleControl() public méthode

public SimpleWizardOutRuleControl ( ) : System
Résultat System