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

📄 form1.frm

📁 图书管理系统 关于图书管理的系统 毕业设计的最好选择
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form Form1 
   BackColor       =   &H00FFFFC0&
   Caption         =   "图书管理系统"
   ClientHeight    =   8535
   ClientLeft      =   60
   ClientTop       =   645
   ClientWidth     =   10830
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   ScaleHeight     =   8535
   ScaleWidth      =   10830
   StartUpPosition =   2  '屏幕中心
   WindowState     =   2  'Maximized
   Begin MSComDlg.CommonDialog CommonDialog1 
      Left            =   480
      Top             =   4320
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin VB.PictureBox Picture1 
      Height          =   6015
      Left            =   1920
      Picture         =   "form1.frx":0000
      ScaleHeight     =   5955
      ScaleWidth      =   7395
      TabIndex        =   1
      Top             =   1440
      Width           =   7455
   End
   Begin MSComctlLib.ImageList ImageList1 
      Left            =   6600
      Top             =   840
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   37
      ImageHeight     =   31
      MaskColor       =   12632256
      _Version        =   393216
      BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
         NumListImages   =   6
         BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "form1.frx":92DDE
            Key             =   "btborrowbook"
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "form1.frx":93BC0
            Key             =   "btbackbook"
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "form1.frx":94812
            Key             =   "btfind"
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "form1.frx":95364
            Key             =   "btstudentnum"
         EndProperty
         BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "form1.frx":95FB6
            Key             =   "btbooknum"
         EndProperty
         BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "form1.frx":96A88
            Key             =   "btset"
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   645
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   10830
      _ExtentX        =   19103
      _ExtentY        =   1138
      ButtonWidth     =   1164
      ButtonHeight    =   979
      Appearance      =   1
      ImageList       =   "ImageList1"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   6
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            ImageIndex      =   1
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            ImageIndex      =   2
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            ImageIndex      =   3
         EndProperty
         BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            ImageIndex      =   4
         EndProperty
         BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            ImageIndex      =   5
         EndProperty
         BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            ImageIndex      =   6
         EndProperty
      EndProperty
   End
   Begin VB.Menu book_manage 
      Caption         =   "图书管理"
      Begin VB.Menu book_style_manage 
         Caption         =   "图书类别管理"
      End
      Begin VB.Menu book_info_manage 
         Caption         =   "图书信息管理"
      End
      Begin VB.Menu sep 
         Caption         =   "-"
      End
      Begin VB.Menu find_book_info 
         Caption         =   "查询图书信息"
      End
   End
   Begin VB.Menu reader_manage 
      Caption         =   "读者管理"
      Begin VB.Menu reader_style_manage 
         Caption         =   "读者类别管理"
      End
      Begin VB.Menu reader_info_manage 
         Caption         =   "读者信息管理"
      End
      Begin VB.Menu sep2 
         Caption         =   "-"
      End
      Begin VB.Menu find_reader_info 
         Caption         =   "查询读者信息"
      End
   End
   Begin VB.Menu book_lend 
      Caption         =   "图书借阅管理"
      Begin VB.Menu lend_book_manage 
         Caption         =   "借书管理"
         Begin VB.Menu add_lend_book 
            Caption         =   "添加借书信息"
         End
         Begin VB.Menu find_lend_book 
            Caption         =   "查询借书信息"
         End
      End
      Begin VB.Menu back_book_manage 
         Caption         =   "还书管理"
         Begin VB.Menu add_back_book 
            Caption         =   "添加还书信息"
         End
      End
   End
   Begin VB.Menu sys_manage 
      Caption         =   "系统管理"
      Begin VB.Menu databasebak 
         Caption         =   "数据库备份"
      End
      Begin VB.Menu databaserecover 
         Caption         =   "数据库恢复"
      End
      Begin VB.Menu exit_sys 
         Caption         =   "退出系统"
      End
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub add_admin_Click()
frmadduser.Show
End Sub

Private Sub add_back_book_Click()
frmbackbookinfo.Show          '添加还书信息
End Sub

Private Sub add_book_info_Click()
frmaddbookinfo.Show
End Sub

Private Sub add_book_style_Click()
frmaddbookstyle.Show
End Sub

Private Sub add_lend_book_Click()
frmfindbook.Show               '添加借书信息
End Sub

Private Sub add_reader_info_Click()
frmaddreaderinfo.Show
End Sub

Private Sub add_reader_style_Click()
frmaddreaderstyle.Show
End Sub

Private Sub change_pwd_Click()
frmchangepwd.Show
End Sub

Private Sub del_book_info_Click()
frmmodifybookinfo.Show
End Sub

Private Sub del_book_style_Click()
frmmodifybookstyle.Show
End Sub

Private Sub book_info_manage_Click()
frmmodifybookinfo.Show           '图书信息管理
End Sub

Private Sub book_style_manage_Click()
frmmodifybookstyle.Show          '图书类别管理
End Sub

Private Sub del_reader_info_Click()
frmreaderinfo.Show
End Sub

Private Sub del_reader_style_Click()
frmmodifyreaderstyle.Show
End Sub

Private Sub databasebak_Click()
Set fsofile = CreateObject("scripting.filesystemobject")
CommonDialog1.Filter = "mdb文件(*.mdb)|*.mdb"
CommonDialog1.ShowSave
fsofile.copyfile App.Path & "\book.mdb", CommonDialog1.FileTitle

End Sub

Private Sub databaserecover_Click()
Set fsofile = CreateObject("scripting.filesystemobject")
CommonDialog1.Filter = "mdb文件(*.mdb)|*.mdb"
CommonDialog1.ShowOpen
fsofile.copyfile CommonDialog1.FileTitle, App.Path & "\house.mdb"
End Sub

Private Sub exit_sys_Click()
End                          '退出系统
End Sub

Private Sub find_book_info_Click()
frmfindbook.Show             '查询图书信息
End Sub

Private Sub find_lend_book_Click()
frmfindborrowinfo.Show       '查询借书信息
End Sub

Private Sub find_reader_info_Click()
frmfindreader.Show           '读者信息查询
End Sub

Private Sub modify_book_info_Click()
frmmodifybookinfo.Show
End Sub

Private Sub modify_book_style_Click()
frmmodifybookstyle.Show
End Sub

Private Sub modify_reader_info_Click()
frmreaderinfo.Show
End Sub

Private Sub modify_reader_style_Click()
frmmodifyreaderstyle.Show
End Sub

Private Sub reader_info_manage_Click()
frmreaderinfo.Show            '读者信息管理
End Sub

Private Sub reader_style_manage_Click()
frmmodifyreaderstyle.Show     '读者类别管理
End Sub

Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Index
Case 1
frmfindbook.Show
Case 2
frmbackbookinfo.Show
Case 3
frmfindborrowinfo.Show
Case 4
frmaddreaderinfo.Show
Case 5
frmaddbookinfo.Show
Case 6

End Select
End Sub

⌨️ 快捷键说明

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