📄 frmmain.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.MDIForm FrmMain
BackColor = &H8000000C&
Caption = "图书管理系统"
ClientHeight = 6630
ClientLeft = 165
ClientTop = 735
ClientWidth = 10155
Icon = "FrmMain.frx":0000
LinkTopic = "MDIForm1"
LockControls = -1 'True
MouseIcon = "FrmMain.frx":16AC2
Picture = "FrmMain.frx":2D584
StartUpPosition = 3 '窗口缺省
Begin MSComctlLib.ImageList ImageList1
Left = 4800
Top = 3000
_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":5A247
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":70D19
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":877EB
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":9E2BD
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":B4D8F
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":CB861
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":E2333
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":F8E05
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 870
Left = 0
TabIndex = 1
Top = 0
Width = 15240
_ExtentX = 26882
_ExtentY = 1535
ButtonWidth = 1455
ButtonHeight = 1376
Appearance = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 7
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "借书"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "还书"
ImageIndex = 2
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "读者查询"
ImageIndex = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "图书查询"
ImageIndex = 4
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "丢失损坏"
ImageIndex = 5
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "工作人员"
ImageIndex = 8
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退出"
ImageIndex = 7
EndProperty
EndProperty
End
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 375
Left = 0
TabIndex = 0
Top = 10455
Width = 15240
_ExtentX = 26882
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 4
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Enabled = 0 'False
Object.Width = 10584
MinWidth = 10584
Text = "欢迎使用本图书管理系统!:)"
TextSave = "欢迎使用本图书管理系统!:)"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 1764
MinWidth = 1764
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
Object.Width = 2716
MinWidth = 2716
TextSave = "19:29"
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
Object.Width = 2999
MinWidth = 2999
TextSave = "2005-3-4"
EndProperty
EndProperty
End
Begin VB.Menu XitongGuanli
Caption = "系统管理(&A)"
Begin VB.Menu Guanliyuan
Caption = "管理员(&B)"
Shortcut = ^B
End
Begin VB.Menu GongzuoRenyuan
Caption = "工作人员(&C)"
Shortcut = ^C
End
Begin VB.Menu line1
Caption = "-"
End
Begin VB.Menu TushuLeibieshezhi
Caption = "图书类别设置(&D)"
Shortcut = ^D
End
Begin VB.Menu DuzheLeibieShezhi
Caption = "读者类别设置(&E)"
Shortcut = ^E
End
Begin VB.Menu line6
Caption = "-"
End
Begin VB.Menu end
Caption = "退出(&F)"
Shortcut = ^F
End
End
Begin VB.Menu ShujvGuanli
Caption = "数据管理(&G)"
Begin VB.Menu Jieshu
Caption = "借书管理(&H)"
Shortcut = ^H
End
Begin VB.Menu Huanshu
Caption = "还书管理(&I)"
Shortcut = ^I
End
Begin VB.Menu line3
Caption = "-"
End
Begin VB.Menu Duzhe
Caption = "读者管理(&J)"
Shortcut = ^J
End
Begin VB.Menu Shuji
Caption = "书籍管理(&K)"
Shortcut = ^K
End
Begin VB.Menu line4
Caption = "-"
End
Begin VB.Menu Peichang
Caption = "丢失/损坏赔偿(&L)"
Shortcut = ^L
End
End
Begin VB.Menu ChaxunTongji
Caption = "查询统计(&M)"
Begin VB.Menu DuzheChaxun
Caption = "读者查询(&M)"
Shortcut = ^M
End
Begin VB.Menu TushuChaxun
Caption = "图书查询(&N)"
Shortcut = ^N
End
Begin VB.Menu line5
Caption = "-"
End
Begin VB.Menu BaoBiao
Caption = "打印所有书籍资料(&O)"
Shortcut = ^O
End
Begin VB.Menu BaoBiao2
Caption = "打印所有读者资料(&U)"
Shortcut = ^U
End
End
Begin VB.Menu Shezhi
Caption = "其他(&P)"
Begin VB.Menu line12
Caption = "-"
End
Begin VB.Menu Guanyu
Caption = "关于(&T)"
Shortcut = ^T
End
End
End
Attribute VB_Name = "FrmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub BaoBiao_Click()
DataReport1.Show
End Sub
Private Sub BaoBiao2_Click()
DataReport2.Show
End Sub
Private Sub Cendie_Click()
Me.Arrange (0)
End Sub
Private Sub Chuizhi_Click()
Me.Arrange (2)
End Sub
Private Sub Duzhe_Click()
FrmDZ.Show
End Sub
Private Sub DuzheChaxun_Click()
FrmDZCX.Show
End Sub
Private Sub DuzheLeibieShezhi_Click()
FrmDZLB.Show
End Sub
Private Sub end_Click()
End
End Sub
Private Sub GongzuoRenyuan_Click()
FrmGZRY.Show
End Sub
Private Sub Guanliyuan_Click()
FrmGL.Show
End Sub
Private Sub Guanyu_Click()
FrmGY.Show
End Sub
Private Sub Huanshu_Click()
FrmHS.Show
End Sub
Private Sub Jieshu_Click()
FrmJS.Show
End Sub
Private Sub MDIForm_Load()
'登陆界面显示在屏幕中央
FrmMain.Width = Screen.Width
FrmMain.Height = Screen.Height
Me.Left = (Screen.Width - Me.Width) / 2
Me.Top = (Screen.Height - Me.Height) / 2
End Sub
Private Sub Peichang_Click()
FrmTSPC.Show
End Sub
Private Sub Pingpu_Click()
Me.Arrange (1)
End Sub
Private Sub Shuji_Click()
FrmSJ.Show
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Index
Case 1
FrmJS.Show
Case 2
FrmHS.Show
Case 3
FrmDZCX.Show
Case 4
FrmTSCX.Show
Case 5
FrmTSPC.Show
Case 6
FrmGZRY.Show
Case 7
End
End Select
End Sub
Private Sub TushuChaxun_Click()
FrmTSCX.Show
End Sub
Private Sub TushuLeibieshezhi_Click()
FrmTSLB.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -