KBS2.Controls.AddLocationDialog.InitializeComponent C# (CSharp) Method

InitializeComponent() protected method

protected InitializeComponent ( ) : void
return void
        protected override void InitializeComponent()
        {
            base.InitializeComponent();
            this.createLocation = new System.Windows.Forms.Button();
            this.closeDialog = new System.Windows.Forms.Button();
            this.locationLabel = new System.Windows.Forms.Label();
            this.cityLabel = new System.Windows.Forms.Label();
            this.locationInputLabel = new System.Windows.Forms.Label();
            this.cityNameTextBox = new KBS2.Controls.BorderedTextBox();
            this.locationTextBox = new KBS2.Controls.BorderedTextBox();
            //
            // createLocation
            //
            this.createLocation.BackColor = System.Drawing.Color.DimGray;
            this.createLocation.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Gray;
            this.createLocation.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.createLocation.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold);
            this.createLocation.ForeColor = System.Drawing.Color.White;
            this.createLocation.Location = new System.Drawing.Point(384, 158);
            this.createLocation.Margin = new System.Windows.Forms.Padding(5);
            this.createLocation.Name = "createLocation";
            this.createLocation.Size = new System.Drawing.Size(111, 37);
            this.createLocation.TabIndex = 3;
            this.createLocation.Text = "Toevoegen";
            this.createLocation.UseVisualStyleBackColor = false;
            this.createLocation.Click += new System.EventHandler(this.CreateLocation_Click);
            //
            // closeDialog
            //
            this.closeDialog.BackColor = System.Drawing.Color.DimGray;
            this.closeDialog.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Gray;
            this.closeDialog.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.closeDialog.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold);
            this.closeDialog.ForeColor = System.Drawing.Color.White;
            this.closeDialog.Location = new System.Drawing.Point(5, 158);
            this.closeDialog.Margin = new System.Windows.Forms.Padding(5);
            this.closeDialog.Name = "closeDialog";
            this.closeDialog.Size = new System.Drawing.Size(90, 37);
            this.closeDialog.TabIndex = 1;
            this.closeDialog.Text = "Sluiten";
            this.closeDialog.UseVisualStyleBackColor = false;
            this.closeDialog.Click += new System.EventHandler(this.CloseDialog_Click);
            //
            // locationLabel
            //
            this.locationLabel.AutoSize = true;
            this.locationLabel.BackColor = System.Drawing.Color.White;
            this.locationLabel.ForeColor = System.Drawing.Color.Black;
            this.locationLabel.Location = new System.Drawing.Point(121, 55);
            this.locationLabel.Name = "locationLabel";
            this.locationLabel.Size = new System.Drawing.Size(68, 13);
            this.locationLabel.TabIndex = 5;
            this.locationLabel.Text = "Locatienaam";
            //
            // cityLabel
            //
            this.cityLabel.AutoSize = true;
            this.cityLabel.BackColor = System.Drawing.Color.White;
            this.cityLabel.ForeColor = System.Drawing.Color.Black;
            this.cityLabel.Location = new System.Drawing.Point(127, 84);
            this.cityLabel.Name = "cityLabel";
            this.cityLabel.Size = new System.Drawing.Size(62, 13);
            this.cityLabel.TabIndex = 7;
            this.cityLabel.Text = "Plaatsnaam";
            //
            // locationInputLabel
            //
            this.locationInputLabel.Location = new System.Drawing.Point(0, 0);
            this.locationInputLabel.Name = "locationInputLabel";
            this.locationInputLabel.Size = new System.Drawing.Size(100, 23);
            this.locationInputLabel.TabIndex = 12;
            //
            // cityNameTextBox
            //
            this.cityNameTextBox.BackColor = System.Drawing.Color.Black;
            this.cityNameTextBox.DefaultBorderColor = System.Drawing.Color.Black;
            this.cityNameTextBox.Enabled = true;
            this.cityNameTextBox.FocusedBorderColor = System.Drawing.Color.Blue;
            this.cityNameTextBox.Location = new System.Drawing.Point(189, 77);
            this.cityNameTextBox.Name = "cityNameTextBox";
            this.cityNameTextBox.Padding = new System.Windows.Forms.Padding(1);
            this.cityNameTextBox.Size = new System.Drawing.Size(166, 20);
            this.cityNameTextBox.TabIndex = 9;
            this.cityNameTextBox.Paint += new System.Windows.Forms.PaintEventHandler(this.TextBox_Paint);
            //
            // locationTextBox
            //
            this.locationTextBox.BackColor = System.Drawing.Color.Black;
            this.locationTextBox.DefaultBorderColor = System.Drawing.Color.Black;
            this.locationTextBox.Enabled = true;
            this.locationTextBox.FocusedBorderColor = System.Drawing.Color.Blue;
            this.locationTextBox.Location = new System.Drawing.Point(189, 48);
            this.locationTextBox.Name = "locationTextBox";
            this.locationTextBox.Padding = new System.Windows.Forms.Padding(1);
            this.locationTextBox.Size = new System.Drawing.Size(166, 20);
            this.locationTextBox.TabIndex = 10;
            this.locationTextBox.Paint += new System.Windows.Forms.PaintEventHandler(this.TextBox_Paint);
            //
            // AddLocation
            //
            this._panel.Controls.Add(this.locationTextBox);
            this._panel.Controls.Add(this.cityNameTextBox);
            this._panel.Controls.Add(this.locationInputLabel);
            this._panel.Controls.Add(this.cityLabel);
            this._panel.Controls.Add(this.locationLabel);
            this._panel.Controls.Add(this.closeDialog);
            this._panel.Controls.Add(this.createLocation);
            this.build();
        }