📄 acquery.vb
字号:
Public Class acquery
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
Dim myResult As Short
myResult = OpenDb()
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents txtaname As System.Windows.Forms.TextBox
Friend WithEvents txtano As System.Windows.Forms.TextBox
Friend WithEvents txtdescript As System.Windows.Forms.TextBox
Friend WithEvents btpre As System.Windows.Forms.Button
Friend WithEvents btfirst As System.Windows.Forms.Button
Friend WithEvents btlast As System.Windows.Forms.Button
Friend WithEvents txtstand As System.Windows.Forms.TextBox
Friend WithEvents txtprice As System.Windows.Forms.TextBox
Friend WithEvents btnext As System.Windows.Forms.Button
Friend WithEvents btexit As System.Windows.Forms.Button
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents btsearch As System.Windows.Forms.Button
Friend WithEvents cmbsearch As System.Windows.Forms.ComboBox
Friend WithEvents txtsearch As System.Windows.Forms.TextBox
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label4 = New System.Windows.Forms.Label()
Me.Label5 = New System.Windows.Forms.Label()
Me.Label6 = New System.Windows.Forms.Label()
Me.txtaname = New System.Windows.Forms.TextBox()
Me.txtano = New System.Windows.Forms.TextBox()
Me.txtstand = New System.Windows.Forms.TextBox()
Me.txtprice = New System.Windows.Forms.TextBox()
Me.txtdescript = New System.Windows.Forms.TextBox()
Me.btpre = New System.Windows.Forms.Button()
Me.btnext = New System.Windows.Forms.Button()
Me.btfirst = New System.Windows.Forms.Button()
Me.btlast = New System.Windows.Forms.Button()
Me.btexit = New System.Windows.Forms.Button()
Me.Label3 = New System.Windows.Forms.Label()
Me.btsearch = New System.Windows.Forms.Button()
Me.cmbsearch = New System.Windows.Forms.ComboBox()
Me.txtsearch = New System.Windows.Forms.TextBox()
Me.SuspendLayout()
'
'Label1
'
Me.Label1.Font = New System.Drawing.Font("隶书", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label1.Location = New System.Drawing.Point(8, 24)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(72, 21)
Me.Label1.TabIndex = 0
Me.Label1.Text = "零件名"
Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label2
'
Me.Label2.Font = New System.Drawing.Font("隶书", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label2.Location = New System.Drawing.Point(192, 24)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(72, 23)
Me.Label2.TabIndex = 1
Me.Label2.Text = "零件号"
'
'Label4
'
Me.Label4.Font = New System.Drawing.Font("隶书", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label4.Location = New System.Drawing.Point(8, 112)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(72, 21)
Me.Label4.TabIndex = 3
Me.Label4.Text = " 描述"
'
'Label5
'
Me.Label5.Font = New System.Drawing.Font("隶书", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label5.Location = New System.Drawing.Point(192, 72)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(80, 23)
Me.Label5.TabIndex = 4
Me.Label5.Text = "单价"
'
'Label6
'
Me.Label6.Font = New System.Drawing.Font("隶书", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label6.Location = New System.Drawing.Point(8, 72)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(80, 21)
Me.Label6.TabIndex = 5
Me.Label6.Text = "国标"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'txtaname
'
Me.txtaname.Location = New System.Drawing.Point(80, 24)
Me.txtaname.Name = "txtaname"
Me.txtaname.Size = New System.Drawing.Size(80, 21)
Me.txtaname.TabIndex = 6
Me.txtaname.Text = ""
'
'txtano
'
Me.txtano.Location = New System.Drawing.Point(240, 24)
Me.txtano.Name = "txtano"
Me.txtano.Size = New System.Drawing.Size(80, 21)
Me.txtano.TabIndex = 7
Me.txtano.Text = ""
'
'txtstand
'
Me.txtstand.Location = New System.Drawing.Point(80, 72)
Me.txtstand.Name = "txtstand"
Me.txtstand.Size = New System.Drawing.Size(80, 21)
Me.txtstand.TabIndex = 8
Me.txtstand.Text = ""
'
'txtprice
'
Me.txtprice.Location = New System.Drawing.Point(240, 72)
Me.txtprice.Name = "txtprice"
Me.txtprice.Size = New System.Drawing.Size(80, 21)
Me.txtprice.TabIndex = 9
Me.txtprice.Text = ""
'
'txtdescript
'
Me.txtdescript.Location = New System.Drawing.Point(80, 112)
Me.txtdescript.Name = "txtdescript"
Me.txtdescript.Size = New System.Drawing.Size(168, 21)
Me.txtdescript.TabIndex = 10
Me.txtdescript.Text = ""
'
'btpre
'
Me.btpre.Location = New System.Drawing.Point(8, 144)
Me.btpre.Name = "btpre"
Me.btpre.Size = New System.Drawing.Size(56, 23)
Me.btpre.TabIndex = 11
Me.btpre.Text = "上一条"
'
'btnext
'
Me.btnext.Location = New System.Drawing.Point(88, 144)
Me.btnext.Name = "btnext"
Me.btnext.Size = New System.Drawing.Size(56, 23)
Me.btnext.TabIndex = 12
Me.btnext.Text = "下一条"
'
'btfirst
'
Me.btfirst.Location = New System.Drawing.Point(168, 144)
Me.btfirst.Name = "btfirst"
Me.btfirst.Size = New System.Drawing.Size(64, 23)
Me.btfirst.TabIndex = 13
Me.btfirst.Text = "第一条"
'
'btlast
'
Me.btlast.Location = New System.Drawing.Point(256, 144)
Me.btlast.Name = "btlast"
Me.btlast.Size = New System.Drawing.Size(64, 23)
Me.btlast.TabIndex = 14
Me.btlast.Text = "最末条"
'
'btexit
'
Me.btexit.Location = New System.Drawing.Point(256, 112)
Me.btexit.Name = "btexit"
Me.btexit.Size = New System.Drawing.Size(64, 23)
Me.btexit.TabIndex = 15
Me.btexit.Text = "退出"
'
'Label3
'
Me.Label3.Font = New System.Drawing.Font("隶书", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label3.Location = New System.Drawing.Point(8, 184)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(72, 21)
Me.Label3.TabIndex = 16
Me.Label3.Text = "查询条件"
'
'btsearch
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -