Esempio n. 1
0
        protected override void CreateChildControls()
        {
            this.txtFileName = new ValidatingTextBox()
            {
                Width    = 300,
                Required = true
            };

            this.txtProductId = new ValidatingTextBox()
            {
                Width    = 300,
                Required = false
            };

            this.txtVersion = new ValidatingTextBox()
            {
                Width    = 300,
                Required = true,
                Text     = "%RELNO%.%BLDNO%"
            };

            CUtil.Add(this,
                      new FormFieldGroup(
                          "Source File",
                          "Specify the name of the WiX source file containing a Product element.",
                          false,
                          new StandardFormField(
                              string.Empty,
                              this.txtFileName
                              )
                          ),
                      new FormFieldGroup(
                          "Product Id",
                          "Provide the Product Id Guid if desired. To autogenerate a Product Id, leave this field blank.",
                          false,
                          new StandardFormField(
                              string.Empty,
                              this.txtProductId
                              )
                          ),
                      new FormFieldGroup(
                          "Product Version",
                          "Specify the Product Version number.",
                          false,
                          new StandardFormField(
                              string.Empty,
                              this.txtVersion
                              )
                          )
                      );
        }
 protected override void OnInit(EventArgs e)
 {
     CUtil.Add(this,
               new FormFieldGroup("Server", "The URL of the Artifactory server.", false,
                                  new StandardFormField("Server:", txtServer)
                                  ),
               new FormFieldGroup("Authentication", "Authentication Information used for all Artifactory actions unless overridden in the action.",
                                  true,
                                  new StandardFormField("Username:"******"Password:", txtPassword)
                                  )
               );
     base.OnInit(e);
 }
Esempio n. 3
0
        protected override void CreateChildControls()
        {
            base.CreateChildControls();

            this.txtFogBugzApiUrl = new ValidatingTextBox
            {
                Width    = 300,
                Required = true
            };

            this.txtUserEmail = new ValidatingTextBox
            {
                Width    = 300,
                Required = true
            };

            this.txtPassword = new PasswordTextBox
            {
                Width = 270
            };

            CUtil.Add(this,
                      new FormFieldGroup(
                          "FogBugz URL",
                          "Provide the URL of the FogBugz API. For example: http://fogbugz/api.xml",
                          false,
                          new StandardFormField(
                              "FogBugz API URL:",
                              this.txtFogBugzApiUrl
                              )
                          ),
                      new FormFieldGroup(
                          "FogBugz Credentials",
                          "Specify the e-mail address and password of the account which BuildMaster will use to connect to FogBugz.",
                          false,
                          new StandardFormField(
                              "User E-mail Address:",
                              this.txtUserEmail
                              ),
                          new StandardFormField(
                              "Password:",
                              this.txtPassword
                              )
                          )
                      );
        }
Esempio n. 4
0
        protected override void CreateChildControls()
        {
            this.txtFileName = new ValidatingTextBox()
            {
                Width    = 300,
                Required = true
            };

            CUtil.Add(this,
                      new FormFieldGroup(
                          "Fragment File",
                          "The name of the WiX fragment file (.wxs) to generate.",
                          false,
                          new StandardFormField(
                              string.Empty,
                              this.txtFileName
                              )
                          )
                      );
        }
Esempio n. 5
0
        protected override void CreateChildControls()
        {
            base.CreateChildControls();

            this.txtSource = new TextBox
            {
                Width = 300
            };

            this.txtPackagesConfig = new ValidatingTextBox
            {
                Required = true,
                Width    = 300,
                Text     = "packages.config"
            };

            CUtil.Add(this,
                      new FormFieldGroup(
                          "Package Source",
                          @"Provide the URL of the package source. If not specified, all sources in %AppData%\NuGet\NuGet.config are used.",
                          false,
                          new StandardFormField(
                              "Package Source (optional):",
                              this.txtSource
                              )
                          ),
                      new FormFieldGroup(
                          "Packages",
                          "Provide the location of the packages.config file.",
                          true,
                          new StandardFormField(
                              "Location of packages.config:",
                              this.txtPackagesConfig
                              )
                          )
                      );
        }