📄 yd_lx.frm
字号:
VERSION 5.00
Begin VB.Form yd_lx
ClientHeight = 2580
ClientLeft = 4380
ClientTop = 3060
ClientWidth = 3840
ControlBox = 0 'False
LinkTopic = "Form1"
LockControls = -1 'True
Moveable = 0 'False
ScaleHeight = 2580
ScaleWidth = 3840
Begin VB.Frame F1
Height = 2175
Left = 120
TabIndex = 3
Top = 360
Width = 3615
Begin VB.OptionButton yd_lx1
Caption = "长包预订"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Index = 2
Left = 480
TabIndex = 2
Top = 1440
Width = 1335
End
Begin VB.OptionButton yd_lx1
Caption = "团队预订"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Index = 1
Left = 480
TabIndex = 1
Top = 840
Width = 1215
End
Begin VB.OptionButton yd_lx1
Caption = "散客预订"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 0
Left = 480
TabIndex = 0
Top = 360
Value = -1 'True
Width = 1215
End
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "请选择预订类型..."
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 120
TabIndex = 4
Top = 120
Width = 1950
End
End
Attribute VB_Name = "yd_lx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim YDLX As String '预订类型
Dim ret_sty As Boolean '返回类型
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyEscape Then
ret_sty = False
Unload Me
End If
End Sub
Private Sub Form_Load()
KeyPreview = True
End Sub
Public Property Get LX() As String
LX = YDLX
End Property
Public Property Let LX(LXX As String)
LXX = LX
End Property
Public Property Get STY() As Boolean
STY = ret_sty
End Property
Public Property Let STY(STY111 As Boolean)
STY111 = STY
End Property
Private Sub yd_lx1_KeyDown(Index As Integer, KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then
Select Case Index
Case 0
YDLX = "SK"
ret_sty = True
Unload Me
Case 1
YDLX = "TD"
ret_sty = True
Unload Me
Case 2
YDLX = "CB"
ret_sty = True
Unload Me
End Select
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -