📄 主窗体.vb
字号:
Public Class 主窗体
Inherits System.Windows.Forms.Form
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写处置以清理组件列表。
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 Panel1 As System.Windows.Forms.Panel
Friend WithEvents Panel2 As System.Windows.Forms.Panel
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents btn_读者信息 As System.Windows.Forms.Button
Friend WithEvents btn_出版社信息 As System.Windows.Forms.Button
Friend WithEvents btn_书籍信息 As System.Windows.Forms.Button
Friend WithEvents btn_借阅信息 As System.Windows.Forms.Button
Friend WithEvents btn_报表 As System.Windows.Forms.Button
Friend WithEvents btn_查询 As System.Windows.Forms.Button
Friend WithEvents btn_退出 As System.Windows.Forms.Button
Friend WithEvents LinkLabel_退出 As System.Windows.Forms.LinkLabel
Friend WithEvents LinkLabel_查询 As System.Windows.Forms.LinkLabel
Friend WithEvents LinkLabel_报表 As System.Windows.Forms.LinkLabel
Friend WithEvents LinkLabel_借阅信息 As System.Windows.Forms.LinkLabel
Friend WithEvents LinkLabel_出版社信息 As System.Windows.Forms.LinkLabel
Friend WithEvents LinkLabel_书籍信息 As System.Windows.Forms.LinkLabel
Friend WithEvents LinkLabel_读者信息 As System.Windows.Forms.LinkLabel
Friend WithEvents OleDbConnection1 As System.Data.OleDb.OleDbConnection
Friend WithEvents objLib管理者信息 As 图书馆管理.Lib管理者信息
Friend WithEvents OleDbDataAdapter1 As System.Data.OleDb.OleDbDataAdapter
Friend WithEvents OleDbInsertCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbSelectCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents LinkLabel_管理者信息 As System.Windows.Forms.LinkLabel
Friend WithEvents btn_管理者信息 As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(主窗体))
Me.Panel1 = New System.Windows.Forms.Panel()
Me.Panel2 = New System.Windows.Forms.Panel()
Me.Label1 = New System.Windows.Forms.Label()
Me.btn_读者信息 = New System.Windows.Forms.Button()
Me.btn_出版社信息 = New System.Windows.Forms.Button()
Me.btn_书籍信息 = New System.Windows.Forms.Button()
Me.btn_借阅信息 = New System.Windows.Forms.Button()
Me.btn_报表 = New System.Windows.Forms.Button()
Me.btn_查询 = New System.Windows.Forms.Button()
Me.btn_退出 = New System.Windows.Forms.Button()
Me.LinkLabel_退出 = New System.Windows.Forms.LinkLabel()
Me.LinkLabel_查询 = New System.Windows.Forms.LinkLabel()
Me.LinkLabel_报表 = New System.Windows.Forms.LinkLabel()
Me.LinkLabel_借阅信息 = New System.Windows.Forms.LinkLabel()
Me.LinkLabel_出版社信息 = New System.Windows.Forms.LinkLabel()
Me.LinkLabel_书籍信息 = New System.Windows.Forms.LinkLabel()
Me.LinkLabel_读者信息 = New System.Windows.Forms.LinkLabel()
Me.OleDbConnection1 = New System.Data.OleDb.OleDbConnection()
Me.objLib管理者信息 = New 图书馆管理.Lib管理者信息()
Me.OleDbDataAdapter1 = New System.Data.OleDb.OleDbDataAdapter()
Me.OleDbInsertCommand1 = New System.Data.OleDb.OleDbCommand()
Me.OleDbSelectCommand1 = New System.Data.OleDb.OleDbCommand()
Me.LinkLabel_管理者信息 = New System.Windows.Forms.LinkLabel()
Me.btn_管理者信息 = New System.Windows.Forms.Button()
CType(Me.objLib管理者信息, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'Panel1
'
Me.Panel1.BackgroundImage = CType(resources.GetObject("Panel1.BackgroundImage"), System.Drawing.Bitmap)
Me.Panel1.Name = "Panel1"
Me.Panel1.Size = New System.Drawing.Size(80, 336)
Me.Panel1.TabIndex = 1
'
'Panel2
'
Me.Panel2.BackgroundImage = CType(resources.GetObject("Panel2.BackgroundImage"), System.Drawing.Bitmap)
Me.Panel2.Location = New System.Drawing.Point(80, 0)
Me.Panel2.Name = "Panel2"
Me.Panel2.Size = New System.Drawing.Size(280, 40)
Me.Panel2.TabIndex = 2
'
'Label1
'
Me.Label1.Font = New System.Drawing.Font("幼圆", 18.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label1.Location = New System.Drawing.Point(80, 40)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(136, 32)
Me.Label1.TabIndex = 0
Me.Label1.Text = "图书馆管理"
'
'btn_读者信息
'
Me.btn_读者信息.Location = New System.Drawing.Point(112, 80)
Me.btn_读者信息.Name = "btn_读者信息"
Me.btn_读者信息.Size = New System.Drawing.Size(16, 16)
Me.btn_读者信息.TabIndex = 3
'
'btn_出版社信息
'
Me.btn_出版社信息.Location = New System.Drawing.Point(112, 144)
Me.btn_出版社信息.Name = "btn_出版社信息"
Me.btn_出版社信息.Size = New System.Drawing.Size(16, 16)
Me.btn_出版社信息.TabIndex = 4
'
'btn_书籍信息
'
Me.btn_书籍信息.Location = New System.Drawing.Point(112, 112)
Me.btn_书籍信息.Name = "btn_书籍信息"
Me.btn_书籍信息.Size = New System.Drawing.Size(16, 16)
Me.btn_书籍信息.TabIndex = 5
'
'btn_借阅信息
'
Me.btn_借阅信息.Location = New System.Drawing.Point(112, 176)
Me.btn_借阅信息.Name = "btn_借阅信息"
Me.btn_借阅信息.Size = New System.Drawing.Size(16, 16)
Me.btn_借阅信息.TabIndex = 6
'
'btn_报表
'
Me.btn_报表.Location = New System.Drawing.Point(112, 240)
Me.btn_报表.Name = "btn_报表"
Me.btn_报表.Size = New System.Drawing.Size(16, 16)
Me.btn_报表.TabIndex = 7
'
'btn_查询
'
Me.btn_查询.Location = New System.Drawing.Point(112, 272)
Me.btn_查询.Name = "btn_查询"
Me.btn_查询.Size = New System.Drawing.Size(16, 16)
Me.btn_查询.TabIndex = 8
'
'btn_退出
'
Me.btn_退出.Location = New System.Drawing.Point(112, 304)
Me.btn_退出.Name = "btn_退出"
Me.btn_退出.Size = New System.Drawing.Size(16, 16)
Me.btn_退出.TabIndex = 9
'
'LinkLabel_退出
'
Me.LinkLabel_退出.AutoSize = True
Me.LinkLabel_退出.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.LinkLabel_退出.Location = New System.Drawing.Point(144, 304)
Me.LinkLabel_退出.Name = "LinkLabel_退出"
Me.LinkLabel_退出.Size = New System.Drawing.Size(63, 16)
Me.LinkLabel_退出.TabIndex = 19
Me.LinkLabel_退出.TabStop = True
Me.LinkLabel_退出.Text = "退出系统"
'
'LinkLabel_查询
'
Me.LinkLabel_查询.AutoSize = True
Me.LinkLabel_查询.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.LinkLabel_查询.Location = New System.Drawing.Point(144, 272)
Me.LinkLabel_查询.Name = "LinkLabel_查询"
Me.LinkLabel_查询.Size = New System.Drawing.Size(63, 16)
Me.LinkLabel_查询.TabIndex = 20
Me.LinkLabel_查询.TabStop = True
Me.LinkLabel_查询.Text = "综合查询"
'
'LinkLabel_报表
'
Me.LinkLabel_报表.AutoSize = True
Me.LinkLabel_报表.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.LinkLabel_报表.Location = New System.Drawing.Point(144, 240)
Me.LinkLabel_报表.Name = "LinkLabel_报表"
Me.LinkLabel_报表.Size = New System.Drawing.Size(63, 16)
Me.LinkLabel_报表.TabIndex = 21
Me.LinkLabel_报表.TabStop = True
Me.LinkLabel_报表.Text = "显示报表"
'
'LinkLabel_借阅信息
'
Me.LinkLabel_借阅信息.AutoSize = True
Me.LinkLabel_借阅信息.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.LinkLabel_借阅信息.Location = New System.Drawing.Point(144, 176)
Me.LinkLabel_借阅信息.Name = "LinkLabel_借阅信息"
Me.LinkLabel_借阅信息.Size = New System.Drawing.Size(128, 16)
Me.LinkLabel_借阅信息.TabIndex = 22
Me.LinkLabel_借阅信息.TabStop = True
Me.LinkLabel_借阅信息.Text = "输入/查看借阅信息"
'
'LinkLabel_出版社信息
'
Me.LinkLabel_出版社信息.AutoSize = True
Me.LinkLabel_出版社信息.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.LinkLabel_出版社信息.Location = New System.Drawing.Point(144, 144)
Me.LinkLabel_出版社信息.Name = "LinkLabel_出版社信息"
Me.LinkLabel_出版社信息.Size = New System.Drawing.Size(142, 16)
Me.LinkLabel_出版社信息.TabIndex = 23
Me.LinkLabel_出版社信息.TabStop = True
Me.LinkLabel_出版社信息.Text = "输入/查看出版社信息"
'
'LinkLabel_书籍信息
'
Me.LinkLabel_书籍信息.AutoSize = True
Me.LinkLabel_书籍信息.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.LinkLabel_书籍信息.Location = New System.Drawing.Point(144, 112)
Me.LinkLabel_书籍信息.Name = "LinkLabel_书籍信息"
Me.LinkLabel_书籍信息.Size = New System.Drawing.Size(128, 16)
Me.LinkLabel_书籍信息.TabIndex = 24
Me.LinkLabel_书籍信息.TabStop = True
Me.LinkLabel_书籍信息.Text = "输入/查看书籍信息"
'
'LinkLabel_读者信息
'
Me.LinkLabel_读者信息.AutoSize = True
Me.LinkLabel_读者信息.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.LinkLabel_读者信息.Location = New System.Drawing.Point(144, 80)
Me.LinkLabel_读者信息.Name = "LinkLabel_读者信息"
Me.LinkLabel_读者信息.Size = New System.Drawing.Size(128, 16)
Me.LinkLabel_读者信息.TabIndex = 25
Me.LinkLabel_读者信息.TabStop = True
Me.LinkLabel_读者信息.Text = "输入/查看读者信息"
'
'OleDbConnection1
'
Me.OleDbConnection1.ConnectionString = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=Librar" & _
"y;Data Source=yinlm;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=" & _
"4096;Workstation ID=YINLM;Use Encryption for Data=False;Tag with column collatio" & _
"n when possible=False"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -