BTool.CommSelectForm.InitializeComponent C# (CSharp) Метод

InitializeComponent() приватный Метод

private InitializeComponent ( ) : void
Результат void
        private void InitializeComponent()
        {
            this.cbPorts = new System.Windows.Forms.ComboBox();
            this.buttonOK = new System.Windows.Forms.Button();
            this.lblPort = new System.Windows.Forms.Label();
            this.cbBaud = new System.Windows.Forms.ComboBox();
            this.lblBaud = new System.Windows.Forms.Label();
            this.cbParity = new System.Windows.Forms.ComboBox();
            this.cbStopBits = new System.Windows.Forms.ComboBox();
            this.cbDataBits = new System.Windows.Forms.ComboBox();
            this.lblParity = new System.Windows.Forms.Label();
            this.lblStopBits = new System.Windows.Forms.Label();
            this.lblDataBits = new System.Windows.Forms.Label();
            this.gbPortSettings = new System.Windows.Forms.GroupBox();
            this.lblFlow = new System.Windows.Forms.Label();
            this.cbFlow = new System.Windows.Forms.ComboBox();
            this.buttonCancel = new System.Windows.Forms.Button();
            this.gbPortSettings.SuspendLayout();
            this.SuspendLayout();
            //
            // cbPorts
            //
            this.cbPorts.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbPorts.FormattingEnabled = true;
            this.cbPorts.Location = new System.Drawing.Point(68, 16);
            this.cbPorts.Name = "cbPorts";
            this.cbPorts.Size = new System.Drawing.Size(140, 21);
            this.cbPorts.TabIndex = 0;
            //
            // buttonOK
            //
            this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.buttonOK.Location = new System.Drawing.Point(25, 204);
            this.buttonOK.Name = "buttonOK";
            this.buttonOK.Size = new System.Drawing.Size(75, 23);
            this.buttonOK.TabIndex = 1;
            this.buttonOK.Text = "OK";
            this.buttonOK.UseVisualStyleBackColor = true;
            //
            // lblPort
            //
            this.lblPort.AutoSize = true;
            this.lblPort.Location = new System.Drawing.Point(33, 19);
            this.lblPort.Name = "lblPort";
            this.lblPort.Size = new System.Drawing.Size(29, 13);
            this.lblPort.TabIndex = 2;
            this.lblPort.Text = "Port:";
            //
            // cbBaud
            //
            this.cbBaud.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbBaud.FormattingEnabled = true;
            this.cbBaud.Items.AddRange(new object[] {
            "38400",
            "57600",
            "115200"});
            this.cbBaud.Location = new System.Drawing.Point(68, 43);
            this.cbBaud.Name = "cbBaud";
            this.cbBaud.Size = new System.Drawing.Size(140, 21);
            this.cbBaud.TabIndex = 3;
            //
            // lblBaud
            //
            this.lblBaud.AutoSize = true;
            this.lblBaud.Location = new System.Drawing.Point(27, 46);
            this.lblBaud.Name = "lblBaud";
            this.lblBaud.Size = new System.Drawing.Size(35, 13);
            this.lblBaud.TabIndex = 4;
            this.lblBaud.Text = "Baud:";
            //
            // cbParity
            //
            this.cbParity.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbParity.FormattingEnabled = true;
            this.cbParity.Items.AddRange(new object[] {
            "None",
            "Odd",
            "Even",
            "Mark",
            "Space"});
            this.cbParity.Location = new System.Drawing.Point(68, 97);
            this.cbParity.Name = "cbParity";
            this.cbParity.Size = new System.Drawing.Size(140, 21);
            this.cbParity.TabIndex = 5;
            //
            // cbStopBits
            //
            this.cbStopBits.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbStopBits.FormattingEnabled = true;
            this.cbStopBits.Items.AddRange(new object[] {
            "None",
            "One",
            "Two"});
            this.cbStopBits.Location = new System.Drawing.Point(68, 124);
            this.cbStopBits.Name = "cbStopBits";
            this.cbStopBits.Size = new System.Drawing.Size(140, 21);
            this.cbStopBits.TabIndex = 6;
            //
            // cbDataBits
            //
            this.cbDataBits.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbDataBits.FormattingEnabled = true;
            this.cbDataBits.Items.AddRange(new object[] {
            "7",
            "8",
            "9"});
            this.cbDataBits.Location = new System.Drawing.Point(68, 148);
            this.cbDataBits.Name = "cbDataBits";
            this.cbDataBits.Size = new System.Drawing.Size(140, 21);
            this.cbDataBits.TabIndex = 7;
            //
            // lblParity
            //
            this.lblParity.AutoSize = true;
            this.lblParity.Location = new System.Drawing.Point(26, 100);
            this.lblParity.Name = "lblParity";
            this.lblParity.Size = new System.Drawing.Size(36, 13);
            this.lblParity.TabIndex = 8;
            this.lblParity.Text = "Parity:";
            //
            // lblStopBits
            //
            this.lblStopBits.AutoSize = true;
            this.lblStopBits.Location = new System.Drawing.Point(10, 127);
            this.lblStopBits.Name = "lblStopBits";
            this.lblStopBits.Size = new System.Drawing.Size(52, 13);
            this.lblStopBits.TabIndex = 9;
            this.lblStopBits.Text = "Stop Bits:";
            //
            // lblDataBits
            //
            this.lblDataBits.AutoSize = true;
            this.lblDataBits.Location = new System.Drawing.Point(9, 151);
            this.lblDataBits.Name = "lblDataBits";
            this.lblDataBits.Size = new System.Drawing.Size(53, 13);
            this.lblDataBits.TabIndex = 10;
            this.lblDataBits.Text = "Data Bits:";
            //
            // gbPortSettings
            //
            this.gbPortSettings.Controls.Add(this.lblFlow);
            this.gbPortSettings.Controls.Add(this.cbFlow);
            this.gbPortSettings.Controls.Add(this.lblPort);
            this.gbPortSettings.Controls.Add(this.lblDataBits);
            this.gbPortSettings.Controls.Add(this.cbPorts);
            this.gbPortSettings.Controls.Add(this.lblStopBits);
            this.gbPortSettings.Controls.Add(this.cbBaud);
            this.gbPortSettings.Controls.Add(this.lblParity);
            this.gbPortSettings.Controls.Add(this.lblBaud);
            this.gbPortSettings.Controls.Add(this.cbDataBits);
            this.gbPortSettings.Controls.Add(this.cbParity);
            this.gbPortSettings.Controls.Add(this.cbStopBits);
            this.gbPortSettings.Location = new System.Drawing.Point(12, 5);
            this.gbPortSettings.Name = "gbPortSettings";
            this.gbPortSettings.Size = new System.Drawing.Size(223, 184);
            this.gbPortSettings.TabIndex = 11;
            this.gbPortSettings.TabStop = false;
            //
            // lblFlow
            //
            this.lblFlow.AutoSize = true;
            this.lblFlow.Location = new System.Drawing.Point(30, 73);
            this.lblFlow.Name = "lblFlow";
            this.lblFlow.Size = new System.Drawing.Size(32, 13);
            this.lblFlow.TabIndex = 12;
            this.lblFlow.Text = "Flow:";
            //
            // cbFlow
            //
            this.cbFlow.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbFlow.FormattingEnabled = true;
            this.cbFlow.Items.AddRange(new object[] {
            "None",
            "XON/XOFF",
            "CTS/RTS",
            "XON/XOFF + CTS/RTS"});
            this.cbFlow.Location = new System.Drawing.Point(68, 70);
            this.cbFlow.Name = "cbFlow";
            this.cbFlow.Size = new System.Drawing.Size(140, 21);
            this.cbFlow.TabIndex = 11;
            //
            // buttonCancel
            //
            this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.buttonCancel.Location = new System.Drawing.Point(144, 205);
            this.buttonCancel.Name = "buttonCancel";
            this.buttonCancel.Size = new System.Drawing.Size(75, 23);
            this.buttonCancel.TabIndex = 12;
            this.buttonCancel.Text = "Cancel";
            this.buttonCancel.UseVisualStyleBackColor = true;
            //
            // CommSelectForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(247, 244);
            this.Controls.Add(this.buttonCancel);
            this.Controls.Add(this.gbPortSettings);
            this.Controls.Add(this.buttonOK);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.MaximumSize = new System.Drawing.Size(253, 273);
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(253, 273);
            this.Name = "CommSelectForm";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = " Serial Port Settings";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.commSelect_FormClosing);
            this.Load += new System.EventHandler(this.commSelect_FormLoad);
            this.gbPortSettings.ResumeLayout(false);
            this.gbPortSettings.PerformLayout();
            this.ResumeLayout(false);
        }