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

📄 frmmain.frm

📁 图书馆管理系统,对书藉进出的管理,对学生借书的登记以及计时,并对一些学生进行会员登记,学生们可以进行网上续借.
💻 FRM
📖 第 1 页 / 共 4 页
字号:
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column04 
            DataField       =   "书籍类别"
            Caption         =   "书籍类别"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column05 
            DataField       =   "借书日期"
            Caption         =   "借书日期"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         SplitCount      =   1
         BeginProperty Split0 
            BeginProperty Column00 
               ColumnWidth     =   1019.906
            EndProperty
            BeginProperty Column01 
               ColumnWidth     =   1260.284
            EndProperty
            BeginProperty Column02 
               ColumnWidth     =   1170.142
            EndProperty
            BeginProperty Column03 
               ColumnWidth     =   1440
            EndProperty
            BeginProperty Column04 
            EndProperty
            BeginProperty Column05 
            EndProperty
         EndProperty
      End
      Begin MSAdodcLib.Adodc Adodc1 
         Height          =   330
         Left            =   -74880
         Top             =   3600
         Visible         =   0   'False
         Width           =   2175
         _ExtentX        =   3836
         _ExtentY        =   582
         ConnectMode     =   0
         CursorLocation  =   3
         IsolationLevel  =   -1
         ConnectionTimeout=   15
         CommandTimeout  =   30
         CursorType      =   3
         LockType        =   3
         CommandType     =   8
         CursorOptions   =   0
         CacheSize       =   50
         MaxRecords      =   0
         BOFAction       =   0
         EOFAction       =   0
         ConnectStringType=   1
         Appearance      =   1
         BackColor       =   -2147483643
         ForeColor       =   -2147483640
         Orientation     =   0
         Enabled         =   -1
         Connect         =   ""
         OLEDBString     =   ""
         OLEDBFile       =   ""
         DataSourceName  =   ""
         OtherAttributes =   ""
         UserName        =   ""
         Password        =   ""
         RecordSource    =   ""
         Caption         =   "Adodc1"
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         _Version        =   393216
      End
      Begin MSComCtl2.DTPicker dtpLendDateChange 
         Height          =   375
         Left            =   -69000
         TabIndex        =   14
         Top             =   5640
         Width           =   1815
         _ExtentX        =   3201
         _ExtentY        =   661
         _Version        =   393216
         Format          =   22085633
         CurrentDate     =   37828
      End
      Begin VB.Label lblLendCount 
         Alignment       =   2  'Center
         Caption         =   "所借图书:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H8000000D&
         Height          =   375
         Left            =   -71400
         TabIndex        =   61
         Top             =   3600
         Width           =   2535
      End
      Begin VB.Label label11 
         Caption         =   "还允许借出册数:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H000000C0&
         Height          =   255
         Left            =   -66840
         TabIndex        =   60
         Top             =   3600
         Width           =   1935
      End
      Begin VB.Label Label14 
         Caption         =   "读者编号:"
         Height          =   255
         Left            =   -73920
         TabIndex        =   59
         Top             =   720
         Width           =   975
      End
      Begin VB.Label Label15 
         Caption         =   "<输入读者编号按回车>"
         ForeColor       =   &H000040C0&
         Height          =   255
         Left            =   -70080
         TabIndex        =   58
         Top             =   720
         Width           =   1935
      End
      Begin VB.Label Label16 
         Caption         =   "读者姓名:"
         Height          =   255
         Left            =   -68040
         TabIndex        =   57
         Top             =   720
         Width           =   855
      End
      Begin VB.Label Label17 
         Caption         =   "书籍编号:"
         Height          =   255
         Left            =   -74640
         TabIndex        =   56
         Top             =   5280
         Width           =   975
      End
      Begin VB.Label Label18 
         Caption         =   "书籍名称:"
         Height          =   255
         Left            =   -74640
         TabIndex        =   55
         Top             =   5760
         Width           =   975
      End
      Begin VB.Label Label19 
         Caption         =   "借书日期:"
         Height          =   255
         Left            =   -70080
         TabIndex        =   54
         Top             =   5280
         Width           =   975
      End
      Begin VB.Label Label20 
         Caption         =   "借书日期改为:"
         Height          =   255
         Left            =   -70200
         TabIndex        =   53
         Top             =   5760
         Width           =   1215
      End
      Begin VB.Label Label21 
         Caption         =   "借出日期:"
         Height          =   255
         Left            =   5160
         TabIndex        =   52
         Top             =   3240
         Width           =   855
      End
      Begin VB.Label Label24 
         Caption         =   "书籍类别:"
         Height          =   255
         Left            =   1200
         TabIndex        =   51
         Top             =   2640
         Width           =   855
      End
      Begin VB.Label Label25 
         Caption         =   "书籍名称:"
         Height          =   255
         Left            =   1200
         TabIndex        =   50
         Top             =   1440
         Width           =   975
      End
      Begin VB.Label Label26 
         Caption         =   "书籍价格:"
         Height          =   255
         Left            =   5160
         TabIndex        =   49
         Top             =   2640
         Width           =   855
      End
      Begin VB.Label Label27 
         Caption         =   "书籍编号:"
         Height          =   255
         Left            =   1200
         TabIndex        =   48
         Top             =   720
         Width           =   975
      End
      Begin VB.Label Label28 
         Caption         =   "读者姓名:"
         Height          =   255
         Left            =   5160
         TabIndex        =   47
         Top             =   2040
         Width           =   855
      End
      Begin VB.Label Label29 
         Caption         =   "读者编号:"
         Height          =   255
         Left            =   1200
         TabIndex        =   46
         Top             =   2040
         Width           =   975
      End
      Begin VB.Label Label30 
         Caption         =   "<输入要还书籍编号按回车>"
         ForeColor       =   &H000040C0&
         Height          =   255
         Left            =   6000
         TabIndex        =   45
         Top             =   720
         Width           =   2535
      End
      Begin VB.Label Label23 
         Caption         =   "还书日期:"
         Height          =   375
         Left            =   1200
         TabIndex        =   44
         Top             =   3240
         Width           =   855
      End
      Begin VB.Label lblRemain 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H000000C0&
         Height          =   375
         Left            =   -64920
         TabIndex        =   43
         Top             =   3600
         Width           =   855
      End
      Begin VB.Label Label22 
         Caption         =   "书籍页码:"
         Height          =   255
         Left            =   -73800
         TabIndex        =   42
         Top             =   3240
         Width           =   855
      End
   End
   Begin VB.Menu Mo 
      Caption         =   "系统设置"
      Index           =   0
      Begin VB.Menu Moption 
         Caption         =   "系统设置"
         Index           =   0
      End
      Begin VB.Menu Moption 
         Caption         =   "退出"
         Index           =   1
      End
   End
   Begin VB.Menu mnuBookManage 
      Caption         =   "书库管理"
   End
   Begin VB.Menu mnuSysQuery 
      Caption         =   "系统查询"
      Begin VB.Menu mnuBookQuery 
         Caption         =   "书库查询"
         Shortcut        =   ^S
      End
      Begin VB.Menu dd 
         Caption         =   "-"
      End
      Begin VB.Menu mnuLendQuery 
         Caption         =   "借阅查询"
         Shortcut        =   ^Y
      End
   End
End
Attribute VB_Name = "Frmmain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public Pwin As String

Private Sub chkQuery_Click()
If chkQuery.Value = 1 Then
   txtQueryBookID.Enabled = True
Else
   txtQueryBookID.Enabled = False
End If
End Sub


Private Sub cmdLendBook_Click()
If txtReaderID.Text <> "" Then
    
    If lblRemain.Caption <> "0" Then  '判断是否已经借满
        Set g_rs = g_db.OpenRecordset("lentInfo", dbOpenTable)
        With g_rs
            .AddNew

⌨️ 快捷键说明

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