📄 frmseasonsres.frm
字号:
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Date"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 178
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 1320
TabIndex = 38
Top = 1320
Width = 1335
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "Employee No:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 178
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 1320
TabIndex = 37
Top = 1920
Width = 1815
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "Customer Name:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 178
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 7320
TabIndex = 36
Top = 1320
Width = 1815
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Food No"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 178
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 1320
TabIndex = 35
Top = 2760
Width = 915
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Food Name"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 178
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 4200
TabIndex = 34
Top = 2760
Width = 1230
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Rate"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 178
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 7800
TabIndex = 33
Top = 2760
Width = 510
End
Begin VB.Label Label7
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Quantity"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 178
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 9360
TabIndex = 32
Top = 2760
Width = 855
End
Begin VB.Label Label8
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Amount"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 178
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 11520
TabIndex = 31
Top = 2760
Width = 780
End
Begin VB.Label Label9
BackStyle = 0 'Transparent
Caption = "Customer No:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 178
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 7320
TabIndex = 30
Top = 1920
Width = 1815
End
Begin VB.Line Line1
BorderColor = &H00000000&
X1 = 720
X2 = 12960
Y1 = 2400
Y2 = 2400
End
Begin VB.Line Line2
BorderColor = &H00000000&
X1 = 720
X2 = 12960
Y1 = 4920
Y2 = 4920
End
Begin VB.Line Line3
BorderColor = &H00000000&
X1 = 9000
X2 = 9000
Y1 = 4920
Y2 = 7680
End
Begin VB.Label Label10
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Total Amount"
Height = 285
Left = 10080
TabIndex = 29
Top = 5400
Width = 1710
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 mnusep1
Caption = "-"
End
Begin VB.Menu mnuClose
Caption = "Close"
End
End
Begin VB.Menu mnuadd
Caption = "Add"
Begin VB.Menu mnunew
Caption = "New Entry"
Shortcut = ^N
End
End
End
Attribute VB_Name = "frmSeasonsRes"
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
frmSeasonsRes.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()
frmSeaAdd.Show
frmSeasonsRes.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()
frmSeasonsRes.Visible = False
frmMain.Visible = True
End Sub
Private Sub mnufoodlist_Click()
frmResSeaList.Show
End Sub
Private Sub mnufoodmnu_Click()
frmResSeaMenu.Show
End Sub
Private Sub mnunew_Click()
frmSeaAdd.Show
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -