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

📄 fzfth.frm

📁 小型酒店管理系统
💻 FRM
📖 第 1 页 / 共 3 页
字号:
            Picture         =   "FZFTH.frx":1A84
            Key             =   ""
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "FZFTH.frx":1F88
            Key             =   ""
         EndProperty
         BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "FZFTH.frx":210C
            Key             =   ""
         EndProperty
         BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "FZFTH.frx":25D4
            Key             =   ""
         EndProperty
         BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "FZFTH.frx":2758
            Key             =   ""
         EndProperty
         BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "FZFTH.frx":2BE4
            Key             =   ""
         EndProperty
         BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "FZFTH.frx":3038
            Key             =   ""
         EndProperty
         BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "FZFTH.frx":34C4
            Key             =   ""
         EndProperty
         BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "FZFTH.frx":3654
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin VB.Label Label5 
      BorderStyle     =   1  'Fixed Single
      DataField       =   "入住日期"
      DataSource      =   "Data1"
      ForeColor       =   &H80000002&
      Height          =   300
      Left            =   3240
      TabIndex        =   21
      Top             =   1365
      Width           =   1455
   End
   Begin VB.Line Line6 
      BorderColor     =   &H8000000E&
      X1              =   240
      X2              =   7320
      Y1              =   4560
      Y2              =   4560
   End
   Begin VB.Line Line5 
      BorderColor     =   &H8000000E&
      X1              =   7320
      X2              =   7320
      Y1              =   1680
      Y2              =   4570
   End
   Begin VB.Line Line4 
      BorderColor     =   &H8000000E&
      X1              =   120
      X2              =   7440
      Y1              =   840
      Y2              =   840
   End
   Begin VB.Line Line3 
      BorderColor     =   &H8000000E&
      X1              =   120
      X2              =   120
      Y1              =   840
      Y2              =   5040
   End
   Begin VB.Label Label4 
      Caption         =   "Label4"
      DataField       =   "FPY"
      DataSource      =   "Data1"
      Height          =   255
      Left            =   360
      TabIndex        =   18
      Top             =   1320
      Visible         =   0   'False
      Width           =   1215
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "<大写>人民币"
      ForeColor       =   &H8000000D&
      Height          =   375
      Index           =   7
      Left            =   3000
      TabIndex        =   16
      Top             =   3120
      Width           =   4215
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "附    注:"
      Height          =   255
      Index           =   6
      Left            =   720
      TabIndex        =   14
      Top             =   3600
      Width           =   855
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "团体人数:"
      Height          =   255
      Index           =   5
      Left            =   720
      TabIndex        =   13
      Top             =   2640
      Width           =   855
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "日期:"
      Height          =   255
      Index           =   4
      Left            =   2760
      TabIndex        =   12
      Top             =   1440
      Width           =   855
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "陪同人数:"
      Height          =   255
      Index           =   3
      Left            =   3960
      TabIndex        =   11
      Top             =   2640
      Width           =   855
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "保 证 金:"
      Height          =   255
      Index           =   1
      Left            =   720
      TabIndex        =   10
      Top             =   3120
      Width           =   855
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "团会名称:"
      Height          =   255
      Index           =   0
      Left            =   720
      TabIndex        =   9
      Top             =   2160
      Width           =   855
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "№"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   18
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000000&
      Height          =   375
      Index           =   1
      Left            =   5280
      TabIndex        =   8
      Top             =   1320
      Width           =   495
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "非住房团会登记表"
      BeginProperty Font 
         Name            =   "楷体_GB2312"
         Size            =   15.75
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00808000&
      Height          =   375
      Index           =   0
      Left            =   2280
      TabIndex        =   7
      Top             =   960
      Width           =   3015
   End
   Begin VB.Shape Shape2 
      BorderColor     =   &H80000010&
      Height          =   2895
      Left            =   240
      Top             =   1680
      Width           =   7095
   End
   Begin VB.Shape Shape1 
      BackColor       =   &H00C0E0FF&
      BorderColor     =   &H80000010&
      Height          =   4215
      Left            =   120
      Top             =   840
      Width           =   7335
   End
   Begin VB.Menu MNU1 
      Caption         =   "文件(&F)"
      Begin VB.Menu MNU11 
         Caption         =   "打印设置"
      End
      Begin VB.Menu MNU12 
         Caption         =   "打印预览"
      End
      Begin VB.Menu MNU13 
         Caption         =   "打印 "
         Shortcut        =   ^P
      End
      Begin VB.Menu MNU15 
         Caption         =   "-"
      End
      Begin VB.Menu MNU16 
         Caption         =   "退出(&E)"
      End
   End
   Begin VB.Menu MNU2 
      Caption         =   "编辑(&E)"
      Begin VB.Menu MNU21 
         Caption         =   "增加 "
         Shortcut        =   ^A
      End
      Begin VB.Menu MNU26 
         Caption         =   "修改"
         Shortcut        =   ^E
      End
      Begin VB.Menu MNU23 
         Caption         =   "取消"
         Enabled         =   0   'False
         Shortcut        =   ^U
      End
      Begin VB.Menu MNU28 
         Caption         =   "保存"
         Enabled         =   0   'False
         Shortcut        =   ^S
      End
      Begin VB.Menu MNU24 
         Caption         =   "-"
      End
      Begin VB.Menu MNU22 
         Caption         =   "删除 "
         Shortcut        =   ^D
      End
   End
   Begin VB.Menu MNU3 
      Caption         =   "查看(&V)"
   End
   Begin VB.Menu MNU4 
      Caption         =   "计算器(&J)"
   End
   Begin VB.Menu MNU5 
      Caption         =   "帮助(&H)"
      Begin VB.Menu MNU51 
         Caption         =   "帮助主题"
         Shortcut        =   {F1}
      End
      Begin VB.Menu MNU52 
         Caption         =   "索引"
         Enabled         =   0   'False
      End
      Begin VB.Menu MNU53 
         Caption         =   "-"
      End
      Begin VB.Menu MNU54 
         Caption         =   "关于红日软件..."
      End
   End
End
Attribute VB_Name = "FZFTH"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim DATJDGL As Database
Dim RECHJZT As Recordset
Dim RECKRZD As Recordset
Private Sub Data1_Reposition()
    Label5.Caption = Format(Label5.Caption, "LONG DATE")
    If IsNumeric(Text5.Text) Then Text5.Text = FormatNumber(Text5.Text, 2, vbTrue, , vbFalse)
    If IsNumeric(Text5.Text) Then
       If CDbl(Text5.Text) <> 0 Then
          Label2(7).Caption = "<大写>人民币" + SUMDM(CDbl(Text5.Text))
          Else
            Label2(7).Caption = "<大写>"
       End If
    End If
End Sub

Private Sub Data1_Validate(Action As Integer, Save As Integer)
    If Action = 11 Then
       If Me.MNU28.Enabled Then
          If MsgBox("当前数据没有保存!请确认是否放弃?", vbQuestion + vbYesNo, "提示信息") = vbNo Then
             Action = 0
             Save = 0
             Exit Sub
             Else
               Save = 0
          End If
       End If
    End If

End Sub

Private Sub DTPicker1_Validate(Cancel As Boolean)
    Label5.Caption = Format(DTPicker1.Value, "LONG DATE")
End Sub

Private Sub Form_Activate()
    If Data1.Recordset.RecordCount = 0 Then MNU21_Click
    Label5.Caption = Format(Label5.Caption, "LONG DATE")
    If IsNumeric(Text5.Text) Then Text5.Text = FormatNumber(Text5.Text, 2, vbTrue, , vbFalse)
    If IsNumeric(Text5.Text) Then
       If CDbl(Text5.Text) <> 0 Then
          Label2(7).Caption = "<大写>人民币" + SUMDM(CDbl(Text5.Text))
          Else
            Label2(7).Caption = "<大写>"
       End If
    End If
End Sub

Private Sub Form_Load()
    Set DATJDGL = OpenDatabase(App.Path & "\DATA\JDGL.MDB")
    Set RECHJZT = DATJDGL.OpenRecordset("房间状态", dbOpenDynaset)
    Set RECKRZD = DATJDGL.OpenRecordset("客人帐单", dbOpenDynaset)
    Data1.DatabaseName = App.Path & "\data\jdgl.mdb"
    Data1.Refresh

End Sub

Private Sub Form_Unload(Cancel As Integer)
    DATJDGL.Close
End Sub

⌨️ 快捷键说明

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