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

📄 frmsetbasic.frm

📁 这是一个用VB编写的图书管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.Form FrmSetBasic 
   Caption         =   "正在进行基本设置"
   ClientHeight    =   3465
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5655
   LinkTopic       =   "Form1"
   ScaleHeight     =   3465
   ScaleWidth      =   5655
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Caption         =   "关闭"
      Height          =   495
      Left            =   4440
      TabIndex        =   5
      Top             =   2760
      Width           =   1095
   End
   Begin VB.CommandButton Command1 
      Caption         =   "保存"
      Height          =   495
      Left            =   3120
      TabIndex        =   4
      Top             =   2760
      Width           =   1215
   End
   Begin TabDlg.SSTab SSTab1 
      Height          =   2295
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   5535
      _ExtentX        =   9763
      _ExtentY        =   4048
      _Version        =   393216
      Tabs            =   2
      TabHeight       =   520
      TabCaption(0)   =   "最大借出册书设置"
      TabPicture(0)   =   "FrmSetBasic.frx":0000
      Tab(0).ControlEnabled=   -1  'True
      Tab(0).Control(0)=   "Label1"
      Tab(0).Control(0).Enabled=   0   'False
      Tab(0).Control(1)=   "Label2"
      Tab(0).Control(1).Enabled=   0   'False
      Tab(0).Control(2)=   "txtBook"
      Tab(0).Control(2).Enabled=   0   'False
      Tab(0).ControlCount=   3
      TabCaption(1)   =   "罚款条件设置"
      TabPicture(1)   =   "FrmSetBasic.frx":001C
      Tab(1).ControlEnabled=   0   'False
      Tab(1).Control(0)=   "Label3"
      Tab(1).Control(0).Enabled=   0   'False
      Tab(1).Control(1)=   "Label4"
      Tab(1).Control(1).Enabled=   0   'False
      Tab(1).Control(2)=   "txtFakuan"
      Tab(1).Control(2).Enabled=   0   'False
      Tab(1).ControlCount=   3
      Begin VB.TextBox txtFakuan 
         Height          =   375
         Left            =   -73200
         TabIndex        =   6
         Text            =   "0.1"
         Top             =   720
         Width           =   735
      End
      Begin VB.TextBox txtBook 
         Height          =   375
         Left            =   2160
         TabIndex        =   2
         Text            =   "2"
         Top             =   720
         Width           =   735
      End
      Begin VB.Label Label4 
         Caption         =   "超出一天罚款:"
         Height          =   255
         Left            =   -74760
         TabIndex        =   8
         Top             =   840
         Width           =   1335
      End
      Begin VB.Label Label3 
         Caption         =   "元"
         Height          =   255
         Left            =   -72360
         TabIndex        =   7
         Top             =   840
         Width           =   255
      End
      Begin VB.Label Label2 
         Caption         =   "本"
         Height          =   255
         Left            =   3000
         TabIndex        =   3
         Top             =   840
         Width           =   255
      End
      Begin VB.Label Label1 
         Caption         =   "每人最多允许借出册数:"
         Height          =   255
         Left            =   240
         TabIndex        =   1
         Top             =   840
         Width           =   1935
      End
   End
End
Attribute VB_Name = "FrmSetBasic"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
    g_strSql = "select * from basicSet"
    Set g_rs = g_db.OpenRecordset(g_strSql)
    g_rs.Edit
    g_rs.Fields("借书册数").Value = txtBook.Text
    g_rs.Fields("罚款").Value = txtFakuan.Text
    g_rs.Update
    Set g_rs = Nothing
    MsgBox "设置完毕!", vbOKOnly, "提示"
End Sub

Private Sub Command2_Click()
Unload Me
End Sub

⌨️ 快捷键说明

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