Partial Class Form1 Inherits System.Windows.Forms.Form 'Form 重写 Dispose,以清理组件列表。 Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try If disposing AndAlso components IsNot Nothing Then components.Dispose() End If Finally MyBase.Dispose(disposing) End Try End Sub 'Windows 窗体设计器所必需的 Private components As System.ComponentModel.IContainer '注意: 以下过程是 Windows 窗体设计器所必需的 '可以使用 Windows 窗体设计器修改它。 '不要使用代码编辑器修改它。 Private Sub InitializeComponent() Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1)) Me.SplitContainer1 = New System.Windows.Forms.SplitContainer() Me.SplitContainer2 = New System.Windows.Forms.SplitContainer() Me.Grid1 = New FlexCell.Grid() Me.Button2 = New System.Windows.Forms.Button() Me.Label1 = New System.Windows.Forms.Label() Me.ComboBox1 = New System.Windows.Forms.ComboBox() Me.CheckBox2 = New System.Windows.Forms.CheckBox() Me.CheckBox1 = New System.Windows.Forms.CheckBox() Me.Button1 = New System.Windows.Forms.Button() Me.TextBox1 = New System.Windows.Forms.TextBox() Me.ToolStrip1 = New System.Windows.Forms.ToolStrip() Me.ToolStripButton2 = New System.Windows.Forms.ToolStripButton() Me.ToolStripButton1 = New System.Windows.Forms.ToolStripButton() Me.ToolStripButton3 = New System.Windows.Forms.ToolStripButton() Me.SplitContainer3 = New System.Windows.Forms.SplitContainer() Me.GroupBox1 = New System.Windows.Forms.GroupBox() Me.CheckBox9 = New System.Windows.Forms.CheckBox() Me.CheckBox8 = New System.Windows.Forms.CheckBox() Me.CheckBox7 = New System.Windows.Forms.CheckBox() Me.CheckBox6 = New System.Windows.Forms.CheckBox() Me.CheckBox5 = New System.Windows.Forms.CheckBox() Me.CheckBox4 = New System.Windows.Forms.CheckBox() Me.CheckBox3 = New System.Windows.Forms.CheckBox() Me.Xlabel = New System.Windows.Forms.Label() Me.Ylabel = New System.Windows.Forms.Label() Me.TextBox2 = New System.Windows.Forms.TextBox() CType(Me.SplitContainer1, System.ComponentModel.ISupportInitialize).BeginInit() Me.SplitContainer1.Panel1.SuspendLayout() Me.SplitContainer1.Panel2.SuspendLayout() Me.SplitContainer1.SuspendLayout() CType(Me.SplitContainer2, System.ComponentModel.ISupportInitialize).BeginInit() Me.SplitContainer2.Panel1.SuspendLayout() Me.SplitContainer2.Panel2.SuspendLayout() Me.SplitContainer2.SuspendLayout() Me.ToolStrip1.SuspendLayout() CType(Me.SplitContainer3, System.ComponentModel.ISupportInitialize).BeginInit() Me.SplitContainer3.Panel1.SuspendLayout() Me.SplitContainer3.Panel2.SuspendLayout() Me.SplitContainer3.SuspendLayout() Me.GroupBox1.SuspendLayout() Me.SuspendLayout() ' 'SplitContainer1 ' Me.SplitContainer1.Dock = System.Windows.Forms.DockStyle.Fill Me.SplitContainer1.Location = New System.Drawing.Point(0, 0) Me.SplitContainer1.Name = "SplitContainer1" ' 'SplitContainer1.Panel1 ' Me.SplitContainer1.Panel1.Controls.Add(Me.SplitContainer2) Me.SplitContainer1.Panel1.Controls.Add(Me.ToolStrip1) ' 'SplitContainer1.Panel2 ' Me.SplitContainer1.Panel2.Controls.Add(Me.SplitContainer3) Me.SplitContainer1.Size = New System.Drawing.Size(1296, 780) Me.SplitContainer1.SplitterDistance = 734 Me.SplitContainer1.TabIndex = 1 ' 'SplitContainer2 ' Me.SplitContainer2.Dock = System.Windows.Forms.DockStyle.Fill Me.SplitContainer2.Location = New System.Drawing.Point(0, 25) Me.SplitContainer2.Name = "SplitContainer2" Me.SplitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal ' 'SplitContainer2.Panel1 ' Me.SplitContainer2.Panel1.Controls.Add(Me.Grid1) ' 'SplitContainer2.Panel2 ' Me.SplitContainer2.Panel2.Controls.Add(Me.Button2) Me.SplitContainer2.Panel2.Controls.Add(Me.Label1) Me.SplitContainer2.Panel2.Controls.Add(Me.ComboBox1) Me.SplitContainer2.Panel2.Controls.Add(Me.CheckBox2) Me.SplitContainer2.Panel2.Controls.Add(Me.CheckBox1) Me.SplitContainer2.Panel2.Controls.Add(Me.Button1) Me.SplitContainer2.Panel2.Controls.Add(Me.TextBox1) Me.SplitContainer2.Size = New System.Drawing.Size(734, 755) Me.SplitContainer2.SplitterDistance = 610 Me.SplitContainer2.TabIndex = 2 ' 'Grid1 ' Me.Grid1.DefaultFont = New System.Drawing.Font("宋体", 9.0!) Me.Grid1.Dock = System.Windows.Forms.DockStyle.Fill Me.Grid1.Location = New System.Drawing.Point(0, 0) Me.Grid1.MouseWheelSpeed = CType(3, Short) Me.Grid1.Name = "Grid1" Me.Grid1.Size = New System.Drawing.Size(734, 610) Me.Grid1.TabIndex = 0 ' 'Button2 ' Me.Button2.BackColor = System.Drawing.Color.Green Me.Button2.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button2.Location = New System.Drawing.Point(577, 4) Me.Button2.Name = "Button2" Me.Button2.Size = New System.Drawing.Size(154, 51) Me.Button2.TabIndex = 2 Me.Button2.Text = "开始接收数据" Me.Button2.UseVisualStyleBackColor = False ' 'Label1 ' Me.Label1.AutoSize = True Me.Label1.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label1.Location = New System.Drawing.Point(218, 19) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(123, 19) Me.Label1.TabIndex = 5 Me.Label1.Text = "选择发送串口" ' 'ComboBox1 ' Me.ComboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList Me.ComboBox1.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.ComboBox1.FormattingEnabled = True Me.ComboBox1.Location = New System.Drawing.Point(347, 15) Me.ComboBox1.Name = "ComboBox1" Me.ComboBox1.Size = New System.Drawing.Size(210, 27) Me.ComboBox1.TabIndex = 4 ' 'CheckBox2 ' Me.CheckBox2.AutoSize = True Me.CheckBox2.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.CheckBox2.Location = New System.Drawing.Point(106, 17) Me.CheckBox2.Name = "CheckBox2" Me.CheckBox2.Size = New System.Drawing.Size(96, 23) Me.CheckBox2.TabIndex = 3 Me.CheckBox2.Text = "HEX发送" Me.CheckBox2.UseVisualStyleBackColor = True ' 'CheckBox1 ' Me.CheckBox1.AutoSize = True Me.CheckBox1.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.CheckBox1.Location = New System.Drawing.Point(4, 17) Me.CheckBox1.Name = "CheckBox1" Me.CheckBox1.Size = New System.Drawing.Size(96, 23) Me.CheckBox1.TabIndex = 2 Me.CheckBox1.Text = "HEX显示" Me.CheckBox1.UseVisualStyleBackColor = True ' 'Button1 ' Me.Button1.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button1.Location = New System.Drawing.Point(611, 61) Me.Button1.Name = "Button1" Me.Button1.Size = New System.Drawing.Size(123, 68) Me.Button1.TabIndex = 1 Me.Button1.Text = "发送" Me.Button1.UseVisualStyleBackColor = True ' 'TextBox1 ' Me.TextBox1.Location = New System.Drawing.Point(12, 61) Me.TextBox1.Multiline = True Me.TextBox1.Name = "TextBox1" Me.TextBox1.Size = New System.Drawing.Size(593, 68) Me.TextBox1.TabIndex = 0 ' 'ToolStrip1 ' Me.ToolStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripButton2, Me.ToolStripButton1, Me.ToolStripButton3}) Me.ToolStrip1.Location = New System.Drawing.Point(0, 0) Me.ToolStrip1.Name = "ToolStrip1" Me.ToolStrip1.Size = New System.Drawing.Size(734, 25) Me.ToolStrip1.TabIndex = 1 Me.ToolStrip1.Text = "ToolStrip1" ' 'ToolStripButton2 ' Me.ToolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text Me.ToolStripButton2.Image = CType(resources.GetObject("ToolStripButton2.Image"), System.Drawing.Image) Me.ToolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta Me.ToolStripButton2.Name = "ToolStripButton2" Me.ToolStripButton2.Size = New System.Drawing.Size(60, 22) Me.ToolStripButton2.Text = "设置串口" ' 'ToolStripButton1 ' Me.ToolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text Me.ToolStripButton1.Image = CType(resources.GetObject("ToolStripButton1.Image"), System.Drawing.Image) Me.ToolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta Me.ToolStripButton1.Name = "ToolStripButton1" Me.ToolStripButton1.Size = New System.Drawing.Size(36, 22) Me.ToolStripButton1.Text = "打开" ' 'ToolStripButton3 ' Me.ToolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text Me.ToolStripButton3.Image = CType(resources.GetObject("ToolStripButton3.Image"), System.Drawing.Image) Me.ToolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta Me.ToolStripButton3.Name = "ToolStripButton3" Me.ToolStripButton3.Size = New System.Drawing.Size(48, 22) Me.ToolStripButton3.Text = "清空表" ' 'SplitContainer3 ' Me.SplitContainer3.Dock = System.Windows.Forms.DockStyle.Fill Me.SplitContainer3.Location = New System.Drawing.Point(0, 0) Me.SplitContainer3.Name = "SplitContainer3" Me.SplitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal ' 'SplitContainer3.Panel1 ' Me.SplitContainer3.Panel1.Controls.Add(Me.GroupBox1) ' 'SplitContainer3.Panel2 ' Me.SplitContainer3.Panel2.Controls.Add(Me.TextBox2) Me.SplitContainer3.Panel2.Controls.Add(Me.Ylabel) Me.SplitContainer3.Panel2.Controls.Add(Me.Xlabel) Me.SplitContainer3.Size = New System.Drawing.Size(558, 780) Me.SplitContainer3.SplitterDistance = 43 Me.SplitContainer3.TabIndex = 0 ' 'GroupBox1 ' Me.GroupBox1.Controls.Add(Me.CheckBox9) Me.GroupBox1.Controls.Add(Me.CheckBox8) Me.GroupBox1.Controls.Add(Me.CheckBox7) Me.GroupBox1.Controls.Add(Me.CheckBox6) Me.GroupBox1.Controls.Add(Me.CheckBox5) Me.GroupBox1.Controls.Add(Me.CheckBox4) Me.GroupBox1.Controls.Add(Me.CheckBox3) Me.GroupBox1.Dock = System.Windows.Forms.DockStyle.Fill Me.GroupBox1.Location = New System.Drawing.Point(0, 0) Me.GroupBox1.Name = "GroupBox1" Me.GroupBox1.Size = New System.Drawing.Size(558, 43) Me.GroupBox1.TabIndex = 0 Me.GroupBox1.TabStop = False Me.GroupBox1.Text = "隐藏显示列" ' 'CheckBox9 ' Me.CheckBox9.AutoSize = True Me.CheckBox9.Location = New System.Drawing.Point(468, 19) Me.CheckBox9.Name = "CheckBox9" Me.CheckBox9.Size = New System.Drawing.Size(42, 16) Me.CheckBox9.TabIndex = 6 Me.CheckBox9.Tag = "8" Me.CheckBox9.Text = "HEX" Me.CheckBox9.UseVisualStyleBackColor = True ' 'CheckBox8 ' Me.CheckBox8.AutoSize = True Me.CheckBox8.Location = New System.Drawing.Point(405, 19) Me.CheckBox8.Name = "CheckBox8" Me.CheckBox8.Size = New System.Drawing.Size(48, 16) Me.CheckBox8.TabIndex = 5 Me.CheckBox8.Tag = "7" Me.CheckBox8.Text = "TEXT" Me.CheckBox8.UseVisualStyleBackColor = True ' 'CheckBox7 ' Me.CheckBox7.AutoSize = True Me.CheckBox7.Location = New System.Drawing.Point(342, 19) Me.CheckBox7.Name = "CheckBox7" Me.CheckBox7.Size = New System.Drawing.Size(48, 16) Me.CheckBox7.TabIndex = 4 Me.CheckBox7.Tag = "6" Me.CheckBox7.Text = "包长" Me.CheckBox7.UseVisualStyleBackColor = True ' 'CheckBox6 ' Me.CheckBox6.AutoSize = True Me.CheckBox6.Location = New System.Drawing.Point(255, 19) Me.CheckBox6.Name = "CheckBox6" Me.CheckBox6.Size = New System.Drawing.Size(72, 16) Me.CheckBox6.TabIndex = 3 Me.CheckBox6.Tag = "5" Me.CheckBox6.Text = "串口名称" Me.CheckBox6.UseVisualStyleBackColor = True ' 'CheckBox5 ' Me.CheckBox5.AutoSize = True Me.CheckBox5.Location = New System.Drawing.Point(180, 19) Me.CheckBox5.Name = "CheckBox5" Me.CheckBox5.Size = New System.Drawing.Size(60, 16) Me.CheckBox5.TabIndex = 2 Me.CheckBox5.Tag = "4" Me.CheckBox5.Text = "时间差" Me.CheckBox5.UseVisualStyleBackColor = True ' 'CheckBox4 ' Me.CheckBox4.AutoSize = True Me.CheckBox4.Location = New System.Drawing.Point(69, 19) Me.CheckBox4.Name = "CheckBox4" Me.CheckBox4.Size = New System.Drawing.Size(96, 16) Me.CheckBox4.TabIndex = 1 Me.CheckBox4.Tag = "3" Me.CheckBox4.Text = "同串口时间差" Me.CheckBox4.UseVisualStyleBackColor = True ' 'CheckBox3 ' Me.CheckBox3.AutoSize = True Me.CheckBox3.Location = New System.Drawing.Point(6, 19) Me.CheckBox3.Name = "CheckBox3" Me.CheckBox3.Size = New System.Drawing.Size(48, 16) Me.CheckBox3.TabIndex = 0 Me.CheckBox3.Tag = "2" Me.CheckBox3.Text = "时间" Me.CheckBox3.UseVisualStyleBackColor = True ' 'Xlabel ' Me.Xlabel.AutoSize = True Me.Xlabel.Location = New System.Drawing.Point(13, 10) Me.Xlabel.Name = "Xlabel" Me.Xlabel.Size = New System.Drawing.Size(41, 12) Me.Xlabel.TabIndex = 0 Me.Xlabel.Text = "RowID:" ' 'Ylabel ' Me.Ylabel.AutoSize = True Me.Ylabel.Location = New System.Drawing.Point(124, 10) Me.Ylabel.Name = "Ylabel" Me.Ylabel.Size = New System.Drawing.Size(71, 12) Me.Ylabel.TabIndex = 1 Me.Ylabel.Text = "ColumnName:" ' 'TextBox2 ' Me.TextBox2.Location = New System.Drawing.Point(6, 25) Me.TextBox2.Multiline = True Me.TextBox2.Name = "TextBox2" Me.TextBox2.Size = New System.Drawing.Size(549, 128) Me.TextBox2.TabIndex = 2 ' 'Form1 ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(1296, 780) Me.Controls.Add(Me.SplitContainer1) Me.Name = "Form1" Me.Text = "Form1" Me.SplitContainer1.Panel1.ResumeLayout(False) Me.SplitContainer1.Panel1.PerformLayout() Me.SplitContainer1.Panel2.ResumeLayout(False) CType(Me.SplitContainer1, System.ComponentModel.ISupportInitialize).EndInit() Me.SplitContainer1.ResumeLayout(False) Me.SplitContainer2.Panel1.ResumeLayout(False) Me.SplitContainer2.Panel2.ResumeLayout(False) Me.SplitContainer2.Panel2.PerformLayout() CType(Me.SplitContainer2, System.ComponentModel.ISupportInitialize).EndInit() Me.SplitContainer2.ResumeLayout(False) Me.ToolStrip1.ResumeLayout(False) Me.ToolStrip1.PerformLayout() Me.SplitContainer3.Panel1.ResumeLayout(False) Me.SplitContainer3.Panel2.ResumeLayout(False) Me.SplitContainer3.Panel2.PerformLayout() CType(Me.SplitContainer3, System.ComponentModel.ISupportInitialize).EndInit() Me.SplitContainer3.ResumeLayout(False) Me.GroupBox1.ResumeLayout(False) Me.GroupBox1.PerformLayout() Me.ResumeLayout(False) End Sub Friend WithEvents SplitContainer1 As SplitContainer Friend WithEvents SplitContainer2 As SplitContainer Friend WithEvents Grid1 As FlexCell.Grid Friend WithEvents ToolStrip1 As ToolStrip Friend WithEvents ToolStripButton2 As ToolStripButton Friend WithEvents ToolStripButton1 As ToolStripButton Friend WithEvents CheckBox2 As CheckBox Friend WithEvents CheckBox1 As CheckBox Friend WithEvents Button1 As Button Friend WithEvents TextBox1 As TextBox Friend WithEvents Label1 As Label Friend WithEvents ComboBox1 As ComboBox Friend WithEvents ToolStripButton3 As ToolStripButton Friend WithEvents SplitContainer3 As SplitContainer Friend WithEvents Button2 As Button Friend WithEvents GroupBox1 As GroupBox Friend WithEvents CheckBox9 As CheckBox Friend WithEvents CheckBox8 As CheckBox Friend WithEvents CheckBox7 As CheckBox Friend WithEvents CheckBox6 As CheckBox Friend WithEvents CheckBox5 As CheckBox Friend WithEvents CheckBox4 As CheckBox Friend WithEvents CheckBox3 As CheckBox Friend WithEvents Ylabel As Label Friend WithEvents Xlabel As Label Friend WithEvents TextBox2 As TextBox End Class