Example #1
0
        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);
            }
        }
Example #2
0
 public bool GetRadioState(WizardButton button)
 {
     return(this.radioButtonState[button.ToString()]);
 }
Example #3
0
 public void SetButtonState(WizardButton button, bool enabled)
 {
     this.buttonState[button.ToString()] = enabled;
 }
Example #4
0
        /// <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);
        }