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

InitializeComponent() protected method

protected InitializeComponent ( ) : void
return void
        protected override void InitializeComponent()
        {
            base.InitializeComponent();
            this._btnOptionYes = new System.Windows.Forms.Button();
            this._btnOptionNo = new System.Windows.Forms.Button();
            this._floorNameTextBox = new KBS2.Controls.BorderedTextBox();
            this._buildingTextBox = new KBS2.Controls.BorderedTextBox();
            this._lblWarning = new System.Windows.Forms.Label();
            this._floorLabel = new System.Windows.Forms.Label();
            this._buildingLabel = new System.Windows.Forms.Label();
            //
            // _btnOptionYes
            //
            this._btnOptionYes.BackColor = System.Drawing.Color.DimGray;
            this._btnOptionYes.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Gray;
            this._btnOptionYes.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this._btnOptionYes.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold);
            this._btnOptionYes.ForeColor = System.Drawing.Color.White;
            this._btnOptionYes.Location = new System.Drawing.Point(394, 158);
            this._btnOptionYes.Margin = new System.Windows.Forms.Padding(5);
            this._btnOptionYes.Name = "_btnOptionYes";
            this._btnOptionYes.Size = new System.Drawing.Size(100, 37);
            this._btnOptionYes.TabIndex = 3;
            this._btnOptionYes.Text = "Ja";
            this._btnOptionYes.UseVisualStyleBackColor = false;
            this._btnOptionYes.Click += new System.EventHandler(this.BtnOptionYes_Click);
            //
            // _btnOptionNo
            //
            this._btnOptionNo.BackColor = System.Drawing.Color.DimGray;
            this._btnOptionNo.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Gray;
            this._btnOptionNo.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this._btnOptionNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold);
            this._btnOptionNo.ForeColor = System.Drawing.Color.White;
            this._btnOptionNo.Location = new System.Drawing.Point(5, 158);
            this._btnOptionNo.Margin = new System.Windows.Forms.Padding(5);
            this._btnOptionNo.Name = "_btnOptionNo";
            this._btnOptionNo.Size = new System.Drawing.Size(100, 37);
            this._btnOptionNo.TabIndex = 2;
            this._btnOptionNo.Text = "Nee";
            this._btnOptionNo.UseVisualStyleBackColor = false;
            this._btnOptionNo.Click += new System.EventHandler(this.BtnOptionNo_Click);
            //
            // _floorNameTextBox
            //
            this._floorNameTextBox.BackColor = System.Drawing.Color.Black;
            this._floorNameTextBox.DefaultBorderColor = System.Drawing.Color.Black;
            this._floorNameTextBox.Enabled = false;
            this._floorNameTextBox.FocusedBorderColor = System.Drawing.Color.Blue;
            this._floorNameTextBox.Location = new System.Drawing.Point(176, 109);
            this._floorNameTextBox.Name = "_floorNameTextBox";
            this._floorNameTextBox.Padding = new System.Windows.Forms.Padding(1);
            this._floorNameTextBox.Size = new System.Drawing.Size(166, 20);
            this._floorNameTextBox.TabIndex = 9;
            this._floorNameTextBox.Text = DocumentHandler.GetInstance().CurrentFloor.GetName();
            this._floorNameTextBox.Paint += new System.Windows.Forms.PaintEventHandler(this.TextBox_Paint);
            //
            // _buildingTextBox
            //
            this._buildingTextBox.BackColor = System.Drawing.Color.Black;
            this._buildingTextBox.DefaultBorderColor = System.Drawing.Color.Black;
            this._buildingTextBox.Enabled = false;
            this._buildingTextBox.FocusedBorderColor = System.Drawing.Color.Blue;
            this._buildingTextBox.Location = new System.Drawing.Point(176, 83);
            this._buildingTextBox.Name = "_buildingTextBox";
            this._buildingTextBox.Padding = new System.Windows.Forms.Padding(1);
            this._buildingTextBox.Size = new System.Drawing.Size(166, 20);
            this._buildingTextBox.TabIndex = 10;
            this._buildingTextBox.Text = DocumentHandler.GetInstance().CurrentBuilding.Name;
            this._buildingTextBox.Paint += new System.Windows.Forms.PaintEventHandler(this.TextBox_Paint);
            //
            // _lblWarning
            //
            this._lblWarning.AutoSize = true;
            this._lblWarning.BackColor = System.Drawing.Color.White;
            this._lblWarning.ForeColor = System.Drawing.Color.Black;
            this._lblWarning.Location = new System.Drawing.Point(173, 40);
            this._lblWarning.Name = "_lblWarning";
            this._lblWarning.Size = new System.Drawing.Size(175, 13);
            this._lblWarning.TabIndex = 8;
            this._lblWarning.Text = "Wilt u deze verdieping verwijderen?";
            //
            // _floorLabel
            //
            this._floorLabel.AutoSize = true;
            this._floorLabel.BackColor = System.Drawing.Color.White;
            this._floorLabel.ForeColor = System.Drawing.Color.Black;
            this._floorLabel.Location = new System.Drawing.Point(113, 109);
            this._floorLabel.Name = "_floorLabel";
            this._floorLabel.Size = new System.Drawing.Size(57, 13);
            this._floorLabel.TabIndex = 0;
            this._floorLabel.Text = "Verdieping";
            //
            // _buildingLabel
            //
            this._buildingLabel.AutoSize = true;
            this._buildingLabel.BackColor = System.Drawing.Color.White;
            this._buildingLabel.ForeColor = System.Drawing.Color.Black;
            this._buildingLabel.Location = new System.Drawing.Point(123, 83);
            this._buildingLabel.Name = "_buildingLabel";
            this._buildingLabel.Size = new System.Drawing.Size(47, 13);
            this._buildingLabel.TabIndex = 0;
            this._buildingLabel.Text = "Gebouw";
            //
            // DeleteFloor
            //
            this._panel.Controls.Add(this._btnOptionYes);
            this._panel.Controls.Add(this._btnOptionNo);
            this._panel.Controls.Add(this._floorNameTextBox);
            this._panel.Controls.Add(this._buildingTextBox);
            this._panel.Controls.Add(this._lblWarning);
            this._panel.Controls.Add(this._floorLabel);
            this._panel.Controls.Add(this._buildingLabel);
            this.build();
        }