📄 读者管理.vb
字号:
Imports System.Data
Imports System.Data.OleDb
Public Class 读者管理
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 MainMenu1 As System.Windows.Forms.MainMenu
Friend WithEvents PrintDocument1 As System.Drawing.Printing.PrintDocument
Friend WithEvents MenuItem1 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem2 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem3 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem4 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem5 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem6 As System.Windows.Forms.MenuItem
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents DateTimePicker2 As System.Windows.Forms.DateTimePicker
Friend WithEvents DateTimePicker1 As System.Windows.Forms.DateTimePicker
Friend WithEvents ComboBox4 As System.Windows.Forms.ComboBox
Friend WithEvents ComboBox3 As System.Windows.Forms.ComboBox
Friend WithEvents Label11 As System.Windows.Forms.Label
Friend WithEvents ComboBox2 As System.Windows.Forms.ComboBox
Friend WithEvents Label10 As System.Windows.Forms.Label
Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
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 TextBox2 As System.Windows.Forms.TextBox
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents TextBox3 As System.Windows.Forms.TextBox
Friend WithEvents TextBox4 As System.Windows.Forms.TextBox
Friend WithEvents ComboBox5 As System.Windows.Forms.ComboBox
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents DataGrid1 As System.Windows.Forms.DataGrid
Friend WithEvents MenuItem8 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem9 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem10 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem11 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem12 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem7 As System.Windows.Forms.MenuItem
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.MainMenu1 = New System.Windows.Forms.MainMenu
Me.MenuItem1 = New System.Windows.Forms.MenuItem
Me.MenuItem2 = New System.Windows.Forms.MenuItem
Me.MenuItem3 = New System.Windows.Forms.MenuItem
Me.MenuItem4 = New System.Windows.Forms.MenuItem
Me.MenuItem5 = New System.Windows.Forms.MenuItem
Me.MenuItem8 = New System.Windows.Forms.MenuItem
Me.MenuItem9 = New System.Windows.Forms.MenuItem
Me.MenuItem10 = New System.Windows.Forms.MenuItem
Me.MenuItem11 = New System.Windows.Forms.MenuItem
Me.MenuItem12 = New System.Windows.Forms.MenuItem
Me.MenuItem7 = New System.Windows.Forms.MenuItem
Me.MenuItem6 = New System.Windows.Forms.MenuItem
Me.PrintDocument1 = New System.Drawing.Printing.PrintDocument
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.DateTimePicker2 = New System.Windows.Forms.DateTimePicker
Me.DateTimePicker1 = New System.Windows.Forms.DateTimePicker
Me.ComboBox4 = New System.Windows.Forms.ComboBox
Me.ComboBox3 = New System.Windows.Forms.ComboBox
Me.Label11 = New System.Windows.Forms.Label
Me.ComboBox2 = New System.Windows.Forms.ComboBox
Me.Label10 = New System.Windows.Forms.Label
Me.ComboBox1 = New System.Windows.Forms.ComboBox
Me.Label9 = New System.Windows.Forms.Label
Me.Label8 = New System.Windows.Forms.Label
Me.Label7 = New System.Windows.Forms.Label
Me.Label6 = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.TextBox2 = New System.Windows.Forms.TextBox
Me.Label2 = New System.Windows.Forms.Label
Me.TextBox1 = New System.Windows.Forms.TextBox
Me.Label1 = New System.Windows.Forms.Label
Me.TextBox3 = New System.Windows.Forms.TextBox
Me.TextBox4 = New System.Windows.Forms.TextBox
Me.ComboBox5 = New System.Windows.Forms.ComboBox
Me.GroupBox2 = New System.Windows.Forms.GroupBox
Me.DataGrid1 = New System.Windows.Forms.DataGrid
Me.GroupBox1.SuspendLayout()
Me.GroupBox2.SuspendLayout()
CType(Me.DataGrid1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'MainMenu1
'
Me.MainMenu1.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem1, Me.MenuItem3, Me.MenuItem8, Me.MenuItem9, Me.MenuItem12, Me.MenuItem7, Me.MenuItem6})
'
'MenuItem1
'
Me.MenuItem1.Index = 0
Me.MenuItem1.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem2})
Me.MenuItem1.Text = "文件(&F)"
'
'MenuItem2
'
Me.MenuItem2.Index = 0
Me.MenuItem2.Text = "退出(&X)"
'
'MenuItem3
'
Me.MenuItem3.Index = 1
Me.MenuItem3.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem4, Me.MenuItem5})
Me.MenuItem3.Text = "数据处理(&A)"
'
'MenuItem4
'
Me.MenuItem4.Index = 0
Me.MenuItem4.Text = "导出Excel"
'
'MenuItem5
'
Me.MenuItem5.Index = 1
Me.MenuItem5.Text = "打印"
'
'MenuItem8
'
Me.MenuItem8.Index = 2
Me.MenuItem8.Text = "更改(&G)"
'
'MenuItem9
'
Me.MenuItem9.Index = 3
Me.MenuItem9.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem10, Me.MenuItem11})
Me.MenuItem9.Text = "添加(&T)"
'
'MenuItem10
'
Me.MenuItem10.Enabled = False
Me.MenuItem10.Index = 0
Me.MenuItem10.Text = "添加"
'
'MenuItem11
'
Me.MenuItem11.Enabled = False
Me.MenuItem11.Index = 1
Me.MenuItem11.Text = "保存"
'
'MenuItem12
'
Me.MenuItem12.Index = 4
Me.MenuItem12.Text = "取消(&Z)"
'
'MenuItem7
'
Me.MenuItem7.Enabled = False
Me.MenuItem7.Index = 5
Me.MenuItem7.Text = "删除"
'
'MenuItem6
'
Me.MenuItem6.Index = 6
Me.MenuItem6.Shortcut = System.Windows.Forms.Shortcut.F1
Me.MenuItem6.Text = "帮助(&H)"
'
'PrintDocument1
'
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.DateTimePicker2)
Me.GroupBox1.Controls.Add(Me.DateTimePicker1)
Me.GroupBox1.Controls.Add(Me.ComboBox4)
Me.GroupBox1.Controls.Add(Me.ComboBox3)
Me.GroupBox1.Controls.Add(Me.Label11)
Me.GroupBox1.Controls.Add(Me.ComboBox2)
Me.GroupBox1.Controls.Add(Me.Label10)
Me.GroupBox1.Controls.Add(Me.ComboBox1)
Me.GroupBox1.Controls.Add(Me.Label9)
Me.GroupBox1.Controls.Add(Me.Label8)
Me.GroupBox1.Controls.Add(Me.Label7)
Me.GroupBox1.Controls.Add(Me.Label6)
Me.GroupBox1.Controls.Add(Me.Label5)
Me.GroupBox1.Controls.Add(Me.Label4)
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.TextBox2)
Me.GroupBox1.Controls.Add(Me.Label2)
Me.GroupBox1.Controls.Add(Me.TextBox1)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Controls.Add(Me.TextBox3)
Me.GroupBox1.Controls.Add(Me.TextBox4)
Me.GroupBox1.Controls.Add(Me.ComboBox5)
Me.GroupBox1.Location = New System.Drawing.Point(8, 0)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(488, 120)
Me.GroupBox1.TabIndex = 1
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "用户信息"
'
'DateTimePicker2
'
Me.DateTimePicker2.Location = New System.Drawing.Point(208, 64)
Me.DateTimePicker2.Name = "DateTimePicker2"
Me.DateTimePicker2.Size = New System.Drawing.Size(100, 21)
Me.DateTimePicker2.TabIndex = 26
'
'DateTimePicker1
'
Me.DateTimePicker1.Enabled = False
Me.DateTimePicker1.Location = New System.Drawing.Point(64, 64)
Me.DateTimePicker1.Name = "DateTimePicker1"
Me.DateTimePicker1.Size = New System.Drawing.Size(80, 21)
Me.DateTimePicker1.TabIndex = 25
'
'ComboBox4
'
Me.ComboBox4.Location = New System.Drawing.Point(208, 40)
Me.ComboBox4.Name = "ComboBox4"
Me.ComboBox4.Size = New System.Drawing.Size(100, 20)
Me.ComboBox4.TabIndex = 24
'
'ComboBox3
'
Me.ComboBox3.Location = New System.Drawing.Point(64, 40)
Me.ComboBox3.Name = "ComboBox3"
Me.ComboBox3.Size = New System.Drawing.Size(80, 20)
Me.ComboBox3.TabIndex = 23
'
'Label11
'
Me.Label11.Location = New System.Drawing.Point(152, 88)
Me.Label11.Name = "Label11"
Me.Label11.Size = New System.Drawing.Size(56, 24)
Me.Label11.TabIndex = 22
Me.Label11.Text = "借书证挂失"
Me.Label11.TextAlign = System.Drawing.ContentAlignment.TopRight
'
'ComboBox2
'
Me.ComboBox2.Items.AddRange(New Object() {"Yes", "No"})
Me.ComboBox2.Location = New System.Drawing.Point(208, 88)
Me.ComboBox2.Name = "ComboBox2"
Me.ComboBox2.Size = New System.Drawing.Size(100, 20)
Me.ComboBox2.TabIndex = 21
Me.ComboBox2.Text = "No"
'
'Label10
'
Me.Label10.Location = New System.Drawing.Point(8, 88)
Me.Label10.Name = "Label10"
Me.Label10.Size = New System.Drawing.Size(56, 23)
Me.Label10.TabIndex = 19
Me.Label10.Text = "可借书"
Me.Label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'ComboBox1
'
Me.ComboBox1.Location = New System.Drawing.Point(368, 64)
Me.ComboBox1.Name = "ComboBox1"
Me.ComboBox1.Size = New System.Drawing.Size(104, 20)
Me.ComboBox1.TabIndex = 18
'
'Label9
'
Me.Label9.Location = New System.Drawing.Point(312, 64)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(48, 23)
Me.Label9.TabIndex = 17
Me.Label9.Text = "职称"
Me.Label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label8
'
Me.Label8.Location = New System.Drawing.Point(152, 64)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(56, 24)
Me.Label8.TabIndex = 15
Me.Label8.Text = "到期日期"
Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(8, 64)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(56, 23)
Me.Label7.TabIndex = 13
Me.Label7.Text = "登到日期"
Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(312, 16)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(48, 23)
Me.Label6.TabIndex = 10
Me.Label6.Text = "性别"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(312, 40)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(48, 23)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -