Click here to Skip to main content
15,886,664 members
Articles / Programming Languages / XML

Generate Automated Builds for Source Code from Multiple Branches using Team Foundation Server and Team Builds

Rate me:
Please Sign up or sign in to vote.
4.83/5 (29 votes)
14 Mar 2010CPOL3 min read 64.6K   537   50  
Generate automated builds for source code from multiple branches using Team Foundation Server and Team Builds
namespace Suresh.TeamFoundation.Addins
{
    partial class SprintSetupForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.lblSrcFldr = new System.Windows.Forms.Label();
            this.lblSpName = new System.Windows.Forms.Label();
            this.txtSprintName = new System.Windows.Forms.TextBox();
            this.lblSrcFolder = new System.Windows.Forms.Label();
            this.trViewSCExplorer = new System.Windows.Forms.TreeView();
            this.lblTargetFldr = new System.Windows.Forms.Label();
            this.lblNote = new System.Windows.Forms.Label();
            this.btnCreateSprint = new System.Windows.Forms.Button();
            this.blnCancel = new System.Windows.Forms.Button();
            this.statusStrip1 = new System.Windows.Forms.StatusStrip();
            this.toolStripProgressBarOperations = new System.Windows.Forms.ToolStripProgressBar();
            this.label1 = new System.Windows.Forms.Label();
            this.lblTargetFolder = new System.Windows.Forms.Label();
            this.cmbBoxTargetProject = new System.Windows.Forms.ComboBox();
            this.lblTargetProject = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.cmbBoxBuildAgents = new System.Windows.Forms.ComboBox();
            this.statusStrip1.SuspendLayout();
            this.SuspendLayout();
            // 
            // lblSrcFldr
            // 
            this.lblSrcFldr.AutoSize = true;
            this.lblSrcFldr.Location = new System.Drawing.Point(27, 32);
            this.lblSrcFldr.Name = "lblSrcFldr";
            this.lblSrcFldr.Size = new System.Drawing.Size(73, 13);
            this.lblSrcFldr.TabIndex = 0;
            this.lblSrcFldr.Text = "Source Folder";
            // 
            // lblSpName
            // 
            this.lblSpName.AutoSize = true;
            this.lblSpName.Location = new System.Drawing.Point(27, 58);
            this.lblSpName.Name = "lblSpName";
            this.lblSpName.Size = new System.Drawing.Size(65, 13);
            this.lblSpName.TabIndex = 1;
            this.lblSpName.Text = "Sprint Name";
            // 
            // txtSprintName
            // 
            this.txtSprintName.Location = new System.Drawing.Point(116, 55);
            this.txtSprintName.Name = "txtSprintName";
            this.txtSprintName.Size = new System.Drawing.Size(100, 20);
            this.txtSprintName.TabIndex = 2;
            this.txtSprintName.TextChanged += new System.EventHandler(this.txtSprintName_TextChanged);
            // 
            // lblSrcFolder
            // 
            this.lblSrcFolder.AutoSize = true;
            this.lblSrcFolder.Location = new System.Drawing.Point(120, 32);
            this.lblSrcFolder.Name = "lblSrcFolder";
            this.lblSrcFolder.Size = new System.Drawing.Size(0, 13);
            this.lblSrcFolder.TabIndex = 3;
            // 
            // trViewSCExplorer
            // 
            this.trViewSCExplorer.Location = new System.Drawing.Point(332, 142);
            this.trViewSCExplorer.Name = "trViewSCExplorer";
            this.trViewSCExplorer.Size = new System.Drawing.Size(229, 197);
            this.trViewSCExplorer.TabIndex = 4;
            this.trViewSCExplorer.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.trViewSCExplorer_BeforeExpand);
            this.trViewSCExplorer.BeforeCollapse += new System.Windows.Forms.TreeViewCancelEventHandler(this.trViewSCExplorer_BeforeCollapse);
            this.trViewSCExplorer.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.trViewSCExplorer_AfterSelect);
            this.trViewSCExplorer.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.trViewSCExplorer_AfterExpand);
            // 
            // lblTargetFldr
            // 
            this.lblTargetFldr.AutoSize = true;
            this.lblTargetFldr.Location = new System.Drawing.Point(329, 124);
            this.lblTargetFldr.Name = "lblTargetFldr";
            this.lblTargetFldr.Size = new System.Drawing.Size(109, 13);
            this.lblTargetFldr.TabIndex = 5;
            this.lblTargetFldr.Text = "Select a Target folder";
            // 
            // lblNote
            // 
            this.lblNote.AutoEllipsis = true;
            this.lblNote.AutoSize = true;
            this.lblNote.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblNote.Location = new System.Drawing.Point(25, 287);
            this.lblNote.Name = "lblNote";
            this.lblNote.Size = new System.Drawing.Size(238, 52);
            this.lblNote.TabIndex = 6;
            this.lblNote.Text = "Note: The source will be copied to the target \r\nfolder, under a folder with the n" +
                "ame same as the \r\nsprint name. New build definitions will be created \r\nsupportin" +
                "g this sprint.";
            // 
            // btnCreateSprint
            // 
            this.btnCreateSprint.Location = new System.Drawing.Point(289, 369);
            this.btnCreateSprint.Name = "btnCreateSprint";
            this.btnCreateSprint.Size = new System.Drawing.Size(119, 23);
            this.btnCreateSprint.TabIndex = 8;
            this.btnCreateSprint.Text = "Branch";
            this.btnCreateSprint.UseVisualStyleBackColor = true;
            this.btnCreateSprint.Click += new System.EventHandler(this.btnCreateSprint_Click);
            // 
            // blnCancel
            // 
            this.blnCancel.Location = new System.Drawing.Point(158, 369);
            this.blnCancel.Name = "blnCancel";
            this.blnCancel.Size = new System.Drawing.Size(107, 23);
            this.blnCancel.TabIndex = 9;
            this.blnCancel.Text = "Cancel";
            this.blnCancel.UseVisualStyleBackColor = true;
            this.blnCancel.Click += new System.EventHandler(this.blnCancel_Click);
            // 
            // statusStrip1
            // 
            this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripProgressBarOperations});
            this.statusStrip1.Location = new System.Drawing.Point(0, 545);
            this.statusStrip1.Name = "statusStrip1";
            this.statusStrip1.Size = new System.Drawing.Size(614, 22);
            this.statusStrip1.TabIndex = 10;
            this.statusStrip1.Text = "statusStrip1";
            this.statusStrip1.Visible = false;
            // 
            // toolStripProgressBarOperations
            // 
            this.toolStripProgressBarOperations.Name = "toolStripProgressBarOperations";
            this.toolStripProgressBarOperations.Size = new System.Drawing.Size(100, 16);
            this.toolStripProgressBarOperations.Style = System.Windows.Forms.ProgressBarStyle.Marquee;
            this.toolStripProgressBarOperations.Visible = false;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(27, 88);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(67, 13);
            this.label1.TabIndex = 11;
            this.label1.Text = "Target folder";
            // 
            // lblTargetFolder
            // 
            this.lblTargetFolder.AutoSize = true;
            this.lblTargetFolder.Location = new System.Drawing.Point(122, 88);
            this.lblTargetFolder.Name = "lblTargetFolder";
            this.lblTargetFolder.Size = new System.Drawing.Size(0, 13);
            this.lblTargetFolder.TabIndex = 12;
            // 
            // cmbBoxTargetProject
            // 
            this.cmbBoxTargetProject.FormattingEnabled = true;
            this.cmbBoxTargetProject.Location = new System.Drawing.Point(439, 29);
            this.cmbBoxTargetProject.Name = "cmbBoxTargetProject";
            this.cmbBoxTargetProject.Size = new System.Drawing.Size(122, 21);
            this.cmbBoxTargetProject.TabIndex = 13;
            this.cmbBoxTargetProject.SelectedIndexChanged += new System.EventHandler(this.cmbBoxTargetProject_SelectedIndexChanged);
            // 
            // lblTargetProject
            // 
            this.lblTargetProject.AutoSize = true;
            this.lblTargetProject.Location = new System.Drawing.Point(329, 37);
            this.lblTargetProject.Name = "lblTargetProject";
            this.lblTargetProject.Size = new System.Drawing.Size(104, 13);
            this.lblTargetProject.TabIndex = 14;
            this.lblTargetProject.Text = "Target Team Project";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(329, 79);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(98, 13);
            this.label2.TabIndex = 15;
            this.label2.Text = "Default Build Agent";
            // 
            // cmbBoxBuildAgents
            // 
            this.cmbBoxBuildAgents.FormattingEnabled = true;
            this.cmbBoxBuildAgents.Location = new System.Drawing.Point(439, 71);
            this.cmbBoxBuildAgents.Name = "cmbBoxBuildAgents";
            this.cmbBoxBuildAgents.Size = new System.Drawing.Size(122, 21);
            this.cmbBoxBuildAgents.TabIndex = 16;
            this.cmbBoxBuildAgents.SelectedIndexChanged += new System.EventHandler(this.cmbBoxBuildAgents_SelectedIndexChanged);
            // 
            // SprintSetupForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.SystemColors.GradientActiveCaption;
            this.ClientSize = new System.Drawing.Size(598, 411);
            this.Controls.Add(this.cmbBoxBuildAgents);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.lblTargetProject);
            this.Controls.Add(this.cmbBoxTargetProject);
            this.Controls.Add(this.lblTargetFolder);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.statusStrip1);
            this.Controls.Add(this.blnCancel);
            this.Controls.Add(this.btnCreateSprint);
            this.Controls.Add(this.lblNote);
            this.Controls.Add(this.lblTargetFldr);
            this.Controls.Add(this.trViewSCExplorer);
            this.Controls.Add(this.lblSrcFolder);
            this.Controls.Add(this.txtSprintName);
            this.Controls.Add(this.lblSpName);
            this.Controls.Add(this.lblSrcFldr);
            this.Name = "SprintSetupForm";
            this.Text = "Branch - Branch source along with its build environment";
            this.Load += new System.EventHandler(this.SprintSetupForm_Load);
            this.statusStrip1.ResumeLayout(false);
            this.statusStrip1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Label lblSrcFldr;
        private System.Windows.Forms.Label lblSpName;
        private System.Windows.Forms.TextBox txtSprintName;
        private System.Windows.Forms.Label lblSrcFolder;
        private System.Windows.Forms.TreeView trViewSCExplorer;
        private System.Windows.Forms.Label lblTargetFldr;
        private System.Windows.Forms.Label lblNote;
        private System.Windows.Forms.Button btnCreateSprint;
        private System.Windows.Forms.Button blnCancel;
        private System.Windows.Forms.StatusStrip statusStrip1;
        private System.Windows.Forms.ToolStripProgressBar toolStripProgressBarOperations;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label lblTargetFolder;
        private System.Windows.Forms.ComboBox cmbBoxTargetProject;
        private System.Windows.Forms.Label lblTargetProject;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.ComboBox cmbBoxBuildAgents;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer PROTEANS SOFTWARE SOLUTIONS LTD.(www.proteans.com)
India India
I am currently working in an outsourced software product development company, PROTEANS SOFTWARE SOLUTIONS LTD.(www.proteans.com) as a Module Lead.

Comments and Discussions