?? frmnewbook.frm
字號(hào):
VERSION 5.00
Object = "{29743316-0803-11D5-AD8E-0050BAA9AC14}#8.1#0"; "MOVEFO~1.OCX"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomct2.ocx"
Begin VB.Form frmNewBook
Caption = "添加新的預(yù)訂"
ClientHeight = 4635
ClientLeft = 60
ClientTop = 630
ClientWidth = 8040
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmNewBook.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MDIChild = -1 'True
ScaleHeight = 4635
ScaleWidth = 8040
WindowState = 2 'Maximized
Begin VB.Frame Frame1
Caption = "添加新的預(yù)訂單"
ForeColor = &H00800000&
Height = 4260
Left = 120
TabIndex = 10
Top = 225
Width = 7785
Begin VB.ComboBox cmbDatePart
Height = 330
ItemData = "frmNewBook.frx":0312
Left = 5100
List = "frmNewBook.frx":031F
Style = 2 'Dropdown List
TabIndex = 7
Top = 2910
Width = 1965
End
Begin VB.ListBox lstSite
BeginProperty Font
Name = "Arial"
Size = 10.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1740
Left = 270
TabIndex = 26
ToolTipText = "請(qǐng)?jiān)谝呀?jīng)添加座位中選擇。"
Top = 1395
Width = 3450
End
Begin VB.CommandButton cmdDate
Height = 300
Left = 6705
Picture = "frmNewBook.frx":0335
Style = 1 'Graphical
TabIndex = 24
ToolTipText = "確認(rèn)為今天"
Top = 2400
Width = 330
End
Begin VB.CommandButton cmdSelectMenu
Height = 240
Left = 6705
Picture = "frmNewBook.frx":063F
Style = 1 'Graphical
TabIndex = 25
ToolTipText = "酒席選擇"
Top = 3435
Width = 345
End
Begin VB.CommandButton cmdSelectMember
Height = 240
Left = 6705
Picture = "frmNewBook.frx":0949
Style = 1 'Graphical
TabIndex = 23
ToolTipText = "選擇會(huì)員編號(hào)"
Top = 510
Width = 345
End
Begin VB.CommandButton cmdSelectSite
Height = 240
Left = 3345
Picture = "frmNewBook.frx":1213
Style = 1 'Graphical
TabIndex = 22
ToolTipText = "選擇餐桌編號(hào)"
Top = 1005
Width = 345
End
Begin VB.CommandButton cmdOK
Caption = "確認(rèn)預(yù)訂(&OK)"
Height = 420
Left = 285
TabIndex = 12
Top = 3600
Width = 1680
End
Begin VB.CommandButton cmdCancelBook
Cancel = -1 'True
Caption = "關(guān)閉(&Close)"
Height = 420
Left = 2085
TabIndex = 11
Top = 3600
Width = 1680
End
Begin MSComCtl2.DTPicker dtpExpireDate
Height = 300
Left = 5100
TabIndex = 6
Top = 2415
Width = 1620
_ExtentX = 2858
_ExtentY = 529
_Version = 393216
Format = 69337089
CurrentDate = 37497
End
Begin 給出焦點(diǎn)文本框.FocusText ftNO
Height = 300
Left = 1320
TabIndex = 0
ToolTipText = "只能選擇"
Top = 480
Width = 2400
_ExtentX = 4233
_ExtentY = 529
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BorderStyle = 0
Locked = -1 'True
PreControl = "cmdOK"
NextControl = "ftClass"
End
Begin 給出焦點(diǎn)文本框.FocusText ftClass
Height = 300
Left = 1320
TabIndex = 1
ToolTipText = "輸入桌號(hào),按回車(chē)鍵加入。"
Top = 975
Width = 2400
_ExtentX = 4233
_ExtentY = 529
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BorderStyle = 0
PreControl = "ftNO"
NextControl = "ftCID"
End
Begin 給出焦點(diǎn)文本框.FocusText ftCID
Height = 300
Left = 5100
TabIndex = 2
ToolTipText = "只能選擇"
Top = 480
Width = 1980
_ExtentX = 3493
_ExtentY = 529
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BorderStyle = 0
PreControl = "ftClass"
NextControl = "ftCName"
End
Begin 給出焦點(diǎn)文本框.FocusText ftCName
Height = 300
Left = 5100
TabIndex = 3
Top = 975
Width = 1980
_ExtentX = 3493
_ExtentY = 529
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BorderStyle = 0
PreControl = "ftCID"
NextControl = "ftTel"
End
Begin 給出焦點(diǎn)文本框.FocusText ftTel
Height = 300
Left = 5100
TabIndex = 4
Top = 1470
Width = 1980
_ExtentX = 3493
_ExtentY = 529
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BorderStyle = 0
PreControl = "ftCName"
NextControl = "ftNum"
End
Begin 給出焦點(diǎn)文本框.FocusText ftNum
Height = 300
Left = 5100
TabIndex = 5
Top = 1935
Width = 1980
_ExtentX = 3493
_ExtentY = 529
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BorderStyle = 0
PreControl = "ftTel"
NextControl = "dtpExpireDate"
TextType = 1
Text = "1"
End
Begin 給出焦點(diǎn)文本框.FocusText ftExpireDate
Height = 300
Left = 6120
TabIndex = 8
Top = 2910
Visible = 0 'False
Width = 960
_ExtentX = 1693
_ExtentY = 529
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BorderStyle = 0
PreControl = "dtpExpireDate"
NextControl = "ftMenuID"
TextType = 2
Text = "12"
End
Begin 給出焦點(diǎn)文本框.FocusText ftMenuID
Height = 300
Left = 5100
TabIndex = 9
ToolTipText = "只能選擇"
Top = 3405
Width = 1980
_ExtentX = 3493
_ExtentY = 529
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BorderStyle = 0
PreControl = "cmbDatePart"
NextControl = "cmdOK"
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "上面列表中按鼠標(biāo)右鍵刪除選定餐桌。"
ForeColor = &H0000FFFF&
Height = 210
Left = 270
TabIndex = 27
Top = 3210
Width = 3570
End
Begin VB.Shape Shape1
FillColor = &H000080FF&
FillStyle = 0 'Solid
Height = 315
Left = 255
Top = 3150
Width = 3495
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "預(yù)訂編號(hào):"
Height = 210
Index = 0
Left = 285
TabIndex = 21
Top = 525
Width = 1050
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "餐桌編號(hào):"
Height = 210
Index = 1
Left = 285
TabIndex = 20
Top = 1020
Width = 1050
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "會(huì)員編號(hào):"
Height = 210
Index = 2
Left = 4065
TabIndex = 19
Top = 525
Width = 1050
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "聯(lián)系人:"
Height = 210
Index = 3
Left = 4275
TabIndex = 18
Top = 1020
Width = 840
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "聯(lián)系電話(huà):"
Height = 210
Index = 4
Left = 4065
TabIndex = 17
Top = 1515
Width = 1050
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "用餐人數(shù):"
Height = 210
Index = 5
Left = 4065
TabIndex = 16
Top = 1980
Width = 1050
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "預(yù)訂日期:"
Height = 210
Index = 6
Left = 4065
TabIndex = 15
Top = 2475
Width = 1050
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "預(yù)訂時(shí)間:"
Height = 210
Index = 7
Left = 4065
TabIndex = 14
Top = 2955
Width = 1050
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "酒席編號(hào):"
Height = 210
Index = 9
Left = 4065
TabIndex = 13
Top = 3450
Width = 1050
End
Begin VB.Line Line1
BorderColor = &H00FFFFFF&
Index = 1
X1 = 285
X2 = 3750
Y1 = 3525
Y2 = 3525
End
End
Begin VB.Menu mnuOperator
Caption = "餐桌刪除操作"
Begin VB.Menu mnuDeleteAll
Caption = "刪除所有餐桌編號(hào)(&A)"
Enabled = 0 'False
End
Begin VB.Menu jkkkk
Caption = "-"
End
Begin VB.Menu mnuDelete
Caption = "刪除選定的餐桌(&D)"
Enabled = 0 'False
End
End
End
Attribute VB_Name = "frmNewBook"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim BookChange As Boolean
Private Sub cmbDatePart_Change()
BookChange = True
End Sub
Private Sub cmbDatePart_Click()
BookChange = True
End Sub
Private Sub cmbDatePart_KeyDown(KeyCode As Integer, Shift As Integer)
On Error Resume Next
If KeyCode = 13 Then
ftMenuID.SetFocus
End If
End Sub
Private Sub cmdCancelBook_Click()
Unload Me
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -