using System.ComponentModel; namespace WinFormStarter; partial class Form2 { /// /// Required designer variable. /// private 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() { groupBox1 = new GroupBox(); btnConn = new Button(); txtPort = new TextBox(); label2 = new Label(); groupBox2 = new GroupBox(); splitContainer1 = new SplitContainer(); rTxtOriginal = new RichTextBox(); label3 = new Label(); rTxtParsed = new RichTextBox(); label5 = new Label(); label4 = new Label(); groupBox1.SuspendLayout(); groupBox2.SuspendLayout(); ((ISupportInitialize)splitContainer1).BeginInit(); splitContainer1.Panel1.SuspendLayout(); splitContainer1.Panel2.SuspendLayout(); splitContainer1.SuspendLayout(); SuspendLayout(); // // groupBox1 // groupBox1.Controls.Add(btnConn); groupBox1.Controls.Add(txtPort); groupBox1.Controls.Add(label2); groupBox1.Dock = DockStyle.Top; groupBox1.Location = new Point(0, 0); groupBox1.Name = "groupBox1"; groupBox1.Size = new Size(800, 100); groupBox1.TabIndex = 0; groupBox1.TabStop = false; groupBox1.Text = "连接参数"; // // btnConn // btnConn.Location = new Point(502, 26); btnConn.Name = "btnConn"; btnConn.Size = new Size(75, 23); btnConn.TabIndex = 4; btnConn.Text = "连接"; btnConn.UseVisualStyleBackColor = true; btnConn.Click += btnConn_Click; // // txtPort // txtPort.Location = new Point(232, 26); txtPort.Name = "txtPort"; txtPort.Size = new Size(100, 23); txtPort.TabIndex = 3; // // label2 // label2.AutoSize = true; label2.Location = new Point(186, 26); label2.Name = "label2"; label2.Size = new Size(40, 17); label2.TabIndex = 2; label2.Text = "PORT"; // // groupBox2 // groupBox2.Controls.Add(splitContainer1); groupBox2.Dock = DockStyle.Fill; groupBox2.Location = new Point(0, 100); groupBox2.Name = "groupBox2"; groupBox2.Size = new Size(800, 187); groupBox2.TabIndex = 1; groupBox2.TabStop = false; groupBox2.Text = "报文展示"; // // splitContainer1 // splitContainer1.Dock = DockStyle.Fill; splitContainer1.Location = new Point(3, 19); splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // splitContainer1.Panel1.Controls.Add(rTxtOriginal); splitContainer1.Panel1.Controls.Add(label3); // // splitContainer1.Panel2 // splitContainer1.Panel2.Controls.Add(rTxtParsed); splitContainer1.Panel2.Controls.Add(label5); splitContainer1.Panel2.Controls.Add(label4); splitContainer1.Size = new Size(794, 165); splitContainer1.SplitterDistance = 381; splitContainer1.TabIndex = 0; // // rTxtOriginal // rTxtOriginal.Dock = DockStyle.Fill; rTxtOriginal.Location = new Point(0, 17); rTxtOriginal.Name = "rTxtOriginal"; rTxtOriginal.Size = new Size(381, 148); rTxtOriginal.TabIndex = 1; rTxtOriginal.Text = ""; // // label3 // label3.AutoSize = true; label3.Dock = DockStyle.Top; label3.Location = new Point(0, 0); label3.Name = "label3"; label3.Size = new Size(56, 17); label3.TabIndex = 0; label3.Text = "原始报文"; // // rTxtParsed // rTxtParsed.Dock = DockStyle.Fill; rTxtParsed.Location = new Point(0, 17); rTxtParsed.Name = "rTxtParsed"; rTxtParsed.Size = new Size(409, 148); rTxtParsed.TabIndex = 3; rTxtParsed.Text = ""; // // label5 // label5.AutoSize = true; label5.Dock = DockStyle.Top; label5.Location = new Point(0, 0); label5.Name = "label5"; label5.Size = new Size(56, 17); label5.TabIndex = 2; label5.Text = "解析数据"; // // label4 // label4.AutoSize = true; label4.Location = new Point(146, 56); label4.Name = "label4"; label4.Size = new Size(43, 17); label4.TabIndex = 0; label4.Text = "label4"; // // Form2 // AutoScaleDimensions = new SizeF(7F, 17F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(800, 450); Controls.Add(groupBox2); Controls.Add(groupBox1); Name = "Form2"; Text = "Form2"; groupBox1.ResumeLayout(false); groupBox1.PerformLayout(); groupBox2.ResumeLayout(false); splitContainer1.Panel1.ResumeLayout(false); splitContainer1.Panel1.PerformLayout(); splitContainer1.Panel2.ResumeLayout(false); splitContainer1.Panel2.PerformLayout(); ((ISupportInitialize)splitContainer1).EndInit(); splitContainer1.ResumeLayout(false); ResumeLayout(false); } #endregion private GroupBox groupBox1; private Button btnConn; private TextBox txtPort; private Label label2; private GroupBox groupBox2; private SplitContainer splitContainer1; private RichTextBox rTxtOriginal; private Label label3; private RichTextBox rTxtParsed; private Label label5; private Label label4; }