📄 frmreshydepark.frm
字号:
Height = 435
Left = 4920
TabIndex = 26
Top = 6960
Width = 1275
_ExtentX = 2249
_ExtentY = 767
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "Delete"
ForeColor = 255
ForeHover = 16711680
End
Begin Project1.XPButton cmdInAdd
Height = 435
Left = 4920
TabIndex = 27
Top = 6240
Width = 1275
_ExtentX = 2249
_ExtentY = 767
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "Add"
ForeColor = 255
ForeHover = 16711680
End
Begin Project1.XPButton cmdExit
Height = 555
Left = 13080
TabIndex = 38
Top = 9240
Width = 1515
_ExtentX = 2672
_ExtentY = 979
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "ML1-TTRevathi"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "Exit"
ForeColor = 8388608
ForeHover = 255
End
Begin VB.Image Image7
BorderStyle = 1 'Fixed Single
Height = 1515
Left = 480
Picture = "frmResHydePark.frx":0000
Top = 8760
Width = 2130
End
Begin VB.Image Image6
BorderStyle = 1 'Fixed Single
Height = 1485
Left = 10200
Picture = "frmResHydePark.frx":9DE2
Top = 8760
Width = 1950
End
Begin VB.Image Image5
BorderStyle = 1 'Fixed Single
Height = 1980
Left = 13320
Picture = "frmResHydePark.frx":12B28
Top = 5760
Width = 1440
End
Begin VB.Image Image4
BorderStyle = 1 'Fixed Single
Height = 1500
Left = 6960
Picture = "frmResHydePark.frx":13E38
Top = 8760
Width = 1980
End
Begin VB.Image Image3
BorderStyle = 1 'Fixed Single
Height = 1485
Left = 3720
Picture = "frmResHydePark.frx":14FC4
Top = 8760
Width = 1980
End
Begin VB.Image Image2
BorderStyle = 1 'Fixed Single
Height = 2040
Left = 13320
Picture = "frmResHydePark.frx":15D34
Top = 3360
Width = 1470
End
Begin VB.Image Image1
BorderStyle = 1 'Fixed Single
Height = 1980
Left = 13320
Picture = "frmResHydePark.frx":1EFE6
Top = 1080
Width = 1485
End
Begin VB.Line Line7
X1 = 12720
X2 = 12720
Y1 = 1080
Y2 = 7800
End
Begin VB.Line Line6
X1 = 480
X2 = 12720
Y1 = 1080
Y2 = 1080
End
Begin VB.Line Line5
X1 = 480
X2 = 12720
Y1 = 7800
Y2 = 7800
End
Begin VB.Line Line4
X1 = 480
X2 = 480
Y1 = 1080
Y2 = 7800
End
Begin VB.Label Label10
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Total Amount"
BeginProperty Font
Name = "Bookman Old Style"
Size = 12
Charset = 0
Weight = 600
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 10080
TabIndex = 37
Top = 5760
Width = 1710
End
Begin VB.Line Line3
BorderColor = &H00000000&
X1 = 8760
X2 = 8760
Y1 = 5280
Y2 = 7800
End
Begin VB.Line Line2
BorderColor = &H00000000&
X1 = 480
X2 = 12720
Y1 = 5280
Y2 = 5280
End
Begin VB.Line Line1
BorderColor = &H00000000&
X1 = 480
X2 = 12720
Y1 = 2760
Y2 = 2760
End
Begin VB.Label Label9
BackStyle = 0 'Transparent
Caption = "Customer No:"
Height = 240
Left = 7080
TabIndex = 36
Top = 2280
Width = 1815
End
Begin VB.Label Label8
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Amount"
Height = 240
Left = 11280
TabIndex = 35
Top = 3120
Width = 780
End
Begin VB.Label Label7
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Quantity"
Height = 240
Left = 9120
TabIndex = 34
Top = 3120
Width = 855
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Rate"
Height = 240
Left = 7560
TabIndex = 33
Top = 3120
Width = 510
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Food Name"
Height = 240
Left = 3960
TabIndex = 32
Top = 3120
Width = 1230
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Food No"
Height = 240
Left = 1080
TabIndex = 31
Top = 3120
Width = 915
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "Customer Name:"
Height = 240
Left = 7080
TabIndex = 30
Top = 1680
Width = 1815
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "Employee No:"
Height = 240
Left = 1080
TabIndex = 29
Top = 2280
Width = 1815
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Date"
Height = 240
Left = 1080
TabIndex = 28
Top = 1680
Width = 1335
End
Begin VB.Menu mnufile
Caption = "File"
Begin VB.Menu mnufoodmnu
Caption = "Food Menu"
Shortcut = ^M
End
Begin VB.Menu mnufoodList
Caption = "Food List"
Shortcut = ^L
End
Begin VB.Menu mnusep2
Caption = "-"
End
Begin VB.Menu mnuabout
Caption = "About"
End
Begin VB.Menu mnusep
Caption = "-"
End
Begin VB.Menu mnuClose
Caption = "Close"
End
End
Begin VB.Menu mnuadd
Caption = "Add"
Begin VB.Menu mnuNewEntry
Caption = "New Entry"
Shortcut = ^N
End
End
End
Attribute VB_Name = "frmResHydePark"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdClear_Click()
txtSeaDate.Text = ""
txtSeaEmpNo.Text = ""
txtSeaCNo.Text = ""
txtSeaCName.Text = ""
txtSeaFN1.Text = ""
txtSeaFName1.Text = ""
txtSeaRate1.Text = ""
txtSeaQty1.Text = ""
txtSeaAmt1.Text = ""
txtSeaFN2.Text = ""
txtSeaFName2.Text = ""
txtSeaRate2.Text = ""
txtSeaQty2.Text = ""
txtSeaAmt2.Text = ""
txtSeaFN3.Text = ""
txtSeaFName3.Text = ""
txtSeaRate3.Text = ""
txtSeaQty3.Text = ""
txtSeaAmt3.Text = ""
txtSeaTAmount.Text = ""
End Sub
Private Sub cmdClose_Click()
frmMain.Show
frmResHydePark.Visible = False
End Sub
Private Sub cmdDelete_Click()
adoSeaRes.Recordset.Delete
End Sub
Private Sub cmdExit_Click()
If MsgBox("Are you sure you want to exit Hotel Mangement Sytem ?", vbQuestion + vbYesNo, "Confirm Exit !") = vbYes Then
End
End If
End Sub
Private Sub cmdFirst_Click()
adoSeaRes.Recordset.MoveFirst
End Sub
Private Sub cmdInAdd_Click()
frmResHPCAdd.Show
frmResHydePark.Visible = False
End Sub
Private Sub cmdLast_Click()
adoSeaRes.Recordset.MoveLast
End Sub
Private Sub cmdNext_Click()
If adoSeaRes.Recordset.EOF = True Then
MsgBox " It has already reached the Last record", vbInformation, "Message"
adoSeaRes.Recordset.MoveFirst
Else
adoSeaRes.Recordset.MoveNext
End If
End Sub
Private Sub cmdPrevious_Click()
If adoSeaRes.Recordset.BOF = True Then
MsgBox " It has already reached the First record", , "Message"
adoSeaRes.Recordset.MoveLast
Else
adoSeaRes.Recordset.MovePrevious
End If
End Sub
Private Sub cmdUpdate_Click()
adoSeaRes.Recordset.Update
End Sub
Private Sub mnuabout_Click()
frmabout.Show
End Sub
Private Sub mnuClose_Click()
frmResHydePark.Visible = False
frmMain.Visible = True
End Sub
Private Sub mnufoodlist_Click()
frmResHPCList.Show
End Sub
Private Sub mnufoodmnu_Click()
frmResHPCMenu.Show
End Sub
Private Sub mnuNewEntry_Click()
frmResHPCAdd.Show
frmResHydePark.Visible = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -