📄 bookedit.vb
字号:
Public Class BookEdit
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 Label5 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents txtBookName As System.Windows.Forms.TextBox
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents txtAuthorName As System.Windows.Forms.TextBox
Friend WithEvents txtBookPrice As System.Windows.Forms.TextBox
Friend WithEvents dtpPressDate As System.Windows.Forms.DateTimePicker
Friend WithEvents btnCancel As System.Windows.Forms.Button
Friend WithEvents btnUpdate As System.Windows.Forms.Button
Friend WithEvents cmbBookType As System.Windows.Forms.ComboBox
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents cmbBookISBN As System.Windows.Forms.ComboBox
Friend WithEvents btnDelete As System.Windows.Forms.Button
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents txtPress As System.Windows.Forms.TextBox
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.txtBookPrice = New System.Windows.Forms.TextBox
Me.txtBookName = New System.Windows.Forms.TextBox
Me.btnCancel = New System.Windows.Forms.Button
Me.btnUpdate = New System.Windows.Forms.Button
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.cmbBookISBN = New System.Windows.Forms.ComboBox
Me.cmbBookType = New System.Windows.Forms.ComboBox
Me.Label7 = New System.Windows.Forms.Label
Me.GroupBox2 = New System.Windows.Forms.GroupBox
Me.Label2 = New System.Windows.Forms.Label
Me.txtPress = New System.Windows.Forms.TextBox
Me.dtpPressDate = New System.Windows.Forms.DateTimePicker
Me.Label6 = New System.Windows.Forms.Label
Me.txtAuthorName = New System.Windows.Forms.TextBox
Me.btnDelete = New System.Windows.Forms.Button
Me.GroupBox1.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.SuspendLayout()
'
'txtBookPrice
'
Me.txtBookPrice.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtBookPrice.Location = New System.Drawing.Point(168, 128)
Me.txtBookPrice.Name = "txtBookPrice"
Me.txtBookPrice.Size = New System.Drawing.Size(211, 21)
Me.txtBookPrice.TabIndex = 21
Me.txtBookPrice.Text = ""
'
'txtBookName
'
Me.txtBookName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtBookName.Location = New System.Drawing.Point(168, 19)
Me.txtBookName.Name = "txtBookName"
Me.txtBookName.Size = New System.Drawing.Size(211, 21)
Me.txtBookName.TabIndex = 20
Me.txtBookName.Text = ""
'
'btnCancel
'
Me.btnCancel.Location = New System.Drawing.Point(280, 368)
Me.btnCancel.Name = "btnCancel"
Me.btnCancel.Size = New System.Drawing.Size(80, 25)
Me.btnCancel.TabIndex = 18
Me.btnCancel.Text = "退出"
'
'btnUpdate
'
Me.btnUpdate.Location = New System.Drawing.Point(56, 368)
Me.btnUpdate.Name = "btnUpdate"
Me.btnUpdate.Size = New System.Drawing.Size(80, 25)
Me.btnUpdate.TabIndex = 17
Me.btnUpdate.Text = "更新"
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Location = New System.Drawing.Point(24, 168)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(54, 17)
Me.Label5.TabIndex = 16
Me.Label5.Text = "出版日期"
'
'Label4
'
Me.Label4.Location = New System.Drawing.Point(19, 65)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(120, 27)
Me.Label4.TabIndex = 15
Me.Label4.Text = "书籍名称"
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Location = New System.Drawing.Point(24, 132)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(29, 17)
Me.Label3.TabIndex = 14
Me.Label3.Text = "定价"
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Location = New System.Drawing.Point(24, 24)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(29, 17)
Me.Label1.TabIndex = 12
Me.Label1.Text = "名称"
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.cmbBookISBN)
Me.GroupBox1.Controls.Add(Me.cmbBookType)
Me.GroupBox1.Controls.Add(Me.Label7)
Me.GroupBox1.Controls.Add(Me.Label4)
Me.GroupBox1.Location = New System.Drawing.Point(16, 9)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(424, 112)
Me.GroupBox1.TabIndex = 25
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "设置查询"
'
'cmbBookISBN
'
Me.cmbBookISBN.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.cmbBookISBN.Items.AddRange(New Object() {""})
Me.cmbBookISBN.Location = New System.Drawing.Point(168, 64)
Me.cmbBookISBN.Name = "cmbBookISBN"
Me.cmbBookISBN.Size = New System.Drawing.Size(211, 20)
Me.cmbBookISBN.TabIndex = 26
'
'cmbBookType
'
Me.cmbBookType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.cmbBookType.Items.AddRange(New Object() {".NET", "JAVA", "C/C++", "DB", "ELSE"})
Me.cmbBookType.Location = New System.Drawing.Point(168, 32)
Me.cmbBookType.Name = "cmbBookType"
Me.cmbBookType.Size = New System.Drawing.Size(211, 20)
Me.cmbBookType.TabIndex = 25
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(19, 28)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(120, 19)
Me.Label7.TabIndex = 24
Me.Label7.Text = "书籍种类"
'
'GroupBox2
'
Me.GroupBox2.Controls.Add(Me.Label2)
Me.GroupBox2.Controls.Add(Me.txtPress)
Me.GroupBox2.Controls.Add(Me.dtpPressDate)
Me.GroupBox2.Controls.Add(Me.Label6)
Me.GroupBox2.Controls.Add(Me.txtAuthorName)
Me.GroupBox2.Controls.Add(Me.txtBookName)
Me.GroupBox2.Controls.Add(Me.txtBookPrice)
Me.GroupBox2.Controls.Add(Me.Label1)
Me.GroupBox2.Controls.Add(Me.Label3)
Me.GroupBox2.Controls.Add(Me.Label5)
Me.GroupBox2.Location = New System.Drawing.Point(16, 140)
Me.GroupBox2.Name = "GroupBox2"
Me.GroupBox2.Size = New System.Drawing.Size(424, 212)
Me.GroupBox2.TabIndex = 26
Me.GroupBox2.TabStop = False
Me.GroupBox2.Text = "详细信息"
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Location = New System.Drawing.Point(24, 96)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(42, 17)
Me.Label2.TabIndex = 27
Me.Label2.Text = "出版社"
'
'txtPress
'
Me.txtPress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtPress.Location = New System.Drawing.Point(168, 93)
Me.txtPress.Name = "txtPress"
Me.txtPress.Size = New System.Drawing.Size(211, 21)
Me.txtPress.TabIndex = 28
Me.txtPress.Text = ""
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -