📄 frmmain.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form 图书管理系统
AutoRedraw = -1 'True
BorderStyle = 1 'Fixed Single
Caption = "图书馆管理系统"
ClientHeight = 7695
ClientLeft = 150
ClientTop = 540
ClientWidth = 12240
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "frmMain.frx":0000
ScaleHeight = 7695
ScaleWidth = 12240
StartUpPosition = 2 '屏幕中心
Begin MSComctlLib.ImageList ImageList1
Left = 9720
Top = 2760
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 8
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":11ED8
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":15392
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":17A3F
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":1B527
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":1F2D6
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":21C8F
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":24682
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":28750
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 660
Left = 0
TabIndex = 0
Top = 0
Width = 12240
_ExtentX = 21590
_ExtentY = 1164
ButtonWidth = 1032
ButtonHeight = 1005
Appearance = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 7
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Object.ToolTipText = "图书类别管理"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Object.ToolTipText = "读者类别管理"
ImageIndex = 2
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Object.ToolTipText = "借阅图书"
ImageIndex = 3
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Object.ToolTipText = "退出程序"
ImageIndex = 4
EndProperty
EndProperty
End
Begin VB.Menu tsgl
Caption = "图书管理(&T)"
Begin VB.Menu tslb
Caption = "图书类别管理"
End
Begin VB.Menu tsxx
Caption = "图书信息管理"
End
End
Begin VB.Menu dzgl
Caption = "读者管理(&D)"
Begin VB.Menu dzlb
Caption = "读者类别管理"
End
Begin VB.Menu dzxx
Caption = "读者信息管理"
End
End
Begin VB.Menu tsjy
Caption = "图书借阅管理(&J)"
Begin VB.Menu jyts
Caption = "借阅图书"
End
Begin VB.Menu jsgl
Caption = "查询借书信息"
End
Begin VB.Menu tjhx
Caption = "添加还书信息"
End
End
Begin VB.Menu xtgl
Caption = "系统管理(&S)"
Begin VB.Menu tjgy
Caption = "添加管理员"
End
Begin VB.Menu xgmm
Caption = "更改密码"
End
Begin VB.Menu scyh
Caption = "删除用户"
End
End
Begin VB.Menu exit
Caption = "退出(&Z)"
End
End
Attribute VB_Name = "图书管理系统"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub bzxx_Click()
On Error GoTo ERRB
'打开帮助文件
dlgCommonDialog.HelpCommand = &HB&
dlgCommonDialog.ShowHelp
Exit Sub
ERRB:
MsgBox Err.Description
End Sub
Private Sub dzlb_Click()
读者类别.Show
End Sub
Private Sub dzxx_Click()
读者信息管理.Show
End Sub
Private Sub exit_Click()
Unload Me
End Sub
Private Sub gy_Click()
帮助.Show
End Sub
Private Sub scts_Click()
图书类别管理.Show
End Sub
Private Sub sctx_Click()
图书信息管理1.Show
End Sub
Private Sub jsgl_Click()
查询借书信息.Show
End Sub
Private Sub jyts_Click()
图书信息管理.Show
图书信息管理.Command3.Visible = True
End Sub
Private Sub scyh_Click()
删除用户.Show
End Sub
Private Sub tjgy_Click()
设定用户.Show
End Sub
Private Sub tjjx_Click()
图书信息管理.Show
End Sub
Private Sub tjts_Click()
添加图书类别.Show
End Sub
Private Sub tjtx_Click()
添加图书信息.Show
End Sub
Private Sub tjhx_Click()
还书.Show
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Index
Case 1
Load 图书类别管理
图书类别管理.Show vbModal
Case 3
Load 读者类别
读者类别.Show vbModal
Case 5
Load 图书信息管理
图书信息管理.Show
图书信息管理.Command3.Visible = True
Case 7
Unload Me
' Case "backup"
' Load frmsavedata
'frmsavedata.Show vbModal
'Case "clean"
'Load frmclean
'frmclean.Show vbModal
End Select
End Sub
Private Sub tslb_Click()
图书类别管理.Show
End Sub
Private Sub tsxx_Click()
图书信息管理1.Show
End Sub
Private Sub xgdx_Click()
读者信息管理.Show
End Sub
Private Sub xgmm_Click()
更改密码.Show
End Sub
Private Sub xgtu_Click()
图书类别管理.Show
End Sub
Private Sub xgtx_Click()
图书信息管理1.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -