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

📄 frmmain.frm

📁 vb写的图书馆管理系统的源码
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "Mscomctl.ocx"
Begin VB.Form frmMain 
   Caption         =   "图书馆管理系统"
   ClientHeight    =   7695
   ClientLeft      =   165
   ClientTop       =   555
   ClientWidth     =   9840
   LinkTopic       =   "Form1"
   Picture         =   "frmMain.frx":0000
   ScaleHeight     =   7695
   ScaleWidth      =   9840
   StartUpPosition =   2  '屏幕中心
   WindowState     =   2  'Maximized
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   495
      Left            =   0
      TabIndex        =   1
      Top             =   7200
      Width           =   9840
      _ExtentX        =   17357
      _ExtentY        =   873
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   1
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.ImageList ImageList1 
      Left            =   7920
      Top             =   120
      _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":2E962
            Key             =   "tsxx"
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":319E4
            Key             =   "dzxx"
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":34396
            Key             =   "backup"
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":360A0
            Key             =   "clean"
         EndProperty
         BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":37DAA
            Key             =   "zx"
         EndProperty
         BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":3922C
            Key             =   "about"
         EndProperty
         BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":3B366
            Key             =   "help"
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   615
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   9840
      _ExtentX        =   17357
      _ExtentY        =   1085
      ButtonWidth     =   1455
      ButtonHeight    =   926
      Appearance      =   1
      ImageList       =   "ImageList1"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   7
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "图书信息"
            Key             =   "tsxx"
            ImageIndex      =   1
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "读者信息"
            Key             =   "dzxx"
            ImageIndex      =   2
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "数据备份"
            Key             =   "backup"
            ImageIndex      =   3
         EndProperty
         BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "数据清理"
            Key             =   "clean"
            ImageIndex      =   4
         EndProperty
         BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "注销"
            Key             =   "zx"
            ImageIndex      =   5
         EndProperty
         BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "关于"
            Key             =   "about"
            ImageIndex      =   6
         EndProperty
         BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "帮助"
            Key             =   "help"
            ImageIndex      =   7
         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
      Begin VB.Menu zx 
         Caption         =   "注销"
         Shortcut        =   {F1}
      End
   End
   Begin VB.Menu stwh 
      Caption         =   "系统维护(&H)"
      Begin VB.Menu sjbf 
         Caption         =   "数据备份"
      End
      Begin VB.Menu sjhf 
         Caption         =   "数据恢复"
      End
      Begin VB.Menu sjys 
         Caption         =   "数据压缩"
      End
      Begin VB.Menu sjql 
         Caption         =   "数据清理"
      End
   End
   Begin VB.Menu exit 
      Caption         =   "退出(&Z)"
   End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cxdz_Click()
 frmfindreaderinfo.Show
End Sub

Private Sub cxjx_Click()
  frmfindborrowinfo.Show
End Sub

Private Sub cxtx_Click()
  frmfindbookinfo.Show
End Sub

Private Sub exit_Click()
 Unload Me
End Sub

Private Sub Form_Load()
 Dim i As Integer
 For i = 1 To 2
   StatusBar1.Panels.Add
 Next i
 With StatusBar1.Panels
  .Item(1).Style = sbrDate
  .Item(2).Style = sbrTime
  .Item(3).Text = "版权所有!"
 End With
End Sub

Private Sub scdx_Click()
 frmmodifyreaderinfo.Show
End Sub

Private Sub scdz_Click()
 frmmodifyreaderstyle.Show
End Sub

Private Sub scts_Click()
  frmmodifystyle.Show
End Sub

Private Sub sctx_Click()
  frmmodifybookinfo.Show
End Sub

Private Sub sjbf_Click()
  frmsavedata.Show
End Sub

Private Sub sjhf_Click()
  frmreloaddata.Show
End Sub

Private Sub sjql_Click()
 frmclean.Show
End Sub

Private Sub sjys_Click()
 frmyasuo.Show
End Sub

Private Sub tjdx_Click()
  frmaddreaderinfo.Show
End Sub

Private Sub tjdz_Click()
  frmaddreaderstyle.Show
End Sub

Private Sub tjgy_Click()
   frmadduser.Show
End Sub

Private Sub tjhx_Click()
  frmbackbookinfo.Show
End Sub

Private Sub tjjx_Click()
   frmfindbookinfo.Show
End Sub

Private Sub tjts_Click()
 frmaddbookstyle.Show
End Sub

Private Sub tjtx_Click()
  frmaddbookinfo.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()
  frmmodifyreaderinfo.Show
End Sub

Private Sub xgdz_Click()
  frmmodifyreaderstyle.Show
End Sub

Private Sub xgmm_Click()
   frmmodifymima.Show
End Sub

Private Sub xgtu_Click()
  frmmodifystyle.Show
End Sub

Private Sub xgtx_Click()
  frmmodifybookinfo.Show
End Sub

Private Sub zx_Click()
   
End Sub

⌨️ 快捷键说明

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