public void SetRadioState(WizardButton button, bool check) { this.radioButtonState[button.ToString()] = check; if (button == WizardButton.ChooseExecutable && check) { this.wizardController.ChooseExecutableOptions(ActionDirection.FromView); } if (button == WizardButton.ChooseTraceFile && check) { this.wizardController.ChooseTraceFileOptions(ActionDirection.FromView); } if (button == WizardButton.ChooseWcfClientTrace && check) { this.wizardController.ChooseWcfClientTraceFile(ActionDirection.FromView); } if (button == WizardButton.ChooseWcfServerTrace && check) { this.wizardController.ChooseWcfServerTraceFile(ActionDirection.FromView); } if (button == WizardButton.ChooseFiddlerTextTrace && check) { this.wizardController.ChooseFiddlerTextTraceFile(ActionDirection.FromView); } }
public bool GetRadioState(WizardButton button) { return(this.radioButtonState[button.ToString()]); }
public void SetButtonState(WizardButton button, bool enabled) { this.buttonState[button.ToString()] = enabled; }
/// <summary> /// Gets the tag for a button. /// </summary> /// <param name="button">The button to get the tag for.</param> /// <returns>The tag for the button.</returns> private static string GetButtonTag(WizardButton button) { string tag = button.ToString(); return(tag); }