📄 form7.designer.vb
字号:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> Partial Class Form7
#Region "Windows 窗体设计器生成的代码 "
<System.Diagnostics.DebuggerNonUserCode()> Public Sub New()
MyBase.New()
'此调用是 Windows 窗体设计器所必需的。
InitializeComponent()
VB6_AddADODataBinding()
End Sub
'窗体重写释放,以清理组件列表。
<System.Diagnostics.DebuggerNonUserCode()> Protected Overloads Overrides Sub Dispose(ByVal Disposing As Boolean)
If Disposing Then
VB6_RemoveADODataBinding()
If Not components Is Nothing Then
components.Dispose()
End If
End If
MyBase.Dispose(Disposing)
End Sub
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
Public ToolTip1 As System.Windows.Forms.ToolTip
Public WithEvents Text1 As System.Windows.Forms.TextBox
Public WithEvents DataGrid1 As AxMSDataGridLib.AxDataGrid
Public WithEvents Adodc1 As VB6.ADODC
Public WithEvents Command1 As System.Windows.Forms.Button
Public WithEvents Text3 As System.Windows.Forms.TextBox
Public WithEvents Text2 As System.Windows.Forms.TextBox
Public WithEvents Timer1 As System.Windows.Forms.Timer
Public WithEvents MSComm1 As AxMSCommLib.AxMSComm
Public WithEvents Label1 As System.Windows.Forms.Label
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器来修改它。
'不要使用代码编辑器修改它。
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form7))
Me.components = New System.ComponentModel.Container()
Me.ToolTip1 = New System.Windows.Forms.ToolTip(components)
Me.Text1 = New System.Windows.Forms.TextBox
Me.DataGrid1 = New AxMSDataGridLib.AxDataGrid
Me.Adodc1 = New VB6.ADODC
Me.Command1 = New System.Windows.Forms.Button
Me.Text3 = New System.Windows.Forms.TextBox
Me.Text2 = New System.Windows.Forms.TextBox
Me.Timer1 = New System.Windows.Forms.Timer(components)
Me.MSComm1 = New AxMSCommLib.AxMSComm
Me.Label1 = New System.Windows.Forms.Label
Me.SuspendLayout()
Me.ToolTip1.Active = True
CType(Me.DataGrid1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.MSComm1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.Text = "串口数据库存储"
Me.ClientSize = New System.Drawing.Size(691, 520)
Me.Location = New System.Drawing.Point(4, 30)
Me.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultLocation
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.BackColor = System.Drawing.SystemColors.Control
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable
Me.ControlBox = True
Me.Enabled = True
Me.KeyPreview = False
Me.MaximizeBox = True
Me.MinimizeBox = True
Me.Cursor = System.Windows.Forms.Cursors.Default
Me.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.ShowInTaskbar = True
Me.HelpButton = False
Me.WindowState = System.Windows.Forms.FormWindowState.Normal
Me.Name = "Form7"
Me.Text1.AutoSize = False
Me.Text1.Font = New System.Drawing.Font("宋体", 18!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Text1.Size = New System.Drawing.Size(145, 41)
Me.Text1.Location = New System.Drawing.Point(16, 8)
Me.Text1.TabIndex = 5
Me.Text1.Text = "Text1"
Me.Text1.AcceptsReturn = True
Me.Text1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me.Text1.BackColor = System.Drawing.SystemColors.Window
Me.Text1.CausesValidation = True
Me.Text1.Enabled = True
Me.Text1.ForeColor = System.Drawing.SystemColors.WindowText
Me.Text1.HideSelection = True
Me.Text1.ReadOnly = False
Me.Text1.Maxlength = 0
Me.Text1.Cursor = System.Windows.Forms.Cursors.IBeam
Me.Text1.MultiLine = False
Me.Text1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Text1.ScrollBars = System.Windows.Forms.ScrollBars.None
Me.Text1.TabStop = True
Me.Text1.Visible = True
Me.Text1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.Text1.Name = "Text1"
DataGrid1.OcxState = CType(resources.GetObject("DataGrid1.OcxState"), System.Windows.Forms.AxHost.State)
Me.DataGrid1.Size = New System.Drawing.Size(561, 233)
Me.DataGrid1.Location = New System.Drawing.Point(8, 56)
Me.DataGrid1.TabIndex = 4
Me.DataGrid1.Name = "DataGrid1"
Me.Adodc1.Size = New System.Drawing.Size(185, 33)
Me.Adodc1.Location = New System.Drawing.Point(232, 416)
Me.Adodc1.CursorLocation = ADODB.CursorLocationEnum.adUseClient
Me.Adodc1.ConnectionTimeout = 15
Me.Adodc1.CommandTimeout = 30
Me.Adodc1.CursorType = ADODB.CursorTypeEnum.adOpenStatic
Me.Adodc1.LockType = ADODB.LockTypeEnum.adLockOptimistic
Me.Adodc1.CommandType = ADODB.CommandTypeEnum.adCmdTable
Me.Adodc1.CacheSize = 50
Me.Adodc1.MaxRecords = 0
Me.Adodc1.BOFAction = Microsoft.VisualBasic.Compatibility.VB6.ADODC.BOFActionEnum.adDoMoveFirst
Me.Adodc1.EOFAction = Microsoft.VisualBasic.Compatibility.VB6.ADODC.EOFActionEnum.adDoMoveLast
Me.Adodc1.BackColor = System.Drawing.SystemColors.Window
Me.Adodc1.ForeColor = System.Drawing.SystemColors.WindowText
Me.Adodc1.Orientation = Microsoft.VisualBasic.Compatibility.VB6.ADODC.OrientationEnum.adHorizontal
Me.Adodc1.Enabled = True
Me.Adodc1.UserName = ""
Me.Adodc1.RecordSource = "表1"
Me.Adodc1.Text = "Adodc1"
Me.Adodc1.Font = New System.Drawing.Font("宋体", 9!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\VB教学实例\串口_exe\dtat1.mdb;Persist Security Info=False"
Me.Adodc1.Name = "Adodc1"
Me.Command1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.Command1.Text = "数据采集"
Me.Command1.Size = New System.Drawing.Size(81, 33)
Me.Command1.Location = New System.Drawing.Point(328, 328)
Me.Command1.TabIndex = 3
Me.Command1.BackColor = System.Drawing.SystemColors.Control
Me.Command1.CausesValidation = True
Me.Command1.Enabled = True
Me.Command1.ForeColor = System.Drawing.SystemColors.ControlText
Me.Command1.Cursor = System.Windows.Forms.Cursors.Default
Me.Command1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Command1.TabStop = True
Me.Command1.Name = "Command1"
Me.Text3.AutoSize = False
Me.Text3.Size = New System.Drawing.Size(137, 49)
Me.Text3.Location = New System.Drawing.Point(152, 320)
Me.Text3.TabIndex = 1
Me.Text3.AcceptsReturn = True
Me.Text3.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me.Text3.BackColor = System.Drawing.SystemColors.Window
Me.Text3.CausesValidation = True
Me.Text3.Enabled = True
Me.Text3.ForeColor = System.Drawing.SystemColors.WindowText
Me.Text3.HideSelection = True
Me.Text3.ReadOnly = False
Me.Text3.Maxlength = 0
Me.Text3.Cursor = System.Windows.Forms.Cursors.IBeam
Me.Text3.MultiLine = False
Me.Text3.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Text3.ScrollBars = System.Windows.Forms.ScrollBars.None
Me.Text3.TabStop = True
Me.Text3.Visible = True
Me.Text3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.Text3.Name = "Text3"
Me.Text2.AutoSize = False
Me.Text2.Font = New System.Drawing.Font("宋体", 18!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Text2.Size = New System.Drawing.Size(145, 41)
Me.Text2.Location = New System.Drawing.Point(168, 8)
Me.Text2.TabIndex = 0
Me.Text2.Text = "Text2"
Me.Text2.AcceptsReturn = True
Me.Text2.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me.Text2.BackColor = System.Drawing.SystemColors.Window
Me.Text2.CausesValidation = True
Me.Text2.Enabled = True
Me.Text2.ForeColor = System.Drawing.SystemColors.WindowText
Me.Text2.HideSelection = True
Me.Text2.ReadOnly = False
Me.Text2.Maxlength = 0
Me.Text2.Cursor = System.Windows.Forms.Cursors.IBeam
Me.Text2.MultiLine = False
Me.Text2.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Text2.ScrollBars = System.Windows.Forms.ScrollBars.None
Me.Text2.TabStop = True
Me.Text2.Visible = True
Me.Text2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.Text2.Name = "Text2"
Me.Timer1.Enabled = False
Me.Timer1.Interval = 1000
MSComm1.OcxState = CType(resources.GetObject("MSComm1.OcxState"), System.Windows.Forms.AxHost.State)
Me.MSComm1.Location = New System.Drawing.Point(56, 400)
Me.MSComm1.Name = "MSComm1"
Me.Label1.Text = "操作人员姓名"
Me.Label1.Font = New System.Drawing.Font("宋体", 15!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label1.Size = New System.Drawing.Size(120, 20)
Me.Label1.Location = New System.Drawing.Point(24, 336)
Me.Label1.TabIndex = 2
Me.Label1.TextAlign = System.Drawing.ContentAlignment.TopLeft
Me.Label1.BackColor = System.Drawing.SystemColors.Control
Me.Label1.Enabled = True
Me.Label1.ForeColor = System.Drawing.SystemColors.ControlText
Me.Label1.Cursor = System.Windows.Forms.Cursors.Default
Me.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Label1.UseMnemonic = True
Me.Label1.Visible = True
Me.Label1.AutoSize = True
Me.Label1.BorderStyle = System.Windows.Forms.BorderStyle.None
Me.Label1.Name = "Label1"
Me.Controls.Add(Text1)
Me.Controls.Add(DataGrid1)
Me.Controls.Add(Adodc1)
Me.Controls.Add(Command1)
Me.Controls.Add(Text3)
Me.Controls.Add(Text2)
Me.Controls.Add(MSComm1)
Me.Controls.Add(Label1)
CType(Me.MSComm1, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.DataGrid1, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
#End Region
#Region "Upgrade Support"
Public Sub VB6_AddADODataBinding()
DataGrid1.DataSource = CType(Adodc1, msdatasrc.DataSource)
End Sub
Public Sub VB6_RemoveADODataBinding()
DataGrid1.DataSource = Nothing
End Sub
#End Region
End Class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -