?? 主窗體.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 + -