⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mdiform1.frm

📁 vb图书馆管理系统 这是一个很实用的图书馆管理系统,对那些需要的人很有用哦
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MsComCtl.ocx"
Begin VB.MDIForm MDIForm1 
   BackColor       =   &H8000000C&
   Caption         =   "图书馆管理系统"
   ClientHeight    =   5040
   ClientLeft      =   165
   ClientTop       =   855
   ClientWidth     =   8100
   Icon            =   "MDIForm1.frx":0000
   LinkTopic       =   "MDIForm1"
   Picture         =   "MDIForm1.frx":492A
   StartUpPosition =   3  '窗口缺省
   WindowState     =   2  'Maximized
   Begin VB.Timer Timer1 
      Interval        =   1000
      Left            =   7680
      Top             =   4200
   End
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   255
      Left            =   0
      TabIndex        =   0
      Top             =   4785
      Width           =   8100
      _ExtentX        =   14288
      _ExtentY        =   450
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   4
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Alignment       =   1
            AutoSize        =   1
            Text            =   "图书馆管理系统 v1.0"
            TextSave        =   "图书馆管理系统 v1.0"
         EndProperty
         BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            AutoSize        =   1
         EndProperty
         BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Alignment       =   2
            AutoSize        =   1
            Object.Width           =   7056
            MinWidth        =   7056
         EndProperty
         BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Alignment       =   2
            AutoSize        =   1
         EndProperty
      EndProperty
   End
   Begin VB.Menu mfstar 
      Caption         =   "开始(&S)"
      Index           =   1
      Begin VB.Menu mfcheck 
         Caption         =   "登陆(&I)"
         Shortcut        =   ^I
      End
      Begin VB.Menu mflest 
         Caption         =   "注销(&L)"
         Shortcut        =   ^L
      End
      Begin VB.Menu mfxx 
         Caption         =   "-"
      End
      Begin VB.Menu MDbackUp 
         Caption         =   "数据库备分"
      End
      Begin VB.Menu sssss 
         Caption         =   "-"
      End
      Begin VB.Menu mfclose 
         Caption         =   "退出"
      End
   End
   Begin VB.Menu mfwork 
      Caption         =   "操作(&W)"
      Begin VB.Menu mflent 
         Caption         =   "借阅图书(&T)"
         Shortcut        =   ^T
      End
      Begin VB.Menu mfrennew 
         Caption         =   "续借图书(&R)"
         Shortcut        =   ^S
      End
      Begin VB.Menu mfx 
         Caption         =   "-"
      End
      Begin VB.Menu mfreturn 
         Caption         =   "还书(&B)"
         Shortcut        =   ^B
      End
   End
   Begin VB.Menu mfedit 
      Caption         =   "编辑(&E)"
      Begin VB.Menu mffindbook 
         Caption         =   "查找图书(&F)"
         Shortcut        =   ^F
      End
      Begin VB.Menu mffindreader 
         Caption         =   "查找读者(&D)"
         Shortcut        =   ^D
      End
      Begin VB.Menu MFreaderL 
         Caption         =   "读者借阅查询(&L)"
      End
   End
   Begin VB.Menu mfadd 
      Caption         =   "添加(&A)"
      Begin VB.Menu mfaddbook 
         Caption         =   "添加图书(&K)"
         Shortcut        =   ^K
      End
      Begin VB.Menu mfaddreader 
         Caption         =   "添加读者(&N)"
         Shortcut        =   ^N
      End
   End
   Begin VB.Menu mfsysteminfo 
      Caption         =   "系统设置(&U)"
      Begin VB.Menu mfsetinfo 
         Caption         =   "基本设置(&J)"
         Shortcut        =   ^J
      End
      Begin VB.Menu mfbooktype 
         Caption         =   "图书类别设置(&Y)"
         Shortcut        =   ^Y
      End
      Begin VB.Menu mfxxx 
         Caption         =   "-"
      End
      Begin VB.Menu mfsetadmin 
         Caption         =   "管理员设置(&G)"
      End
   End
   Begin VB.Menu MDTJ 
      Caption         =   "统计(&T)"
      Begin VB.Menu MDSLL 
         Caption         =   "时段借阅流量"
      End
      Begin VB.Menu MDReaderLL 
         Caption         =   "读者借阅时段统计"
      End
      Begin VB.Menu MDTsum 
         Caption         =   "馆内图书统计"
      End
   End
   Begin VB.Menu mfinfo 
      Caption         =   "关于"
      Begin VB.Menu mfabout 
         Caption         =   "软件信息(&M)"
      End
   End
End
Attribute VB_Name = "MDIForm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub MDbackUp_Click()
FrmBackUp.Show
End Sub

Private Sub mdiform_unload(cancel As Integer)
If MsgBox("你确定要退出吗?", vbInformation + vbOKCancel, "提示") = vbOK Then
End
Else
cancel = 1
End If


End Sub

Private Sub MDReaderLL_Click()
FrmRst.Show
End Sub

Private Sub MDSLL_Click()
frmTJ.Show
End Sub

Private Sub MDTsum_Click()
frmTsum.Show
End Sub

Private Sub mfabout_Click()
frmAbout.Show
End Sub

Private Sub mfaddbook_Click()
Set g_rs = g_db.OpenRecordset("booktype", dbOpenTable)
If g_rs.RecordCount > 0 Then
addbook.Show
Else
MsgBox "请先设置书籍类别代码!", vbInformation + vbOKOnly, "警告"
setbooktype.Show
End If
Set g_rs = Nothing
End Sub

Private Sub mfaddreader_Click()
Addreader.Show
End Sub

Private Sub mfbooktype_Click()
setbooktype.Show
End Sub

Private Sub mdiform_load()

mfwork.Enabled = False
mfadd.Enabled = False
mfedit.Enabled = False
mfsysteminfo.Enabled = False
MDTJ.Enabled = False

End Sub

Private Sub mfcheck_Click()
frmcheck.Show
End Sub

Private Sub mfclose_Click()
If MsgBox("你确定要退出吗?", vbInformation + vbOKCancel, "提示") = vbOK Then
End
End If
End Sub



Private Sub mffindbook_Click()
findbook.Show
End Sub

Private Sub mffindreader_Click()
findreader.Show
End Sub

Private Sub mflent_Click()
lentbook.Show

End Sub

Private Sub mflest_Click()
If MsgBox("你确定要注销吗?", vbInformation + vbOKCancel, "注销") = vbOK Then
    mfwork.Enabled = False
mfadd.Enabled = False
mfedit.Enabled = False
mfsysteminfo.Enabled = False
StatusBar1.Panels(3).Text = ""
End If
End Sub

Private Sub MFreaderL_Click()
frmreaderL.Show
End Sub

Private Sub mfrennew_Click()
rennewbook.Show
End Sub

Private Sub mfreturn_Click()
returnbook.Show
End Sub

Private Sub mfsetadmin_Click()
setadmin.Show
End Sub

Private Sub mfsetinfo_Click()
setinfo.Show
End Sub

Private Sub mfsetini_Click()
frmsetini.Show
End Sub

Private Sub Timer1_Timer()
StatusBar1.Panels(4) = Now
End Sub


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -