msg.Location = new System.Drawing.Point(0, 0); this.msg.Multiline = true; this.msg.Name = "msg"; this.msg.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.msg.Size = new System.Drawing.Size(512, 264); this.msg.TabIndex = 0; this.msg.Text = ""; // // label1 // this.label1.Location = new System.Drawing.Point(16, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 16); this.label1.TabIndex = 1; this.label1.Text = "串口号:"; // // label2 // this.label2.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(64)), ((System.Byte)(0))); this.label2.Location = new System.Drawing.Point(8, 280); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(80, 16); this.label2.TabIndex = 1; this.label2.Text = "设置数据包:"; // // t_send // this.t_send.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.t_send.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(0))); this.t_send.Location = new System.Drawing.Point(80, 272); this.t_send.Name = "t_send"; this.t_send.Size = new System.Drawing.Size(344, 21); this.t_send.TabIndex = 2; this.t_send.Text = ""; // // button1 // this.button1.Location = new System.Drawing.Point(432, 272); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(40, 23); this.button1.TabIndex = 3; this.button1.Text = "发送"; this.button1.Click += new System.EventHandler(this.button1_Click); // // groupBox1 // this.groupBox1.Controls.Add(this.button2); this.groupBox1.Controls.Add(this.t_port); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.t_rate); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.t_bytesize); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.t_stopbyte); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.t_parity); this.groupBox1.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(64)), ((System.Byte)(0))); this.groupBox1.Location = new System.Drawing.Point(8, 304); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(176, 216); this.groupBox1.TabIndex = 4; this.groupBox1.TabStop = false; this.groupBox1.Text = "参数设置"; // // button2 // this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.button2.Location = new System.Drawing.Point(80, 184); this.button2.Name = "button2"; this.button2.TabIndex = 3; this.button2.Text = "应用设置"; this.button2.Click += new System.EventHandler(this.button2_Click); // // t_port // this.t_port.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.t_port.Location = new System.Drawing.Point(80, 16); this.t_port.Name = "t_port"; this.t_port.Size = new System.Drawing.Size(80, 21); this.t_port.TabIndex = 2; this.t_port.Text = "1"; // // label3 // this.label3.Location = new System.Drawing.Point(16, 58); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 16); this.label3.TabIndex = 1; |