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

📄 frm_main.frm

📁 关于图书馆管理的vfp程序
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form Frm_Mainpage 
   BackColor       =   &H8000000A&
   Caption         =   "图书管理查询系统"
   ClientHeight    =   8265
   ClientLeft      =   2250
   ClientTop       =   2025
   ClientWidth     =   10515
   LinkTopic       =   "Form1"
   Picture         =   "Frm_Main.frx":0000
   ScaleHeight     =   8265
   ScaleWidth      =   10515
   Begin MSComctlLib.StatusBar StatusBar2 
      Align           =   2  'Align Bottom
      Height          =   375
      Left            =   0
      TabIndex        =   1
      Top             =   7890
      Width           =   10515
      _ExtentX        =   18547
      _ExtentY        =   661
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   3
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            AutoSize        =   1
            Object.Width           =   12912
            Text            =   "欢迎登录"
            TextSave        =   "欢迎登录"
         EndProperty
         BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Style           =   5
            TextSave        =   "15:46"
         EndProperty
         BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Style           =   6
            TextSave        =   "2004-6-4"
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   795
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   10515
      _ExtentX        =   18547
      _ExtentY        =   1402
      ButtonWidth     =   1376
      ButtonHeight    =   1349
      Appearance      =   1
      Style           =   1
      ImageList       =   "ImageList2"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   7
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Object.ToolTipText     =   "打印"
            ImageIndex      =   2
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "书籍信息显示"
            ImageIndex      =   1
         EndProperty
         BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "借阅信息显示"
            ImageIndex      =   3
         EndProperty
         BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Object.ToolTipText     =   "退出"
            ImageIndex      =   4
         EndProperty
         BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.ImageList ImageList2 
      Left            =   7680
      Top             =   0
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   45
      ImageHeight     =   45
      MaskColor       =   12632256
      _Version        =   393216
      BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
         NumListImages   =   4
         BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Frm_Main.frx":ADA4A
            Key             =   ""
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Frm_Main.frx":AF286
            Key             =   ""
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Frm_Main.frx":AF900
            Key             =   ""
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Frm_Main.frx":B113C
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin VB.Line Line2 
      BorderColor     =   &H80000005&
      X1              =   0
      X2              =   10560
      Y1              =   840
      Y2              =   840
   End
   Begin VB.Line Line1 
      X1              =   0
      X2              =   10560
      Y1              =   830
      Y2              =   830
   End
   Begin VB.Menu File 
      Caption         =   "文件"
      NegotiatePosition=   1  'Left
      WindowList      =   -1  'True
      Begin VB.Menu munChart 
         Caption         =   "统计图"
         Shortcut        =   ^F
      End
      Begin VB.Menu Print 
         Caption         =   "打印"
         Shortcut        =   ^P
      End
      Begin VB.Menu Quit 
         Caption         =   "退出"
         Shortcut        =   ^Q
      End
   End
   Begin VB.Menu Query 
      Caption         =   "查询"
      Begin VB.Menu SingleQuery 
         Caption         =   "单条件查询"
         Shortcut        =   ^S
      End
      Begin VB.Menu MutiQuery 
         Caption         =   "组合条件查询"
         Shortcut        =   ^M
      End
   End
   Begin VB.Menu ReaderInfo 
      Caption         =   "读者信息服务"
      Begin VB.Menu Login 
         Caption         =   "登陆"
         Shortcut        =   ^L
      End
      Begin VB.Menu InfoCheck 
         Caption         =   "信息查询"
         Shortcut        =   ^C
      End
      Begin VB.Menu Settings 
         Caption         =   "个人设置"
         Shortcut        =   ^B
      End
   End
   Begin VB.Menu Newbook 
      Caption         =   "新书通报"
      Begin VB.Menu TmonNewbook 
         Caption         =   "本月流通新书"
         Shortcut        =   ^T
      End
      Begin VB.Menu NmonNewbook 
         Caption         =   "下月新书预览"
         Shortcut        =   ^N
      End
   End
   Begin VB.Menu AdminEvent 
      Caption         =   "管理事务"
      Begin VB.Menu AdminCheckin 
         Caption         =   "管理员登陆"
         Shortcut        =   ^A
      End
      Begin VB.Menu DbMan 
         Caption         =   "数据库维护"
         Begin VB.Menu BookinfoMan 
            Caption         =   "书籍资料管理"
         End
         Begin VB.Menu ReaderInfoMan 
            Caption         =   "读者信息管理"
         End
      End
   End
End
Attribute VB_Name = "Frm_Mainpage"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub AdminCheckin_Click()
Frm_AdminCheckIn.Show
End Sub

Private Sub BookinfoMan_Click()
Frm_BookInfo.Show
End Sub

Private Sub Form_Load()
DbMan.Enabled = False
Settings.Enabled = False
InfoCheck.Enabled = False
End Sub

Private Sub InfoCheck_Click()

Frm_InfoCheck.Show
End Sub

Public Sub Login_Click()
Frm_AdminCheckIn.Caption = "读者"
Frm_AdminCheckIn.Lab_Admin.Caption = "借书证号"
Frm_AdminCheckIn.Show
End Sub

Private Sub munChart_Click()
Frm_Chart.Show
End Sub

Private Sub MutiQuery_Click()
Frm_MutiQuery.Show
End Sub

Private Sub NmonNewbook_Click()
MsgBox "下月暂无新书信息通报", vbInformation
End Sub

Public Sub Print_Click()
If SQL = "" Or SQL = "select*from 书籍资料 where " Then
    MsgBox "无记录,请先查找要打印的记录!" & Chr(13) & "请按退出返回主界面。", vbOKOnly + vbCritical, "打印"
    Frm_SingleQuery.Show
Else
    Frm_Print.Show
End If
End Sub

Private Sub Quit_Click()
End
End Sub

Private Sub ReaderInfoMan_Click()
Frm_StuInfo.Show
End Sub

Private Sub Settings_Click()
Frm_Settings.Show
End Sub

Private Sub SingleQuery_Click()
Unload Frm_Mainpage
Frm_SingleQuery.Show
End Sub

Private Sub TmonNewbook_Click()
MsgBox "本月暂无新书信息通报", vbInformation
End Sub

Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Index
Case 1
    Print_Click
Case 3
    Frm_Print.cmdDataRptPrint_Click
Case 4
    Frm_Print.cmdDataRptPrint_Click
Case 6
    End
End Select
End Sub

⌨️ 快捷键说明

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