📄 booksearch.vb
字号:
Public Class BookSearch
Inherits System.Windows.Forms.Form
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写 dispose 以清理组件列表。
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
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents ColumnHeader1 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader2 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader3 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader4 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader5 As System.Windows.Forms.ColumnHeader
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents txtAuthorName As System.Windows.Forms.TextBox
Friend WithEvents txtBookName As System.Windows.Forms.TextBox
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents btnSearch As System.Windows.Forms.Button
Friend WithEvents lsvResult As System.Windows.Forms.ListView
Friend WithEvents btnCancel As System.Windows.Forms.Button
Friend WithEvents btnSiMu As System.Windows.Forms.Button
Friend WithEvents txtBookISBN As System.Windows.Forms.TextBox
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents txtFromPrice As System.Windows.Forms.TextBox
Friend WithEvents txtPress As System.Windows.Forms.TextBox
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents txtToPrice As System.Windows.Forms.TextBox
Friend WithEvents cmbBookType As System.Windows.Forms.ComboBox
Friend WithEvents chkFuzzy As System.Windows.Forms.CheckBox
Friend WithEvents chkOr As System.Windows.Forms.CheckBox
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.chkOr = New System.Windows.Forms.CheckBox
Me.chkFuzzy = New System.Windows.Forms.CheckBox
Me.cmbBookType = New System.Windows.Forms.ComboBox
Me.txtToPrice = New System.Windows.Forms.TextBox
Me.Label7 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.txtFromPrice = New System.Windows.Forms.TextBox
Me.txtPress = New System.Windows.Forms.TextBox
Me.Label5 = New System.Windows.Forms.Label
Me.txtBookISBN = New System.Windows.Forms.TextBox
Me.Label4 = New System.Windows.Forms.Label
Me.Label6 = New System.Windows.Forms.Label
Me.txtAuthorName = New System.Windows.Forms.TextBox
Me.txtBookName = New System.Windows.Forms.TextBox
Me.Label1 = New System.Windows.Forms.Label
Me.btnSearch = New System.Windows.Forms.Button
Me.lsvResult = New System.Windows.Forms.ListView
Me.ColumnHeader1 = New System.Windows.Forms.ColumnHeader
Me.ColumnHeader2 = New System.Windows.Forms.ColumnHeader
Me.ColumnHeader3 = New System.Windows.Forms.ColumnHeader
Me.ColumnHeader4 = New System.Windows.Forms.ColumnHeader
Me.ColumnHeader5 = New System.Windows.Forms.ColumnHeader
Me.btnCancel = New System.Windows.Forms.Button
Me.btnSiMu = New System.Windows.Forms.Button
Me.GroupBox1.SuspendLayout()
Me.SuspendLayout()
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.chkOr)
Me.GroupBox1.Controls.Add(Me.chkFuzzy)
Me.GroupBox1.Controls.Add(Me.cmbBookType)
Me.GroupBox1.Controls.Add(Me.txtToPrice)
Me.GroupBox1.Controls.Add(Me.Label7)
Me.GroupBox1.Controls.Add(Me.Label2)
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.txtFromPrice)
Me.GroupBox1.Controls.Add(Me.txtPress)
Me.GroupBox1.Controls.Add(Me.Label5)
Me.GroupBox1.Controls.Add(Me.txtBookISBN)
Me.GroupBox1.Controls.Add(Me.Label4)
Me.GroupBox1.Controls.Add(Me.Label6)
Me.GroupBox1.Controls.Add(Me.txtAuthorName)
Me.GroupBox1.Controls.Add(Me.txtBookName)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Controls.Add(Me.btnSearch)
Me.GroupBox1.Location = New System.Drawing.Point(10, 9)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(566, 127)
Me.GroupBox1.TabIndex = 27
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "设置查询条件"
'
'chkOr
'
Me.chkOr.Location = New System.Drawing.Point(464, 40)
Me.chkOr.Name = "chkOr"
Me.chkOr.Size = New System.Drawing.Size(64, 24)
Me.chkOr.TabIndex = 45
Me.chkOr.Text = "或关系"
'
'chkFuzzy
'
Me.chkFuzzy.Location = New System.Drawing.Point(464, 16)
Me.chkFuzzy.Name = "chkFuzzy"
Me.chkFuzzy.Size = New System.Drawing.Size(80, 24)
Me.chkFuzzy.TabIndex = 44
Me.chkFuzzy.Text = "模糊查询"
'
'cmbBookType
'
Me.cmbBookType.Location = New System.Drawing.Point(280, 16)
Me.cmbBookType.Name = "cmbBookType"
Me.cmbBookType.Size = New System.Drawing.Size(144, 20)
Me.cmbBookType.TabIndex = 43
'
'txtToPrice
'
Me.txtToPrice.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtToPrice.Location = New System.Drawing.Point(368, 80)
Me.txtToPrice.Name = "txtToPrice"
Me.txtToPrice.Size = New System.Drawing.Size(56, 21)
Me.txtToPrice.TabIndex = 42
Me.txtToPrice.Text = ""
'
'Label7
'
Me.Label7.AutoSize = True
Me.Label7.Location = New System.Drawing.Point(344, 88)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(17, 17)
Me.Label7.TabIndex = 41
Me.Label7.Text = "至"
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Location = New System.Drawing.Point(232, 24)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(29, 17)
Me.Label2.TabIndex = 39
Me.Label2.Text = "类型"
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Location = New System.Drawing.Point(232, 88)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(29, 17)
Me.Label3.TabIndex = 37
Me.Label3.Text = "价格"
'
'txtFromPrice
'
Me.txtFromPrice.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtFromPrice.Location = New System.Drawing.Point(280, 80)
Me.txtFromPrice.Name = "txtFromPrice"
Me.txtFromPrice.Size = New System.Drawing.Size(56, 21)
Me.txtFromPrice.TabIndex = 38
Me.txtFromPrice.Text = ""
'
'txtPress
'
Me.txtPress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtPress.Location = New System.Drawing.Point(280, 48)
Me.txtPress.Name = "txtPress"
Me.txtPress.Size = New System.Drawing.Size(144, 21)
Me.txtPress.TabIndex = 36
Me.txtPress.Text = ""
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Location = New System.Drawing.Point(232, 56)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(42, 17)
Me.Label5.TabIndex = 35
Me.Label5.Text = "出版社"
'
'txtBookISBN
'
Me.txtBookISBN.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtBookISBN.Location = New System.Drawing.Point(88, 16)
Me.txtBookISBN.Name = "txtBookISBN"
Me.txtBookISBN.Size = New System.Drawing.Size(128, 21)
Me.txtBookISBN.TabIndex = 34
Me.txtBookISBN.Text = ""
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Location = New System.Drawing.Point(24, 24)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(54, 17)
Me.Label4.TabIndex = 33
Me.Label4.Text = "书籍ISBN"
'
'Label6
'
Me.Label6.AutoSize = True
Me.Label6.Location = New System.Drawing.Point(24, 88)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(29, 17)
Me.Label6.TabIndex = 31
Me.Label6.Text = "作者"
'
'txtAuthorName
'
Me.txtAuthorName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtAuthorName.Location = New System.Drawing.Point(88, 80)
Me.txtAuthorName.Name = "txtAuthorName"
Me.txtAuthorName.Size = New System.Drawing.Size(128, 21)
Me.txtAuthorName.TabIndex = 32
Me.txtAuthorName.Text = ""
'
'txtBookName
'
Me.txtBookName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtBookName.Location = New System.Drawing.Point(88, 48)
Me.txtBookName.Name = "txtBookName"
Me.txtBookName.Size = New System.Drawing.Size(128, 21)
Me.txtBookName.TabIndex = 29
Me.txtBookName.Text = ""
'
'Label1
'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -