Inheritance: System.Windows.Forms.Form
Example #1
0
        public void RunStarted(object automationObject, Dictionary <string, string> replacementsDictionary, WizardRunKind runKind, object[] customParams)
        {
            try
            {
                // Display a form to the user. The form collects
                // input for the custom message.
                inputForm = new ServerSetupForm();
                inputForm.ShowDialog();

                ProxyName = inputForm.ProxyProjectName;

                // Add custom parameters.
                replacementsDictionary.Add("$proxyname$", ProxyName);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
        }
    public void RunStarted(object automationObject, Dictionary<string, string> replacementsDictionary, WizardRunKind runKind, object[] customParams)
    {
      try
      {
        // Display a form to the user. The form collects 
        // input for the custom message.
        inputForm = new ServerSetupForm();
        inputForm.ShowDialog();

        ProxyName = inputForm.ProxyProjectName;

        // Add custom parameters.
        replacementsDictionary.Add("$proxyname$", ProxyName);
      }
      catch (Exception ex)
      {
        MessageBox.Show(ex.ToString());
      }
    }