📄 frmmain.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form 图书馆理系统
BackColor = &H80000000&
Caption = "图书馆管理系统"
ClientHeight = 7695
ClientLeft = 165
ClientTop = 555
ClientWidth = 12240
LinkTopic = "Form1"
Picture = "frmMain.frx":0000
ScaleHeight = 7695
ScaleWidth = 12240
StartUpPosition = 2 '屏幕中心
WindowState = 2 'Maximized
Begin MSComctlLib.ImageList ImageList1
Left = 8160
Top = 240
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 7
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":11ED8
Key = "tsxx"
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":11F36
Key = "dzxx"
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":11F94
Key = "backup"
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":11FF2
Key = "clean"
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":12050
Key = "zx"
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":120AE
Key = "about"
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":1210C
Key = "help"
EndProperty
EndProperty
End
Begin VB.Menu tsgl
Caption = "图书管理(&T)"
Begin VB.Menu tslb
Caption = "图书类别管理"
Begin VB.Menu tjts
Caption = "添加图书类别"
End
Begin VB.Menu xgtu
Caption = "修改图书类别"
End
Begin VB.Menu scts
Caption = "删除图书类别"
End
End
Begin VB.Menu tsxx
Caption = "图书信息管理"
Begin VB.Menu tjtx
Caption = "添加图书信息"
End
Begin VB.Menu xgtx
Caption = "修改图书信息"
End
Begin VB.Menu sctx
Caption = "删除图书信息"
End
Begin VB.Menu cxtx
Caption = "查询图书信息"
End
End
End
Begin VB.Menu dzgl
Caption = "读者管理(&D)"
Begin VB.Menu dzlb
Caption = "读者类别管理"
Begin VB.Menu tjdz
Caption = "添加读者类别"
End
Begin VB.Menu xgdz
Caption = "修改读者类别"
End
Begin VB.Menu scdz
Caption = "删除读者类别"
End
End
Begin VB.Menu dzxx
Caption = "读者信息管理"
Begin VB.Menu tjdx
Caption = "添加读者信息"
End
Begin VB.Menu xgdx
Caption = "修改读者信息"
End
Begin VB.Menu scdx
Caption = "删除读者信息"
End
Begin VB.Menu cxdz
Caption = "查询读者信息"
End
End
End
Begin VB.Menu tsjy
Caption = "图书借阅管理(&J)"
Begin VB.Menu jsgl
Caption = "借书管理"
Begin VB.Menu tjjx
Caption = "添加借书信息"
End
Begin VB.Menu cxjx
Caption = "查询借书信息"
End
End
Begin VB.Menu hsgl
Caption = "还书管理"
Begin VB.Menu tjhx
Caption = "添加还书信息"
End
End
End
Begin VB.Menu xtgl
Caption = "系统管理(&S)"
Begin VB.Menu tjgy
Caption = "添加管理员"
End
Begin VB.Menu xgmm
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
ERRB:
End Sub
Private Sub cxdz_Click()
查询读者信息.Show
End Sub
Private Sub cxjx_Click()
查询借书信息.Show
End Sub
Private Sub cxtx_Click()
图书信息管理.Show
End Sub
Private Sub exit_Click()
Unload Me
End Sub
Private Sub gy_Click()
帮助.Show
End Sub
Private Sub Label1_Click()
End Sub
Private Sub scdx_Click()
读者信息管理.Show
End Sub
Private Sub scdz_Click()
读者类别.Show
End Sub
Private Sub scts_Click()
图书类别管理.Show
End Sub
Private Sub sctx_Click()
图书信息管理1.Show
End Sub
Private Sub tjdx_Click()
添加读者信息.Show
End Sub
Private Sub tjdz_Click()
读者类别管理.Show
End Sub
Private Sub tjgy_Click()
设定用户.Show
End Sub
Private Sub tjhx_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 Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Key
Case "tsxx"
'
Load frmfindbookinfo
frmfindbookinfo.Show vbModal
Case "dzxx"
'资料
Load frmfindreaderinfo
frmfindreaderinfo.Show vbModal
Case "backup"
Load frmsavedata
frmsavedata.Show vbModal
Case "clean"
Load frmclean
frmclean.Show vbModal
End Select
End Sub
Private Sub xgdx_Click()
读者信息管理.Show
End Sub
Private Sub xgdz_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 + -