_ Partial Class FrmMain 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(FrmMain)) Me.lab_Result = New System.Windows.Forms.Label() Me.lab_ModelName = New System.Windows.Forms.Label() Me.BtnOpenProject = New System.Windows.Forms.Button() Me.BtnStartProgramming = New System.Windows.Forms.Button() Me.GroupBox2 = New System.Windows.Forms.GroupBox() Me.TxtThirdRecord = New System.Windows.Forms.TextBox() Me.TxtFifthRecord = New System.Windows.Forms.TextBox() Me.TxtFourthRecord = New System.Windows.Forms.TextBox() Me.RadFour = New System.Windows.Forms.RadioButton() Me.RadThree = New System.Windows.Forms.RadioButton() Me.RadTwo = New System.Windows.Forms.RadioButton() Me.RadSingle = New System.Windows.Forms.RadioButton() Me.TxtSecondRecord = New System.Windows.Forms.TextBox() Me.GroupBox1 = New System.Windows.Forms.GroupBox() Me.TxtFirstRecord = New System.Windows.Forms.TextBox() Me.GroupBox3 = New System.Windows.Forms.GroupBox() Me.RtxLog = New System.Windows.Forms.RichTextBox() Me.GroupBox4 = New System.Windows.Forms.GroupBox() Me.CboProductionLines = New System.Windows.Forms.ComboBox() Me.StatusStrip1 = New System.Windows.Forms.StatusStrip() Me.TssLblProductionLine = New System.Windows.Forms.ToolStripStatusLabel() Me.TssLblStaion = New System.Windows.Forms.ToolStripStatusLabel() Me.TsLblCheckSum = New System.Windows.Forms.ToolStripStatusLabel() Me.TssLblPassCount = New System.Windows.Forms.ToolStripStatusLabel() Me.TssLblFailCount = New System.Windows.Forms.ToolStripStatusLabel() Me.TssLblYield = New System.Windows.Forms.ToolStripStatusLabel() Me.GroupBox2.SuspendLayout() Me.GroupBox1.SuspendLayout() Me.GroupBox3.SuspendLayout() Me.GroupBox4.SuspendLayout() Me.StatusStrip1.SuspendLayout() Me.SuspendLayout() ' 'lab_Result ' Me.lab_Result.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.lab_Result.BackColor = System.Drawing.Color.Black Me.lab_Result.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D Me.lab_Result.Font = New System.Drawing.Font("Consolas", 27.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.lab_Result.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer)) Me.lab_Result.Location = New System.Drawing.Point(447, 84) Me.lab_Result.Name = "lab_Result" Me.lab_Result.Size = New System.Drawing.Size(433, 112) Me.lab_Result.TabIndex = 13 Me.lab_Result.Text = "PASS" Me.lab_Result.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'lab_ModelName ' Me.lab_ModelName.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.lab_ModelName.BackColor = System.Drawing.SystemColors.ActiveCaption Me.lab_ModelName.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D Me.lab_ModelName.Font = New System.Drawing.Font("Consolas", 27.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.lab_ModelName.Location = New System.Drawing.Point(447, 9) Me.lab_ModelName.Name = "lab_ModelName" Me.lab_ModelName.Size = New System.Drawing.Size(433, 67) Me.lab_ModelName.TabIndex = 12 Me.lab_ModelName.Text = "SW-570" Me.lab_ModelName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'BtnOpenProject ' Me.BtnOpenProject.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.BtnOpenProject.Font = New System.Drawing.Font("微软雅黑", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.BtnOpenProject.Location = New System.Drawing.Point(447, 204) Me.BtnOpenProject.Name = "BtnOpenProject" Me.BtnOpenProject.Size = New System.Drawing.Size(169, 104) Me.BtnOpenProject.TabIndex = 11 Me.BtnOpenProject.Text = "选择项目" Me.BtnOpenProject.UseVisualStyleBackColor = True ' 'BtnStartProgramming ' Me.BtnStartProgramming.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.BtnStartProgramming.Font = New System.Drawing.Font("微软雅黑", 24.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.BtnStartProgramming.ForeColor = System.Drawing.Color.Blue Me.BtnStartProgramming.Location = New System.Drawing.Point(622, 204) Me.BtnStartProgramming.Name = "BtnStartProgramming" Me.BtnStartProgramming.Size = New System.Drawing.Size(258, 104) Me.BtnStartProgramming.TabIndex = 10 Me.BtnStartProgramming.Text = "开始录入" Me.BtnStartProgramming.UseVisualStyleBackColor = True ' 'GroupBox2 ' Me.GroupBox2.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.GroupBox2.Controls.Add(Me.TxtThirdRecord) Me.GroupBox2.Controls.Add(Me.TxtFifthRecord) Me.GroupBox2.Controls.Add(Me.TxtFourthRecord) Me.GroupBox2.Controls.Add(Me.RadFour) Me.GroupBox2.Controls.Add(Me.RadThree) Me.GroupBox2.Controls.Add(Me.RadTwo) Me.GroupBox2.Controls.Add(Me.RadSingle) Me.GroupBox2.Controls.Add(Me.TxtSecondRecord) Me.GroupBox2.Font = New System.Drawing.Font("微软雅黑", 15.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.GroupBox2.ForeColor = System.Drawing.Color.Blue Me.GroupBox2.Location = New System.Drawing.Point(3, 143) Me.GroupBox2.Name = "GroupBox2" Me.GroupBox2.Size = New System.Drawing.Size(439, 165) Me.GroupBox2.TabIndex = 15 Me.GroupBox2.TabStop = False Me.GroupBox2.Text = "其他序号" ' 'TxtThirdRecord ' Me.TxtThirdRecord.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.TxtThirdRecord.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper Me.TxtThirdRecord.Font = New System.Drawing.Font("微软雅黑", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.TxtThirdRecord.ImeMode = System.Windows.Forms.ImeMode.Disable Me.TxtThirdRecord.Location = New System.Drawing.Point(0, 72) Me.TxtThirdRecord.Multiline = True Me.TxtThirdRecord.Name = "TxtThirdRecord" Me.TxtThirdRecord.Size = New System.Drawing.Size(433, 26) Me.TxtThirdRecord.TabIndex = 11 Me.TxtThirdRecord.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'TxtFifthRecord ' Me.TxtFifthRecord.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.TxtFifthRecord.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper Me.TxtFifthRecord.Font = New System.Drawing.Font("微软雅黑", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.TxtFifthRecord.ImeMode = System.Windows.Forms.ImeMode.Disable Me.TxtFifthRecord.Location = New System.Drawing.Point(0, 134) Me.TxtFifthRecord.Name = "TxtFifthRecord" Me.TxtFifthRecord.Size = New System.Drawing.Size(433, 29) Me.TxtFifthRecord.TabIndex = 10 Me.TxtFifthRecord.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'TxtFourthRecord ' Me.TxtFourthRecord.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.TxtFourthRecord.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper Me.TxtFourthRecord.Font = New System.Drawing.Font("微软雅黑", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.TxtFourthRecord.ImeMode = System.Windows.Forms.ImeMode.Disable Me.TxtFourthRecord.Location = New System.Drawing.Point(0, 103) Me.TxtFourthRecord.Multiline = True Me.TxtFourthRecord.Name = "TxtFourthRecord" Me.TxtFourthRecord.Size = New System.Drawing.Size(433, 26) Me.TxtFourthRecord.TabIndex = 9 Me.TxtFourthRecord.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'RadFour ' Me.RadFour.AutoSize = True Me.RadFour.Font = New System.Drawing.Font("微软雅黑", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.RadFour.Location = New System.Drawing.Point(370, 15) Me.RadFour.Name = "RadFour" Me.RadFour.Size = New System.Drawing.Size(62, 21) Me.RadFour.TabIndex = 8 Me.RadFour.TabStop = True Me.RadFour.Tag = "4" Me.RadFour.Text = "四条码" Me.RadFour.UseVisualStyleBackColor = True ' 'RadThree ' Me.RadThree.AutoSize = True Me.RadThree.Font = New System.Drawing.Font("微软雅黑", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.RadThree.Location = New System.Drawing.Point(281, 15) Me.RadThree.Name = "RadThree" Me.RadThree.Size = New System.Drawing.Size(62, 21) Me.RadThree.TabIndex = 7 Me.RadThree.TabStop = True Me.RadThree.Tag = "3" Me.RadThree.Text = "三条码" Me.RadThree.UseVisualStyleBackColor = True ' 'RadTwo ' Me.RadTwo.AutoSize = True Me.RadTwo.Font = New System.Drawing.Font("微软雅黑", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.RadTwo.Location = New System.Drawing.Point(192, 15) Me.RadTwo.Name = "RadTwo" Me.RadTwo.Size = New System.Drawing.Size(62, 21) Me.RadTwo.TabIndex = 6 Me.RadTwo.TabStop = True Me.RadTwo.Tag = "2" Me.RadTwo.Text = "双条码" Me.RadTwo.UseVisualStyleBackColor = True ' 'RadSingle ' Me.RadSingle.AutoSize = True Me.RadSingle.Font = New System.Drawing.Font("微软雅黑", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.RadSingle.Location = New System.Drawing.Point(103, 15) Me.RadSingle.Name = "RadSingle" Me.RadSingle.Size = New System.Drawing.Size(62, 21) Me.RadSingle.TabIndex = 5 Me.RadSingle.TabStop = True Me.RadSingle.Tag = "1" Me.RadSingle.Text = "单条码" Me.RadSingle.UseVisualStyleBackColor = True ' 'TxtSecondRecord ' Me.TxtSecondRecord.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.TxtSecondRecord.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper Me.TxtSecondRecord.Font = New System.Drawing.Font("微软雅黑", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.TxtSecondRecord.ImeMode = System.Windows.Forms.ImeMode.Disable Me.TxtSecondRecord.Location = New System.Drawing.Point(0, 41) Me.TxtSecondRecord.Name = "TxtSecondRecord" Me.TxtSecondRecord.Size = New System.Drawing.Size(433, 29) Me.TxtSecondRecord.TabIndex = 2 Me.TxtSecondRecord.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'GroupBox1 ' Me.GroupBox1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.GroupBox1.Controls.Add(Me.TxtFirstRecord) Me.GroupBox1.Font = New System.Drawing.Font("微软雅黑", 15.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.GroupBox1.Location = New System.Drawing.Point(3, 72) Me.GroupBox1.Name = "GroupBox1" Me.GroupBox1.Size = New System.Drawing.Size(439, 65) Me.GroupBox1.TabIndex = 16 Me.GroupBox1.TabStop = False Me.GroupBox1.Text = "成品序号" ' 'TxtFirstRecord ' Me.TxtFirstRecord.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper Me.TxtFirstRecord.Dock = System.Windows.Forms.DockStyle.Fill Me.TxtFirstRecord.Font = New System.Drawing.Font("微软雅黑", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.TxtFirstRecord.ImeMode = System.Windows.Forms.ImeMode.Disable Me.TxtFirstRecord.Location = New System.Drawing.Point(3, 30) Me.TxtFirstRecord.Name = "TxtFirstRecord" Me.TxtFirstRecord.Size = New System.Drawing.Size(433, 29) Me.TxtFirstRecord.TabIndex = 1 Me.TxtFirstRecord.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'GroupBox3 ' Me.GroupBox3.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _ Or System.Windows.Forms.AnchorStyles.Left) _ Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.GroupBox3.Controls.Add(Me.RtxLog) Me.GroupBox3.Font = New System.Drawing.Font("宋体", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.GroupBox3.Location = New System.Drawing.Point(0, 314) Me.GroupBox3.Name = "GroupBox3" Me.GroupBox3.Size = New System.Drawing.Size(878, 245) Me.GroupBox3.TabIndex = 17 Me.GroupBox3.TabStop = False Me.GroupBox3.Text = "录入记录" ' 'RtxLog ' Me.RtxLog.BorderStyle = System.Windows.Forms.BorderStyle.None Me.RtxLog.Dock = System.Windows.Forms.DockStyle.Fill Me.RtxLog.Location = New System.Drawing.Point(3, 22) Me.RtxLog.Name = "RtxLog" Me.RtxLog.Size = New System.Drawing.Size(872, 220) Me.RtxLog.TabIndex = 0 Me.RtxLog.Text = "" ' 'GroupBox4 ' Me.GroupBox4.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _ Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.GroupBox4.Controls.Add(Me.CboProductionLines) Me.GroupBox4.Font = New System.Drawing.Font("微软雅黑", 15.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.GroupBox4.Location = New System.Drawing.Point(3, 2) Me.GroupBox4.Name = "GroupBox4" Me.GroupBox4.Size = New System.Drawing.Size(439, 64) Me.GroupBox4.TabIndex = 18 Me.GroupBox4.TabStop = False Me.GroupBox4.Text = "产线" ' 'CboProductionLines ' Me.CboProductionLines.Dock = System.Windows.Forms.DockStyle.Fill Me.CboProductionLines.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList Me.CboProductionLines.Font = New System.Drawing.Font("微软雅黑", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.CboProductionLines.ForeColor = System.Drawing.Color.Gray Me.CboProductionLines.FormattingEnabled = True Me.CboProductionLines.Items.AddRange(New Object() {"Q1", "Q2", "Q3", "Q4"}) Me.CboProductionLines.Location = New System.Drawing.Point(3, 30) Me.CboProductionLines.Name = "CboProductionLines" Me.CboProductionLines.Size = New System.Drawing.Size(433, 34) Me.CboProductionLines.TabIndex = 0 Me.CboProductionLines.TabStop = False ' 'StatusStrip1 ' Me.StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.TssLblProductionLine, Me.TssLblStaion, Me.TsLblCheckSum, Me.TssLblPassCount, Me.TssLblFailCount, Me.TssLblYield}) Me.StatusStrip1.Location = New System.Drawing.Point(0, 563) Me.StatusStrip1.Name = "StatusStrip1" Me.StatusStrip1.Size = New System.Drawing.Size(880, 22) Me.StatusStrip1.TabIndex = 19 Me.StatusStrip1.Text = "StatusStrip1" ' 'TssLblProductionLine ' Me.TssLblProductionLine.ForeColor = System.Drawing.Color.Black Me.TssLblProductionLine.Name = "TssLblProductionLine" Me.TssLblProductionLine.Size = New System.Drawing.Size(44, 17) Me.TssLblProductionLine.Text = "A-Line" ' 'TssLblStaion ' Me.TssLblStaion.ForeColor = System.Drawing.Color.Black Me.TssLblStaion.Name = "TssLblStaion" Me.TssLblStaion.Size = New System.Drawing.Size(68, 17) Me.TssLblStaion.Text = "BLV-12 A1" ' 'TsLblCheckSum ' Me.TsLblCheckSum.Name = "TsLblCheckSum" Me.TsLblCheckSum.Size = New System.Drawing.Size(64, 17) Me.TsLblCheckSum.Text = "Sum:0000" ' 'TssLblPassCount ' Me.TssLblPassCount.Name = "TssLblPassCount" Me.TssLblPassCount.Size = New System.Drawing.Size(65, 17) Me.TssLblPassCount.Text = "Pass:0000" ' 'TssLblFailCount ' Me.TssLblFailCount.Name = "TssLblFailCount" Me.TssLblFailCount.Size = New System.Drawing.Size(58, 17) Me.TssLblFailCount.Text = "Fail:0000" ' 'TssLblYield ' Me.TssLblYield.Name = "TssLblYield" Me.TssLblYield.Size = New System.Drawing.Size(81, 17) Me.TssLblYield.Text = "Yield:00.00%" ' 'FrmMain ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6!, 12!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(880, 585) Me.Controls.Add(Me.StatusStrip1) Me.Controls.Add(Me.GroupBox4) Me.Controls.Add(Me.GroupBox3) Me.Controls.Add(Me.GroupBox2) Me.Controls.Add(Me.GroupBox1) Me.Controls.Add(Me.lab_Result) Me.Controls.Add(Me.lab_ModelName) Me.Controls.Add(Me.BtnOpenProject) Me.Controls.Add(Me.BtnStartProgramming) Me.Icon = CType(resources.GetObject("$this.Icon"),System.Drawing.Icon) Me.Name = "FrmMain" Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen Me.Text = "Form1" Me.GroupBox2.ResumeLayout(false) Me.GroupBox2.PerformLayout Me.GroupBox1.ResumeLayout(false) Me.GroupBox1.PerformLayout Me.GroupBox3.ResumeLayout(false) Me.GroupBox4.ResumeLayout(false) Me.StatusStrip1.ResumeLayout(false) Me.StatusStrip1.PerformLayout Me.ResumeLayout(false) Me.PerformLayout End Sub Friend WithEvents lab_Result As Label Friend WithEvents lab_ModelName As Label Friend WithEvents BtnOpenProject As Button Friend WithEvents BtnStartProgramming As Button Friend WithEvents GroupBox2 As GroupBox Friend WithEvents TxtSecondRecord As TextBox Friend WithEvents GroupBox1 As GroupBox Friend WithEvents TxtFirstRecord As TextBox Friend WithEvents GroupBox3 As GroupBox Friend WithEvents RtxLog As RichTextBox Friend WithEvents GroupBox4 As GroupBox Friend WithEvents CboProductionLines As ComboBox Friend WithEvents StatusStrip1 As StatusStrip Friend WithEvents TssLblProductionLine As ToolStripStatusLabel Friend WithEvents TssLblStaion As ToolStripStatusLabel Friend WithEvents TsLblCheckSum As ToolStripStatusLabel Friend WithEvents TssLblPassCount As ToolStripStatusLabel Friend WithEvents TssLblFailCount As ToolStripStatusLabel Friend WithEvents TssLblYield As ToolStripStatusLabel Friend WithEvents RadSingle As RadioButton Friend WithEvents RadTwo As RadioButton Friend WithEvents RadThree As RadioButton Friend WithEvents RadFour As RadioButton Friend WithEvents TxtFourthRecord As TextBox Friend WithEvents TxtFifthRecord As TextBox Friend WithEvents TxtThirdRecord As TextBox End Class