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

📄 frmmain.frm

📁 图书管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmMain 
   Caption         =   "图书馆管理系统"
   ClientHeight    =   6855
   ClientLeft      =   165
   ClientTop       =   555
   ClientWidth     =   7665
   LinkTopic       =   "Form1"
   Picture         =   "frmMain.frx":0000
   ScaleHeight     =   6855
   ScaleWidth      =   7665
   StartUpPosition =   2  '屏幕中心
   WindowState     =   2  'Maximized
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   495
      Left            =   0
      TabIndex        =   1
      Top             =   6360
      Width           =   7665
      _ExtentX        =   13520
      _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            =   4200
      Top             =   0
      _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":455F5
            Key             =   "tsxx"
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":48677
            Key             =   "dzxx"
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":4B029
            Key             =   "backup"
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":4CD33
            Key             =   "clean"
         EndProperty
         BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":4EA3D
            Key             =   "zx"
         EndProperty
         BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":4FEBF
            Key             =   "about"
         EndProperty
         BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMain.frx":51FF9
            Key             =   "help"
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   615
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   7665
      _ExtentX        =   13520
      _ExtentY        =   1085
      ButtonWidth     =   1455
      ButtonHeight    =   926
      Appearance      =   1
      ImageList       =   "ImageList1"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   3
         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             =   "about"
            ImageIndex      =   6
         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 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 scyh 
         Caption         =   "删除用户"
      End
      Begin VB.Menu xgmm 
         Caption         =   "更改密码"
      End
      Begin VB.Menu zx 
         Caption         =   "注销"
         Shortcut        =   {F2}
      End
      Begin VB.Menu help 
         Caption         =   "帮助"
         Shortcut        =   {F4}
      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 Form_Load()
App.HelpFile = App.Path & "/help.chm"

End Sub
Private Sub Form_Activate()

  If power = "读者" Then
tjgy.Enabled = False
tslb.Enabled = False
tjtx.Enabled = False
xgtx.Enabled = False
sctx.Enabled = False
dzlb.Enabled = False
tjdx.Enabled = False
xgdx.Enabled = False
scdx.Enabled = False
End If
If power = "管理员" Then
 tjgy.Enabled = True
 tslb.Enabled = True
 tjtx.Enabled = True
 xgtx.Enabled = True
 sctx.Enabled = True
 dzlb.Enabled = True
 tjdx.Enabled = True
 xgdx.Enabled = True
 scdx.Enabled = True
 End If

End Sub
Private Sub help_Click()
SendKeys "{f1}"
End Sub

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 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 scyh_Click()
frdelID.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()
 frmaddbookinfo.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
    Case "dzxx"
        Load frmfindreaderinfo
        frmfindreaderinfo.Show
    Case "about"
        Load frmLoad
        frmLoad.Show
       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()
frmLogin.Show
End Sub

⌨️ 快捷键说明

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