_ 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() Me.components = New System.ComponentModel.Container() Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1)) Me.TabControl1 = New System.Windows.Forms.TabControl() Me.TabPage1 = New System.Windows.Forms.TabPage() Me.SplitContainer1 = New System.Windows.Forms.SplitContainer() Me.SplitContainer2 = New System.Windows.Forms.SplitContainer() Me.Label_Time = New System.Windows.Forms.Label() Me.label_Tip = New System.Windows.Forms.Label() Me.SplitContainer4 = New System.Windows.Forms.SplitContainer() Me.Label18 = New System.Windows.Forms.Label() Me.Label17 = New System.Windows.Forms.Label() Me.TextBox14 = New System.Windows.Forms.TextBox() Me.Cbo_Port = New System.Windows.Forms.ComboBox() Me.TextBox15 = New System.Windows.Forms.TextBox() Me.TextBox3 = New System.Windows.Forms.TextBox() Me.Label15 = New System.Windows.Forms.Label() Me.Label1 = New System.Windows.Forms.Label() Me.Label16 = New System.Windows.Forms.Label() Me.Button2 = New System.Windows.Forms.Button() Me.TextBox12 = New System.Windows.Forms.TextBox() Me.Text_Row = New System.Windows.Forms.TextBox() Me.TextBox13 = New System.Windows.Forms.TextBox() Me.TextBox1 = New System.Windows.Forms.TextBox() Me.Label13 = New System.Windows.Forms.Label() Me.Label2 = New System.Windows.Forms.Label() Me.Label14 = New System.Windows.Forms.Label() Me.Label3 = New System.Windows.Forms.Label() Me.TextBox10 = New System.Windows.Forms.TextBox() Me.TextBox2 = New System.Windows.Forms.TextBox() Me.TextBox11 = New System.Windows.Forms.TextBox() Me.Label4 = New System.Windows.Forms.Label() Me.Label11 = New System.Windows.Forms.Label() Me.Button1 = New System.Windows.Forms.Button() Me.Label12 = New System.Windows.Forms.Label() Me.Btn_OpenPort = New System.Windows.Forms.Button() Me.TextBox8 = New System.Windows.Forms.TextBox() Me.TextBox9 = New System.Windows.Forms.TextBox() Me.Cbo_Baud = New System.Windows.Forms.ComboBox() Me.Label9 = New System.Windows.Forms.Label() Me.Label6 = New System.Windows.Forms.Label() Me.Label10 = New System.Windows.Forms.Label() Me.Label5 = New System.Windows.Forms.Label() Me.TextBox6 = New System.Windows.Forms.TextBox() Me.TextBox5 = New System.Windows.Forms.TextBox() Me.TextBox7 = New System.Windows.Forms.TextBox() Me.Button3 = New System.Windows.Forms.Button() Me.Label7 = New System.Windows.Forms.Label() Me.TextBox4 = New System.Windows.Forms.TextBox() Me.Label8 = New System.Windows.Forms.Label() Me.SplitContainer3 = New System.Windows.Forms.SplitContainer() Me.RichTextBox1 = New System.Windows.Forms.RichTextBox() Me.ToolStrip3 = New System.Windows.Forms.ToolStrip() Me.ToolStripButton1 = New System.Windows.Forms.ToolStripButton() Me.Grid1 = New FlexCell.Grid() Me.ToolStrip2 = New System.Windows.Forms.ToolStrip() Me.ToolStrip1 = New System.Windows.Forms.ToolStrip() Me.ToolStripLabel1 = New System.Windows.Forms.ToolStripLabel() Me.ToolStripLabel2 = New System.Windows.Forms.ToolStripLabel() Me.TabPage2 = New System.Windows.Forms.TabPage() Me.SerialPort1 = New System.IO.Ports.SerialPort(Me.components) Me.Timer1 = New System.Windows.Forms.Timer(Me.components) Me.CheckBox1 = New System.Windows.Forms.CheckBox() Me.TabControl1.SuspendLayout() Me.TabPage1.SuspendLayout() 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() CType(Me.SplitContainer4, System.ComponentModel.ISupportInitialize).BeginInit() Me.SplitContainer4.Panel2.SuspendLayout() Me.SplitContainer4.SuspendLayout() CType(Me.SplitContainer3, System.ComponentModel.ISupportInitialize).BeginInit() Me.SplitContainer3.Panel1.SuspendLayout() Me.SplitContainer3.Panel2.SuspendLayout() Me.SplitContainer3.SuspendLayout() Me.ToolStrip3.SuspendLayout() Me.ToolStrip1.SuspendLayout() Me.SuspendLayout() ' 'TabControl1 ' Me.TabControl1.Controls.Add(Me.TabPage1) Me.TabControl1.Controls.Add(Me.TabPage2) Me.TabControl1.Dock = System.Windows.Forms.DockStyle.Fill Me.TabControl1.Location = New System.Drawing.Point(0, 0) Me.TabControl1.Name = "TabControl1" Me.TabControl1.SelectedIndex = 0 Me.TabControl1.Size = New System.Drawing.Size(1240, 863) Me.TabControl1.TabIndex = 0 ' 'TabPage1 ' Me.TabPage1.Controls.Add(Me.SplitContainer1) Me.TabPage1.Controls.Add(Me.ToolStrip2) Me.TabPage1.Controls.Add(Me.ToolStrip1) Me.TabPage1.Location = New System.Drawing.Point(4, 22) Me.TabPage1.Name = "TabPage1" Me.TabPage1.Padding = New System.Windows.Forms.Padding(3) Me.TabPage1.Size = New System.Drawing.Size(1232, 837) Me.TabPage1.TabIndex = 0 Me.TabPage1.Text = "测试" Me.TabPage1.UseVisualStyleBackColor = True ' 'SplitContainer1 ' Me.SplitContainer1.Dock = System.Windows.Forms.DockStyle.Fill Me.SplitContainer1.Location = New System.Drawing.Point(3, 28) Me.SplitContainer1.Name = "SplitContainer1" Me.SplitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal ' 'SplitContainer1.Panel1 ' Me.SplitContainer1.Panel1.Controls.Add(Me.SplitContainer2) ' 'SplitContainer1.Panel2 ' Me.SplitContainer1.Panel2.Controls.Add(Me.SplitContainer3) Me.SplitContainer1.Size = New System.Drawing.Size(1226, 781) Me.SplitContainer1.SplitterDistance = 238 Me.SplitContainer1.TabIndex = 4 ' 'SplitContainer2 ' Me.SplitContainer2.Dock = System.Windows.Forms.DockStyle.Fill Me.SplitContainer2.Location = New System.Drawing.Point(0, 0) Me.SplitContainer2.Name = "SplitContainer2" ' 'SplitContainer2.Panel1 ' Me.SplitContainer2.Panel1.Controls.Add(Me.Label_Time) Me.SplitContainer2.Panel1.Controls.Add(Me.label_Tip) Me.SplitContainer2.Panel1Collapsed = True ' 'SplitContainer2.Panel2 ' Me.SplitContainer2.Panel2.Controls.Add(Me.SplitContainer4) Me.SplitContainer2.Size = New System.Drawing.Size(1226, 238) Me.SplitContainer2.SplitterDistance = 571 Me.SplitContainer2.TabIndex = 5 ' 'Label_Time ' Me.Label_Time.BackColor = System.Drawing.Color.Black Me.Label_Time.Dock = System.Windows.Forms.DockStyle.Fill Me.Label_Time.Font = New System.Drawing.Font("宋体", 26.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label_Time.ForeColor = System.Drawing.Color.White Me.Label_Time.Location = New System.Drawing.Point(0, 140) Me.Label_Time.Name = "Label_Time" Me.Label_Time.Size = New System.Drawing.Size(571, 0) Me.Label_Time.TabIndex = 1 Me.Label_Time.Text = "时间" Me.Label_Time.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'label_Tip ' Me.label_Tip.BackColor = System.Drawing.Color.Black Me.label_Tip.Dock = System.Windows.Forms.DockStyle.Top Me.label_Tip.Font = New System.Drawing.Font("宋体", 26.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.label_Tip.ForeColor = System.Drawing.Color.White Me.label_Tip.Location = New System.Drawing.Point(0, 0) Me.label_Tip.Name = "label_Tip" Me.label_Tip.Size = New System.Drawing.Size(571, 140) Me.label_Tip.TabIndex = 0 Me.label_Tip.Text = "测试提示" Me.label_Tip.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'SplitContainer4 ' Me.SplitContainer4.Dock = System.Windows.Forms.DockStyle.Fill Me.SplitContainer4.Location = New System.Drawing.Point(0, 0) Me.SplitContainer4.Name = "SplitContainer4" Me.SplitContainer4.Panel1Collapsed = True ' 'SplitContainer4.Panel2 ' Me.SplitContainer4.Panel2.Controls.Add(Me.CheckBox1) Me.SplitContainer4.Panel2.Controls.Add(Me.Label18) Me.SplitContainer4.Panel2.Controls.Add(Me.Label17) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox14) Me.SplitContainer4.Panel2.Controls.Add(Me.Cbo_Port) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox15) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox3) Me.SplitContainer4.Panel2.Controls.Add(Me.Label15) Me.SplitContainer4.Panel2.Controls.Add(Me.Label1) Me.SplitContainer4.Panel2.Controls.Add(Me.Label16) Me.SplitContainer4.Panel2.Controls.Add(Me.Button2) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox12) Me.SplitContainer4.Panel2.Controls.Add(Me.Text_Row) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox13) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox1) Me.SplitContainer4.Panel2.Controls.Add(Me.Label13) Me.SplitContainer4.Panel2.Controls.Add(Me.Label2) Me.SplitContainer4.Panel2.Controls.Add(Me.Label14) Me.SplitContainer4.Panel2.Controls.Add(Me.Label3) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox10) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox2) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox11) Me.SplitContainer4.Panel2.Controls.Add(Me.Label4) Me.SplitContainer4.Panel2.Controls.Add(Me.Label11) Me.SplitContainer4.Panel2.Controls.Add(Me.Button1) Me.SplitContainer4.Panel2.Controls.Add(Me.Label12) Me.SplitContainer4.Panel2.Controls.Add(Me.Btn_OpenPort) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox8) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox9) Me.SplitContainer4.Panel2.Controls.Add(Me.Cbo_Baud) Me.SplitContainer4.Panel2.Controls.Add(Me.Label9) Me.SplitContainer4.Panel2.Controls.Add(Me.Label6) Me.SplitContainer4.Panel2.Controls.Add(Me.Label10) Me.SplitContainer4.Panel2.Controls.Add(Me.Label5) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox6) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox5) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox7) Me.SplitContainer4.Panel2.Controls.Add(Me.Button3) Me.SplitContainer4.Panel2.Controls.Add(Me.Label7) Me.SplitContainer4.Panel2.Controls.Add(Me.TextBox4) Me.SplitContainer4.Panel2.Controls.Add(Me.Label8) Me.SplitContainer4.Size = New System.Drawing.Size(1226, 238) Me.SplitContainer4.SplitterDistance = 500 Me.SplitContainer4.TabIndex = 46 ' 'Label18 ' Me.Label18.Font = New System.Drawing.Font("宋体", 20.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label18.Location = New System.Drawing.Point(976, 11) Me.Label18.Name = "Label18" Me.Label18.Size = New System.Drawing.Size(245, 77) Me.Label18.TabIndex = 72 Me.Label18.Text = "按键序号" Me.Label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Label17 ' Me.Label17.Font = New System.Drawing.Font("宋体", 51.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label17.Location = New System.Drawing.Point(968, 91) Me.Label17.Name = "Label17" Me.Label17.Size = New System.Drawing.Size(253, 142) Me.Label17.TabIndex = 71 Me.Label17.Text = "1000" Me.Label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'TextBox14 ' Me.TextBox14.Location = New System.Drawing.Point(276, 169) Me.TextBox14.MaxLength = 6 Me.TextBox14.Name = "TextBox14" Me.TextBox14.Size = New System.Drawing.Size(59, 21) Me.TextBox14.TabIndex = 68 Me.TextBox14.Text = "2" Me.TextBox14.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'Cbo_Port ' Me.Cbo_Port.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList Me.Cbo_Port.Font = New System.Drawing.Font("Consolas", 9.75!) Me.Cbo_Port.FormattingEnabled = True Me.Cbo_Port.Location = New System.Drawing.Point(633, 167) Me.Cbo_Port.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) Me.Cbo_Port.Name = "Cbo_Port" Me.Cbo_Port.Size = New System.Drawing.Size(126, 23) Me.Cbo_Port.TabIndex = 38 ' 'TextBox15 ' Me.TextBox15.Location = New System.Drawing.Point(421, 170) Me.TextBox15.MaxLength = 6 Me.TextBox15.Name = "TextBox15" Me.TextBox15.Size = New System.Drawing.Size(55, 21) Me.TextBox15.TabIndex = 70 Me.TextBox15.Text = "3" Me.TextBox15.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'TextBox3 ' Me.TextBox3.Enabled = False Me.TextBox3.Location = New System.Drawing.Point(552, 15) Me.TextBox3.MaxLength = 6 Me.TextBox3.Name = "TextBox3" Me.TextBox3.Size = New System.Drawing.Size(59, 21) Me.TextBox3.TabIndex = 42 Me.TextBox3.Text = "2" Me.TextBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center Me.TextBox3.Visible = False ' 'Label15 ' Me.Label15.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label15.Location = New System.Drawing.Point(339, 168) Me.Label15.Name = "Label15" Me.Label15.Size = New System.Drawing.Size(76, 23) Me.Label15.TabIndex = 69 Me.Label15.Text = "上限:" Me.Label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Label1 ' Me.Label1.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label1.Location = New System.Drawing.Point(208, 208) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(46, 23) Me.Label1.TabIndex = 0 Me.Label1.Text = "行:" Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Label16 ' Me.Label16.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label16.Location = New System.Drawing.Point(192, 168) Me.Label16.Name = "Label16" Me.Label16.Size = New System.Drawing.Size(78, 23) Me.Label16.TabIndex = 67 Me.Label16.Text = "下限:" Me.Label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Button2 ' Me.Button2.Enabled = False Me.Button2.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button2.Location = New System.Drawing.Point(749, 11) Me.Button2.Name = "Button2" Me.Button2.Size = New System.Drawing.Size(84, 28) Me.Button2.TabIndex = 45 Me.Button2.Text = "设置" Me.Button2.UseVisualStyleBackColor = True Me.Button2.Visible = False ' 'TextBox12 ' Me.TextBox12.Location = New System.Drawing.Point(276, 142) Me.TextBox12.MaxLength = 6 Me.TextBox12.Name = "TextBox12" Me.TextBox12.Size = New System.Drawing.Size(59, 21) Me.TextBox12.TabIndex = 64 Me.TextBox12.Text = "2" Me.TextBox12.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'Text_Row ' Me.Text_Row.Location = New System.Drawing.Point(276, 209) Me.Text_Row.MaxLength = 2 Me.Text_Row.Name = "Text_Row" Me.Text_Row.Size = New System.Drawing.Size(59, 21) Me.Text_Row.TabIndex = 1 Me.Text_Row.Text = "2" Me.Text_Row.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'TextBox13 ' Me.TextBox13.Location = New System.Drawing.Point(421, 143) Me.TextBox13.MaxLength = 6 Me.TextBox13.Name = "TextBox13" Me.TextBox13.Size = New System.Drawing.Size(55, 21) Me.TextBox13.TabIndex = 66 Me.TextBox13.Text = "3" Me.TextBox13.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'TextBox1 ' Me.TextBox1.Enabled = False Me.TextBox1.Location = New System.Drawing.Point(676, 15) Me.TextBox1.MaxLength = 6 Me.TextBox1.Name = "TextBox1" Me.TextBox1.Size = New System.Drawing.Size(55, 21) Me.TextBox1.TabIndex = 44 Me.TextBox1.Text = "3" Me.TextBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center Me.TextBox1.Visible = False ' 'Label13 ' Me.Label13.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label13.Location = New System.Drawing.Point(339, 141) Me.Label13.Name = "Label13" Me.Label13.Size = New System.Drawing.Size(76, 23) Me.Label13.TabIndex = 65 Me.Label13.Text = "上限:" Me.Label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Label2 ' Me.Label2.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label2.Location = New System.Drawing.Point(354, 208) Me.Label2.Name = "Label2" Me.Label2.Size = New System.Drawing.Size(46, 23) Me.Label2.TabIndex = 2 Me.Label2.Text = "列:" Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Label14 ' Me.Label14.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label14.Location = New System.Drawing.Point(192, 141) Me.Label14.Name = "Label14" Me.Label14.Size = New System.Drawing.Size(78, 23) Me.Label14.TabIndex = 63 Me.Label14.Text = "下限:" Me.Label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Label3 ' Me.Label3.Enabled = False Me.Label3.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label3.Location = New System.Drawing.Point(605, 14) Me.Label3.Name = "Label3" Me.Label3.Size = New System.Drawing.Size(76, 23) Me.Label3.TabIndex = 43 Me.Label3.Text = "上限:" Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter Me.Label3.Visible = False ' 'TextBox10 ' Me.TextBox10.Location = New System.Drawing.Point(276, 117) Me.TextBox10.MaxLength = 6 Me.TextBox10.Name = "TextBox10" Me.TextBox10.Size = New System.Drawing.Size(59, 21) Me.TextBox10.TabIndex = 60 Me.TextBox10.Text = "2" Me.TextBox10.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'TextBox2 ' Me.TextBox2.Location = New System.Drawing.Point(421, 209) Me.TextBox2.MaxLength = 2 Me.TextBox2.Name = "TextBox2" Me.TextBox2.Size = New System.Drawing.Size(55, 21) Me.TextBox2.TabIndex = 3 Me.TextBox2.Text = "3" Me.TextBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'TextBox11 ' Me.TextBox11.Location = New System.Drawing.Point(421, 118) Me.TextBox11.MaxLength = 6 Me.TextBox11.Name = "TextBox11" Me.TextBox11.Size = New System.Drawing.Size(55, 21) Me.TextBox11.TabIndex = 62 Me.TextBox11.Text = "3" Me.TextBox11.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'Label4 ' Me.Label4.Enabled = False Me.Label4.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label4.Location = New System.Drawing.Point(482, 14) Me.Label4.Name = "Label4" Me.Label4.Size = New System.Drawing.Size(78, 23) Me.Label4.TabIndex = 41 Me.Label4.Text = "下限:" Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter Me.Label4.Visible = False ' 'Label11 ' Me.Label11.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label11.Location = New System.Drawing.Point(339, 116) Me.Label11.Name = "Label11" Me.Label11.Size = New System.Drawing.Size(76, 23) Me.Label11.TabIndex = 61 Me.Label11.Text = "上限:" Me.Label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Button1 ' Me.Button1.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button1.Location = New System.Drawing.Point(489, 205) Me.Button1.Name = "Button1" Me.Button1.Size = New System.Drawing.Size(84, 28) Me.Button1.TabIndex = 4 Me.Button1.Text = "设置" Me.Button1.UseVisualStyleBackColor = True ' 'Label12 ' Me.Label12.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label12.Location = New System.Drawing.Point(192, 116) Me.Label12.Name = "Label12" Me.Label12.Size = New System.Drawing.Size(78, 23) Me.Label12.TabIndex = 59 Me.Label12.Text = "下限:" Me.Label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Btn_OpenPort ' Me.Btn_OpenPort.Font = New System.Drawing.Font("Consolas", 9.75!) Me.Btn_OpenPort.ImeMode = System.Windows.Forms.ImeMode.NoControl Me.Btn_OpenPort.Location = New System.Drawing.Point(789, 172) Me.Btn_OpenPort.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) Me.Btn_OpenPort.Name = "Btn_OpenPort" Me.Btn_OpenPort.Size = New System.Drawing.Size(88, 54) Me.Btn_OpenPort.TabIndex = 40 Me.Btn_OpenPort.Text = "Open CommPort" Me.Btn_OpenPort.UseVisualStyleBackColor = True ' 'TextBox8 ' Me.TextBox8.Location = New System.Drawing.Point(276, 92) Me.TextBox8.MaxLength = 6 Me.TextBox8.Name = "TextBox8" Me.TextBox8.Size = New System.Drawing.Size(59, 21) Me.TextBox8.TabIndex = 56 Me.TextBox8.Text = "2" Me.TextBox8.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'TextBox9 ' Me.TextBox9.Location = New System.Drawing.Point(421, 93) Me.TextBox9.MaxLength = 6 Me.TextBox9.Name = "TextBox9" Me.TextBox9.Size = New System.Drawing.Size(55, 21) Me.TextBox9.TabIndex = 58 Me.TextBox9.Text = "3" Me.TextBox9.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'Cbo_Baud ' Me.Cbo_Baud.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList Me.Cbo_Baud.Font = New System.Drawing.Font("Consolas", 9.75!) Me.Cbo_Baud.FormattingEnabled = True Me.Cbo_Baud.Items.AddRange(New Object() {"1200", "2400", "4800", "9600", "19200", "38400", "57600", "115200", "256000", "512000", "9216000", "1000000"}) Me.Cbo_Baud.Location = New System.Drawing.Point(633, 206) Me.Cbo_Baud.Margin = New System.Windows.Forms.Padding(4, 5, 4, 5) Me.Cbo_Baud.Name = "Cbo_Baud" Me.Cbo_Baud.Size = New System.Drawing.Size(126, 23) Me.Cbo_Baud.TabIndex = 39 ' 'Label9 ' Me.Label9.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label9.Location = New System.Drawing.Point(339, 91) Me.Label9.Name = "Label9" Me.Label9.Size = New System.Drawing.Size(76, 23) Me.Label9.TabIndex = 57 Me.Label9.Text = "上限:" Me.Label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Label6 ' Me.Label6.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label6.Location = New System.Drawing.Point(192, 41) Me.Label6.Name = "Label6" Me.Label6.Size = New System.Drawing.Size(78, 23) Me.Label6.TabIndex = 46 Me.Label6.Text = "下限:" Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Label10 ' Me.Label10.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label10.Location = New System.Drawing.Point(192, 91) Me.Label10.Name = "Label10" Me.Label10.Size = New System.Drawing.Size(78, 23) Me.Label10.TabIndex = 55 Me.Label10.Text = "下限:" Me.Label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Label5 ' Me.Label5.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label5.Location = New System.Drawing.Point(341, 41) Me.Label5.Name = "Label5" Me.Label5.Size = New System.Drawing.Size(76, 23) Me.Label5.TabIndex = 48 Me.Label5.Text = "上限:" Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'TextBox6 ' Me.TextBox6.Location = New System.Drawing.Point(276, 67) Me.TextBox6.MaxLength = 6 Me.TextBox6.Name = "TextBox6" Me.TextBox6.Size = New System.Drawing.Size(59, 21) Me.TextBox6.TabIndex = 52 Me.TextBox6.Text = "2" Me.TextBox6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'TextBox5 ' Me.TextBox5.Location = New System.Drawing.Point(423, 43) Me.TextBox5.MaxLength = 6 Me.TextBox5.Name = "TextBox5" Me.TextBox5.Size = New System.Drawing.Size(55, 21) Me.TextBox5.TabIndex = 49 Me.TextBox5.Text = "3" Me.TextBox5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'TextBox7 ' Me.TextBox7.Location = New System.Drawing.Point(421, 68) Me.TextBox7.MaxLength = 6 Me.TextBox7.Name = "TextBox7" Me.TextBox7.Size = New System.Drawing.Size(55, 21) Me.TextBox7.TabIndex = 54 Me.TextBox7.Text = "3" Me.TextBox7.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'Button3 ' Me.Button3.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button3.Location = New System.Drawing.Point(490, 163) Me.Button3.Name = "Button3" Me.Button3.Size = New System.Drawing.Size(84, 28) Me.Button3.TabIndex = 50 Me.Button3.Text = "设置" Me.Button3.UseVisualStyleBackColor = True ' 'Label7 ' Me.Label7.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label7.Location = New System.Drawing.Point(339, 66) Me.Label7.Name = "Label7" Me.Label7.Size = New System.Drawing.Size(76, 23) Me.Label7.TabIndex = 53 Me.Label7.Text = "上限:" Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'TextBox4 ' Me.TextBox4.Location = New System.Drawing.Point(278, 42) Me.TextBox4.MaxLength = 6 Me.TextBox4.Name = "TextBox4" Me.TextBox4.Size = New System.Drawing.Size(59, 21) Me.TextBox4.TabIndex = 47 Me.TextBox4.Text = "2" Me.TextBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'Label8 ' Me.Label8.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label8.Location = New System.Drawing.Point(192, 66) Me.Label8.Name = "Label8" Me.Label8.Size = New System.Drawing.Size(78, 23) Me.Label8.TabIndex = 51 Me.Label8.Text = "下限:" Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'SplitContainer3 ' Me.SplitContainer3.Dock = System.Windows.Forms.DockStyle.Fill Me.SplitContainer3.Location = New System.Drawing.Point(0, 0) Me.SplitContainer3.Name = "SplitContainer3" ' 'SplitContainer3.Panel1 ' Me.SplitContainer3.Panel1.Controls.Add(Me.RichTextBox1) Me.SplitContainer3.Panel1.Controls.Add(Me.ToolStrip3) Me.SplitContainer3.Panel1.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.SplitContainer3.Panel1Collapsed = True ' 'SplitContainer3.Panel2 ' Me.SplitContainer3.Panel2.Controls.Add(Me.Grid1) Me.SplitContainer3.Size = New System.Drawing.Size(1226, 539) Me.SplitContainer3.SplitterDistance = 424 Me.SplitContainer3.TabIndex = 6 ' 'RichTextBox1 ' Me.RichTextBox1.Dock = System.Windows.Forms.DockStyle.Fill Me.RichTextBox1.Location = New System.Drawing.Point(0, 25) Me.RichTextBox1.Name = "RichTextBox1" Me.RichTextBox1.Size = New System.Drawing.Size(424, 75) Me.RichTextBox1.TabIndex = 0 Me.RichTextBox1.Text = "" ' 'ToolStrip3 ' Me.ToolStrip3.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripButton1}) Me.ToolStrip3.Location = New System.Drawing.Point(0, 0) Me.ToolStrip3.Name = "ToolStrip3" Me.ToolStrip3.Size = New System.Drawing.Size(424, 25) Me.ToolStrip3.TabIndex = 4 Me.ToolStrip3.Text = "ToolStrip3" ' '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 = "清空" ' 'Grid1 ' Me.Grid1.DefaultFont = New System.Drawing.Font("宋体", 9.0!) Me.Grid1.DefaultRowHeight = CType(30, Short) 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(1226, 539) Me.Grid1.TabIndex = 0 ' 'ToolStrip2 ' Me.ToolStrip2.Location = New System.Drawing.Point(3, 3) Me.ToolStrip2.Name = "ToolStrip2" Me.ToolStrip2.Size = New System.Drawing.Size(1226, 25) Me.ToolStrip2.TabIndex = 3 Me.ToolStrip2.Text = "ToolStrip2" ' 'ToolStrip1 ' Me.ToolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom Me.ToolStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripLabel1, Me.ToolStripLabel2}) Me.ToolStrip1.Location = New System.Drawing.Point(3, 809) Me.ToolStrip1.Name = "ToolStrip1" Me.ToolStrip1.Size = New System.Drawing.Size(1226, 25) Me.ToolStrip1.TabIndex = 0 Me.ToolStrip1.Text = "ToolStrip1" ' 'ToolStripLabel1 ' Me.ToolStripLabel1.Name = "ToolStripLabel1" Me.ToolStripLabel1.Size = New System.Drawing.Size(92, 22) Me.ToolStripLabel1.Text = "数据入库状态:" ' 'ToolStripLabel2 ' Me.ToolStripLabel2.AutoSize = False Me.ToolStripLabel2.Name = "ToolStripLabel2" Me.ToolStripLabel2.Size = New System.Drawing.Size(500, 22) ' 'TabPage2 ' Me.TabPage2.Location = New System.Drawing.Point(4, 22) Me.TabPage2.Name = "TabPage2" Me.TabPage2.Padding = New System.Windows.Forms.Padding(3) Me.TabPage2.Size = New System.Drawing.Size(1232, 837) Me.TabPage2.TabIndex = 1 Me.TabPage2.Text = "参数设置" Me.TabPage2.UseVisualStyleBackColor = True ' 'SerialPort1 ' ' 'Timer1 ' ' 'CheckBox1 ' Me.CheckBox1.AutoSize = True Me.CheckBox1.Checked = True Me.CheckBox1.CheckState = System.Windows.Forms.CheckState.Checked Me.CheckBox1.Location = New System.Drawing.Point(212, 17) Me.CheckBox1.Name = "CheckBox1" Me.CheckBox1.Size = New System.Drawing.Size(108, 16) Me.CheckBox1.TabIndex = 73 Me.CheckBox1.Text = "是否写入数据库" Me.CheckBox1.UseVisualStyleBackColor = True ' 'Form1 ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(1240, 863) Me.Controls.Add(Me.TabControl1) Me.Name = "Form1" Me.Text = "Form1" Me.TabControl1.ResumeLayout(False) Me.TabPage1.ResumeLayout(False) Me.TabPage1.PerformLayout() Me.SplitContainer1.Panel1.ResumeLayout(False) 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) CType(Me.SplitContainer2, System.ComponentModel.ISupportInitialize).EndInit() Me.SplitContainer2.ResumeLayout(False) Me.SplitContainer4.Panel2.ResumeLayout(False) Me.SplitContainer4.Panel2.PerformLayout() CType(Me.SplitContainer4, System.ComponentModel.ISupportInitialize).EndInit() Me.SplitContainer4.ResumeLayout(False) Me.SplitContainer3.Panel1.ResumeLayout(False) Me.SplitContainer3.Panel1.PerformLayout() Me.SplitContainer3.Panel2.ResumeLayout(False) CType(Me.SplitContainer3, System.ComponentModel.ISupportInitialize).EndInit() Me.SplitContainer3.ResumeLayout(False) Me.ToolStrip3.ResumeLayout(False) Me.ToolStrip3.PerformLayout() Me.ToolStrip1.ResumeLayout(False) Me.ToolStrip1.PerformLayout() Me.ResumeLayout(False) End Sub Friend WithEvents TabControl1 As TabControl Friend WithEvents TabPage1 As TabPage Friend WithEvents ToolStrip1 As ToolStrip Friend WithEvents TabPage2 As TabPage Friend WithEvents SplitContainer1 As SplitContainer Friend WithEvents SplitContainer2 As SplitContainer Friend WithEvents Label_Time As Label Friend WithEvents label_Tip As Label Friend WithEvents Text_Row As TextBox Friend WithEvents Label1 As Label Friend WithEvents SplitContainer3 As SplitContainer Friend WithEvents ToolStrip2 As ToolStrip Friend WithEvents TextBox2 As TextBox Friend WithEvents Label2 As Label Friend WithEvents Button1 As Button Friend WithEvents Grid1 As FlexCell.Grid Friend WithEvents Btn_OpenPort As Button Friend WithEvents Cbo_Baud As ComboBox Friend WithEvents Cbo_Port As ComboBox Friend WithEvents SerialPort1 As IO.Ports.SerialPort Friend WithEvents Timer1 As Timer Friend WithEvents Button2 As Button Friend WithEvents TextBox1 As TextBox Friend WithEvents Label3 As Label Friend WithEvents TextBox3 As TextBox Friend WithEvents Label4 As Label Friend WithEvents RichTextBox1 As RichTextBox Friend WithEvents ToolStrip3 As ToolStrip Friend WithEvents ToolStripButton1 As ToolStripButton Friend WithEvents SplitContainer4 As SplitContainer Friend WithEvents TextBox14 As TextBox Friend WithEvents TextBox15 As TextBox Friend WithEvents Label15 As Label Friend WithEvents Label16 As Label Friend WithEvents TextBox12 As TextBox Friend WithEvents TextBox13 As TextBox Friend WithEvents Label13 As Label Friend WithEvents Label14 As Label Friend WithEvents TextBox10 As TextBox Friend WithEvents TextBox11 As TextBox Friend WithEvents Label11 As Label Friend WithEvents Label12 As Label Friend WithEvents TextBox8 As TextBox Friend WithEvents TextBox9 As TextBox Friend WithEvents Label9 As Label Friend WithEvents Label10 As Label Friend WithEvents TextBox6 As TextBox Friend WithEvents TextBox7 As TextBox Friend WithEvents Label7 As Label Friend WithEvents Label8 As Label Friend WithEvents TextBox4 As TextBox Friend WithEvents Button3 As Button Friend WithEvents TextBox5 As TextBox Friend WithEvents Label5 As Label Friend WithEvents Label6 As Label Friend WithEvents ToolStripLabel1 As ToolStripLabel Friend WithEvents ToolStripLabel2 As ToolStripLabel Friend WithEvents Label17 As Label Friend WithEvents Label18 As Label Friend WithEvents CheckBox1 As CheckBox End Class