?? 學校圖書館管理系統.frm
字號:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form Formmain
BackColor = &H00FFFFFF&
Caption = "學校圖書館管理系統"
ClientHeight = 9750
ClientLeft = 240
ClientTop = 885
ClientWidth = 15240
Icon = "學校圖書館管理系統.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
Picture = "學校圖書館管理系統.frx":27A2
ScaleHeight = 9750
ScaleWidth = 15240
Begin VB.Timer Timer1
Interval = 100
Left = 7080
Top = 4680
End
Begin MSComctlLib.StatusBar sbrLoan
Align = 2 'Align Bottom
Height = 375
Left = 0
TabIndex = 0
Top = 9375
Width = 15240
_ExtentX = 26882
_ExtentY = 661
SimpleText = "kkkkk"
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 4
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 10451
Text = "學校圖書館管理系統 1.0"
TextSave = "學校圖書館管理系統 1.0"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 2
AutoSize = 1
Object.Width = 10451
TextSave = "NUM"
Key = "msg"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 2
Object.Width = 2858
Text = "系統設計:郭興尚"
TextSave = "系統設計:郭興尚"
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Alignment = 1
AutoSize = 2
EndProperty
EndProperty
End
Begin MSComctlLib.ImageList ImageList1
Left = 3840
Top = 600
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 7
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "學校圖書館管理系統.frx":B43B
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "學校圖書館管理系統.frx":116D5
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "學校圖書館管理系統.frx":12B57
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "學校圖書館管理系統.frx":1382B
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "學校圖書館管理系統.frx":14105
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "學校圖書館管理系統.frx":14FDF
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "學校圖書館管理系統.frx":1B279
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 600
Left = 0
TabIndex = 1
Top = 0
Width = 15240
_ExtentX = 26882
_ExtentY = 1058
ButtonWidth = 2090
ButtonHeight = 1005
Wrappable = 0 'False
Style = 1
TextAlignment = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 7
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "借書 "
Object.ToolTipText = "借閱書籍"
Object.Tag = "1"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "還書 "
Object.ToolTipText = "歸還書籍"
ImageIndex = 2
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "續借 "
Object.ToolTipText = "續借操作"
ImageIndex = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "添加 "
Object.ToolTipText = "添加新記錄"
ImageIndex = 4
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "更新 "
Object.ToolTipText = "更新原有記錄"
ImageIndex = 5
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "刪除 "
Object.ToolTipText = "刪除記錄"
ImageIndex = 6
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "選項 "
Object.ToolTipText = "系統選項"
ImageIndex = 7
EndProperty
EndProperty
BorderStyle = 1
End
Begin VB.Menu 學生管理
Caption = "學生管理"
Begin VB.Menu 添加學生記錄
Caption = "添加學生記錄"
Shortcut = ^T
End
Begin VB.Menu 刪除學生記錄
Caption = "刪除學生記錄"
Shortcut = ^D
End
Begin VB.Menu 更新學生記錄
Caption = "更新學生記錄"
Shortcut = ^G
End
End
Begin VB.Menu 圖書管理
Caption = "圖書管理"
Begin VB.Menu 添加圖書信息
Caption = "添加圖書信息"
End
Begin VB.Menu 更新圖書信息
Caption = "更新圖書信息"
End
Begin VB.Menu 刪除圖書信息
Caption = "刪除圖書信息"
End
End
Begin VB.Menu jieshuhuanshuxujiecaozuo
Caption = "借書(續借)和還書"
Begin VB.Menu 借書
Caption = "借書"
Shortcut = {F6}
End
Begin VB.Menu 續借
Caption = "續借"
Shortcut = {F7}
End
Begin VB.Menu 還書
Caption = "還書"
Shortcut = {F8}
End
End
Begin VB.Menu 記錄瀏覽
Caption = "記錄瀏覽"
Begin VB.Menu 借閱記錄
Caption = "借閱記錄"
End
Begin VB.Menu 學生信息
Caption = "學生信息"
End
Begin VB.Menu 圖書信息
Caption = "圖書信息"
End
End
Begin VB.Menu 系統用戶管理
Caption = "系統用戶管理"
Begin VB.Menu 添加用戶
Caption = "添加用戶"
End
Begin VB.Menu 刪除用戶
Caption = "刪除用戶"
End
Begin VB.Menu 修改用戶
Caption = "修改用戶"
End
End
Begin VB.Menu 系統幫助
Caption = "系統幫助"
End
Begin VB.Menu 退出系統
Caption = "退出系統"
End
End
Attribute VB_Name = "Formmain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
'Formmain.Height = 10500
'Formmain.Width = 11500
Dim x1, x2, x3, x4, temp1, temp2 As Integer
x1 = Screen.Width
x2 = Formmain.Width
temp1 = (x1 - x2) / 2
Formmain.Left = temp1
x3 = Screen.Height
x4 = Formmain.Height
temp2 = (x3 - x4) / 2
Formmain.Top = temp2
sbrLoan.Panels("msg").Text = "操作員:" & frmLogin.txtUserName.Text
'user = Trim(txtUserName)
'sbrLoan.Panels("time1").Text = Date
End Sub
Private Sub Timer1_Timer()
'設置時間
sbrLoan.Panels(4).Text = Format(Date, "long date") & " " & Time
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Index
Case 1
jieshu.Show
Case 2
huanshu.Show
Case 3
xujie.Show
Case 4
tjgxxueshengjilu.Show
Case 5
gxtushuxinxi.Show
Case 6
sctushuxinxi.Show
Case 7
xuanxiang.Show
End Select
End Sub
Private Sub 更新圖書信息_Click()
gxtushuxinxi.Show
End Sub
Private Sub 更新學生記錄_Click()
gxtushuxinxi.Show
End Sub
Private Sub 還書_Click()
huanshu.Show
End Sub
Private Sub 借書_Click()
jieshu.Show
End Sub
Private Sub 借閱記錄_Click()
jieyuejilu.Show
End Sub
Private Sub 刪除圖書信息_Click()
sctushuxinxi.Show
End Sub
Private Sub 刪除學生記錄_Click()
scxueshengjilu.Show
End Sub
Private Sub 刪除用戶_Click()
shanchuyh.Show
End Sub
Private Sub 添加圖書信息_Click()
tjgxxueshengjilu.Show
tjgxxueshengjilu.SSTab1.Tab = 1
End Sub
Private Sub 添加學生記錄_Click()
tjgxxueshengjilu.Show
tjgxxueshengjilu.SSTab1.Tab = 0
End Sub
Private Sub 添加用戶_Click()
tianjiayh.Show
End Sub
Private Sub 圖書信息_Click()
tushuxinxi.Show
End Sub
Private Sub 退出系統_Click()
End
End Sub
Private Sub 修改用戶_Click()
xiugaiyh.Show
End Sub
Private Sub 續借_Click()
xujie.Show
End Sub
Private Sub 學生信息_Click()
xueshengxinxi.Show
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -