using System.Drawing; using System.Windows.Forms; namespace Gs.WeightIqc { partial class Form1 { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.cmbBaudRate = new System.Windows.Forms.ComboBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.txtDt = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.txtNum = new System.Windows.Forms.TextBox(); this.button2 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.cmbSerialPortNum = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // cmbBaudRate // this.cmbBaudRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbBaudRate.FormattingEnabled = true; this.cmbBaudRate.Items.AddRange(new object[] { "14400", "9600", "4800", "2400", "1200"}); this.cmbBaudRate.Location = new System.Drawing.Point(98, 39); this.cmbBaudRate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cmbBaudRate.Name = "cmbBaudRate"; this.cmbBaudRate.Size = new System.Drawing.Size(135, 23); this.cmbBaudRate.TabIndex = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.txtDt); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.txtNum); this.groupBox1.Controls.Add(this.button2); this.groupBox1.Controls.Add(this.button1); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.cmbSerialPortNum); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.cmbBaudRate); this.groupBox1.Location = new System.Drawing.Point(24, 32); this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupBox1.Name = "groupBox1"; this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); this.groupBox1.Size = new System.Drawing.Size(510, 180); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; // // txtDt // this.txtDt.Location = new System.Drawing.Point(361, 70); this.txtDt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.txtDt.Name = "txtDt"; this.txtDt.ReadOnly = true; this.txtDt.Size = new System.Drawing.Size(128, 25); this.txtDt.TabIndex = 9; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(288, 75); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(67, 15); this.label4.TabIndex = 8; this.label4.Text = "获取时间"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(288, 43); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(67, 15); this.label3.TabIndex = 7; this.label3.Text = "当前重量"; // // txtNum // this.txtNum.Location = new System.Drawing.Point(361, 38); this.txtNum.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.txtNum.Name = "txtNum"; this.txtNum.ReadOnly = true; this.txtNum.Size = new System.Drawing.Size(128, 25); this.txtNum.TabIndex = 6; // // button2 // this.button2.Location = new System.Drawing.Point(139, 120); this.button2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(84, 37); this.button2.TabIndex = 5; this.button2.Text = "停止"; this.button2.UseVisualStyleBackColor = true; // // button1 // this.button1.Location = new System.Drawing.Point(34, 120); this.button1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(84, 37); this.button1.TabIndex = 4; this.button1.Text = "启动"; this.button1.UseVisualStyleBackColor = true; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(22, 75); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(52, 15); this.label2.TabIndex = 3; this.label2.Text = "串口号"; // // cmbSerialPortNum // this.cmbSerialPortNum.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbSerialPortNum.FormattingEnabled = true; this.cmbSerialPortNum.Location = new System.Drawing.Point(98, 71); this.cmbSerialPortNum.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cmbSerialPortNum.Name = "cmbSerialPortNum"; this.cmbSerialPortNum.Size = new System.Drawing.Size(135, 23); this.cmbSerialPortNum.TabIndex = 2; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(22, 43); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(52, 15); this.label1.TabIndex = 1; this.label1.Text = "波特率"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(569, 238); this.Controls.Add(this.groupBox1); this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.MaximizeBox = false; this.Name = "Form1"; this.Text = "广深--IQC称重服务"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); } #endregion private ComboBox cmbBaudRate; private GroupBox groupBox1; private Label label1; private Label label2; private ComboBox cmbSerialPortNum; private Button button1; private Label label3; private TextBox txtNum; private Button button2; private TextBox txtDt; private Label label4; } }