frmallreservedcust.frm

来自「酒店课房管理系统。完成酒店的客房入住」· FRM 代码 · 共 61 行

FRM
61
字号
VERSION 5.00
Begin VB.Form frmAllReservedCust 
   Caption         =   "所有预定了房间的顾客的信息"
   ClientHeight    =   7245
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   9945
   LinkTopic       =   "Form1"
   ScaleHeight     =   7245
   ScaleWidth      =   9945
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command1 
      Caption         =   "确定"
      Height          =   495
      Left            =   3600
      TabIndex        =   1
      Top             =   6360
      Width           =   2295
   End
   Begin VB.Data dataReservedCust 
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   ""
      DefaultCursorType=   0  '缺省游标
      DefaultType     =   2  '使用 ODBC
      Exclusive       =   0   'False
      Height          =   375
      Left            =   480
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   ""
      Top             =   6480
      Visible         =   0   'False
      Width           =   1455
   End
   Begin VB.PictureBox DBGrid1 
      Height          =   5895
      Left            =   240
      ScaleHeight     =   5835
      ScaleWidth      =   9315
      TabIndex        =   0
      Top             =   240
      Width           =   9375
   End
End
Attribute VB_Name = "frmAllReservedCust"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Command1_Click()
    Unload frmAllReservedCust
End Sub

Private Sub Form_Load()
    dataReservedCust.DatabaseName = GetDBPath   '获取数据库路径
    dataReservedCust.RecordSource = "CustReserveInfo"
End Sub

⌨️ 快捷键说明

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