📄 dengji.frm
字号:
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":0000
Height = 735
Index = 24
Left = 3360
Picture = "dengji.frx":0A42
Style = 1 'Graphical
TabIndex = 65
Top = 4680
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":1484
Height = 735
Index = 23
Left = 2580
Picture = "dengji.frx":1EC6
Style = 1 'Graphical
TabIndex = 64
Top = 4680
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":2908
Height = 735
Index = 22
Left = 1800
Picture = "dengji.frx":334A
Style = 1 'Graphical
TabIndex = 63
Top = 4680
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":3D8C
Height = 735
Index = 21
Left = 1020
Picture = "dengji.frx":47CE
Style = 1 'Graphical
TabIndex = 62
Top = 4680
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":5210
Height = 735
Index = 20
Left = 240
Picture = "dengji.frx":5C52
Style = 1 'Graphical
TabIndex = 61
Top = 4680
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":6694
Height = 735
Index = 19
Left = 3360
Picture = "dengji.frx":70D6
Style = 1 'Graphical
TabIndex = 60
Top = 3600
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":7B18
Height = 735
Index = 18
Left = 2580
Picture = "dengji.frx":855A
Style = 1 'Graphical
TabIndex = 59
Top = 3600
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":8F9C
Height = 735
Index = 17
Left = 1800
Picture = "dengji.frx":99DE
Style = 1 'Graphical
TabIndex = 58
Top = 3600
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":A420
Height = 735
Index = 16
Left = 1020
Picture = "dengji.frx":AE62
Style = 1 'Graphical
TabIndex = 57
Top = 3600
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":B8A4
Height = 735
Index = 15
Left = 240
Picture = "dengji.frx":C2E6
Style = 1 'Graphical
TabIndex = 56
Top = 3600
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":CD28
Height = 735
Index = 14
Left = 3360
Picture = "dengji.frx":D76A
Style = 1 'Graphical
TabIndex = 55
Top = 2520
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":E1AC
Height = 735
Index = 13
Left = 2580
Picture = "dengji.frx":EBEE
Style = 1 'Graphical
TabIndex = 54
Top = 2520
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":F630
Height = 735
Index = 12
Left = 1800
Picture = "dengji.frx":10072
Style = 1 'Graphical
TabIndex = 53
Top = 2520
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":10AB4
Height = 735
Index = 11
Left = 1020
Picture = "dengji.frx":114F6
Style = 1 'Graphical
TabIndex = 52
Top = 2520
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":11F38
Height = 735
Index = 10
Left = 240
Picture = "dengji.frx":1297A
Style = 1 'Graphical
TabIndex = 51
Top = 2520
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":133BC
Height = 735
Index = 9
Left = 3360
Picture = "dengji.frx":13DFE
Style = 1 'Graphical
TabIndex = 50
Top = 1440
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":14840
Height = 735
Index = 8
Left = 2580
Picture = "dengji.frx":15282
Style = 1 'Graphical
TabIndex = 49
Top = 1440
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":15CC4
Height = 735
Index = 7
Left = 1800
Picture = "dengji.frx":16706
Style = 1 'Graphical
TabIndex = 48
Top = 1440
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":17148
Height = 735
Index = 6
Left = 1020
Picture = "dengji.frx":17B8A
Style = 1 'Graphical
TabIndex = 47
Top = 1440
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":185CC
Height = 735
Index = 5
Left = 240
Picture = "dengji.frx":1900E
Style = 1 'Graphical
TabIndex = 46
Top = 1440
Visible = 0 'False
Width = 495
End
Begin VB.VScrollBar sco_mov
Height = 5895
Left = 4080
TabIndex = 45
Top = 0
Visible = 0 'False
Width = 885
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":19A50
Height = 735
Index = 0
Left = 240
Picture = "dengji.frx":1A492
Style = 1 'Graphical
TabIndex = 44
Top = 240
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":1AED4
Height = 735
Index = 4
Left = 3360
Picture = "dengji.frx":1B916
Style = 1 'Graphical
TabIndex = 43
Top = 240
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":1C358
Height = 735
Index = 3
Left = 2580
Picture = "dengji.frx":1CD9A
Style = 1 'Graphical
TabIndex = 42
Top = 240
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":1D7DC
Height = 735
Index = 2
Left = 1800
Picture = "dengji.frx":1E21E
Style = 1 'Graphical
TabIndex = 41
Top = 240
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton Command4
BackColor = &H00FFFFFF&
DisabledPicture = "dengji.frx":1EC60
Height = 735
Index = 1
Left = 1020
Picture = "dengji.frx":1F6A2
Style = 1 'Graphical
TabIndex = 40
Top = 240
Visible = 0 'False
Width = 495
End
End
Begin VB.Frame Frame2
Height = 855
Left = 120
TabIndex = 19
Top = 1080
Width = 4335
End
Begin VB.Frame Frame1
Caption = "选房间"
Height = 735
Left = 120
TabIndex = 14
Top = 240
Width = 4335
Begin VB.TextBox txt_jiage
Height = 285
Left = 3120
TabIndex = 18
Text = "Text1"
Top = 240
Width = 975
End
Begin VB.ComboBox Combo1
Height = 315
Left = 600
TabIndex = 15
Text = "Combo1"
Top = 240
Width = 1935
End
Begin VB.Label Label2
Caption = "价格:"
Height = 255
Left = 2640
TabIndex = 17
Top = 285
Width = 495
End
Begin VB.Label Label1
Caption = "类型:"
Height = 255
Left = 120
TabIndex = 16
Top = 285
Width = 495
End
End
End
Begin VB.Menu mnu_op
Caption = "操作"
Visible = 0 'False
Begin VB.Menu mnu_sum
Caption = "床位,现住人数"
End
Begin VB.Menu mnu_selethouse
Caption = "选定房间"
End
End
End
Attribute VB_Name = "dengji"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public m_kind As String '房间种类名
Public m_name As String ' 房间名
Public m_mess As String '弹窗加载房间床位,入住人数信息
Public m_val As Integer '判断几次点击
Public m_sex As Integer
Public m_sum As Integer '每个房间可入住人数
Private Sub Combo1_Click()
m_kind = Combo1.Text
Call LoadJiaGe
Call LoadHouse
End Sub
Private Sub Command1_Click()
Dim key As Boolean
key = False
key = IfOver()
If key = False Then
Exit Sub
End If
If CheckSex(m_name) <> 2 And CheckSex(m_name) <> m_sex Then
MsgBox "性别不相同,不可入住!", vbExclamation
Exit Sub
End If
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -