📄 mdimain.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.MDIForm MDIMain
BackColor = &H8000000C&
Caption = "图书馆管理系统"
ClientHeight = 4440
ClientLeft = 165
ClientTop = 735
ClientWidth = 6030
Icon = "MDIMain.frx":0000
LinkTopic = "MDIForm1"
StartUpPosition = 3 '窗口缺省
WindowState = 2 'Maximized
Begin MSComctlLib.StatusBar sbStatusBar
Align = 2 'Align Bottom
Height = 270
Left = 0
TabIndex = 0
Top = 4170
Width = 6030
_ExtentX = 10636
_ExtentY = 476
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 7
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 10583
MinWidth = 10583
Text = "图书馆管理系统"
TextSave = "图书馆管理系统"
Object.ToolTipText = "04软件B班SQL应用系统课程设计"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Bevel = 0
Object.Width = 970
MinWidth = 970
Text = " 用户"
TextSave = " 用户"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 3881
MinWidth = 3881
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 2
Bevel = 0
Object.Width = 953
MinWidth = 882
Text = " 日期"
TextSave = " 日期"
EndProperty
BeginProperty Panel5 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
Object.Width = 2293
MinWidth = 2293
TextSave = "2006-7-9"
EndProperty
BeginProperty Panel6 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
Object.Width = 1764
MinWidth = 1764
TextSave = "7:14"
EndProperty
BeginProperty Panel7 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 2
Bevel = 2
Object.Width = 3493
Text = "E-Mail : lazy_ok@yeah.net"
TextSave = "E-Mail : lazy_ok@yeah.net"
Object.ToolTipText = "设计:OPY"
EndProperty
EndProperty
MousePointer = 99
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
MouseIcon = "MDIMain.frx":0442
End
Begin VB.Menu munDB
Caption = "数据管理(&D)"
Begin VB.Menu sm_books
Caption = "图书管理(&B)"
Shortcut = ^B
End
Begin VB.Menu sm_members
Caption = "读者管理(&M)"
Shortcut = ^M
End
Begin VB.Menu firstbarfirst
Caption = "-"
End
Begin VB.Menu sm_logoff
Caption = "注销(&L)"
Shortcut = ^L
End
Begin VB.Menu firstbarsecond
Caption = "-"
End
Begin VB.Menu sm_exit
Caption = "退出(&X)"
Shortcut = ^X
End
End
Begin VB.Menu mnu_tranjection
Caption = "图书借还管理(&T)"
Begin VB.Menu sm_issue
Caption = "图书借阅(&I)"
Shortcut = ^I
End
Begin VB.Menu sm_return
Caption = "图书归还(&R)"
Shortcut = ^R
End
Begin VB.Menu sm_fine
Caption = "罚款信息(&F)"
Shortcut = ^F
End
Begin VB.Menu secondbarfirst
Caption = "-"
End
Begin VB.Menu sm_search
Caption = "查询(&S)"
Shortcut = ^S
End
Begin VB.Menu line
Caption = "-"
End
Begin VB.Menu sm_global
Caption = "统计信息(&G)"
Shortcut = ^G
End
End
Begin VB.Menu Mnu_rep
Caption = "报表(&R)"
Begin VB.Menu sm_bookrpt
Caption = "图书报表"
End
Begin VB.Menu sm_member
Caption = "读者报表"
End
Begin VB.Menu sm_issret
Caption = "图书借还报表"
End
End
Begin VB.Menu mnu_administer
Caption = "系统管理(&A)"
Begin VB.Menu sm_users
Caption = "用户设置(&U)"
Shortcut = ^U
End
Begin VB.Menu thirdbarfirst
Caption = "-"
End
Begin VB.Menu sm_backup
Caption = "系统备份"
End
Begin VB.Menu temp
Caption = "-"
End
Begin VB.Menu sm_settings
Caption = "系统设置(&T)"
Shortcut = ^T
End
End
Begin VB.Menu mnu_help
Caption = "帮助(&H)"
Begin VB.Menu smnu_keyboard
Caption = "键盘快捷键(&K)"
Shortcut = ^K
End
Begin VB.Menu sm_about
Caption = "关于(&A)"
Shortcut = {F1}
End
End
End
Attribute VB_Name = "MDIMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub sm_about_Click()
Load frmAbout
frmAbout.Show
End Sub
Private Sub MDIForm_Unload(Cancel As Integer)
On Error Resume Next
If MsgBox("你确认你想退出 ?", vbExclamation + vbOKCancel, "图书馆管理系统") = vbOK Then
Unload frmLogin
Else
Cancel = True
End If
End Sub
Private Sub sm_bookrpt_Click()
Load frmBookRpt
frmBookRpt.Show
End Sub
Private Sub sm_books_Click()
Load frmBooks
frmBooks.Show
End Sub
Private Sub sm_exit_Click()
Unload Me
End Sub
Private Sub sm_fine_Click()
Load frmFine
frmFine.Show
End Sub
Private Sub sm_global_Click()
Load frmGlobal
frmGlobal.Show
End Sub
Private Sub sm_issret_Click()
Load frmIssueRpt
frmIssueRpt.Show
End Sub
Private Sub sm_issue_Click()
Load frmIssue
frmIssue.Show
End Sub
Private Sub sm_logoff_Click()
If MsgBox("你确认要注销 ?", vbExclamation + vbOKCancel, "图书馆管理系统") = vbOK Then
Call logoff
DoEvents
End If
End Sub
Private Sub sm_member_Click()
Load frmMembersRpt
frmMembersRpt.Show
End Sub
Private Sub sm_members_Click()
Load frmMembers
frmMembers.Show
End Sub
Private Sub sm_return_Click()
Load frmReturn
frmReturn.Show
End Sub
Private Sub sm_search_Click()
Load frmSearch
frmSearch.Show
End Sub
Private Sub sm_settings_Click()
Load frmSettings
frmSettings.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -