Professional Documents
Culture Documents
pri_extra_cheese = Val(Text2.Text)
pri_pepproni = Val(Text12.Text)
pri_mushrooms = Val(Text13.Text)
pri_green_peppers = Val(Text14.Text)
pri_hot_peppers = Val(Text15.Text)
pri_olives = Val(Text16.Text)
pri_pineapple = Val(Text17.Text)
pri_anchovies = Val(Text18.Text)
pri_seafoods = Val(Text19.Text)
your_pizza_bill = Val(Text20.Text)
your_topping_bill = Val(Text1.Text)
your_total_bill = Val(Text21.Text)
If Check1.Value And Check2.Value And Check3.Value And Check4.Value And Check5.Value And
Check6.Value And Check7.Value = True And Check8.Value = True And Check9.Value Then
Text1.Text = your_topping_bill
End If
End Sub
pri_5 = Val(Text6.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check5.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
pri_6 = Val(Text7.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check6.Value = 1 Then
pri_total = Val(Text21.Text) + 5
Text21.Text = pri_total
Form2.List1.AddItem "RM 5.00"
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
pri_7 = Val(Text8.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check7.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
Form2.List1.AddItem "RM 4.00"
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
Form1.Show
Unload Me
End Sub
pri_8 = Val(Text10.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check8.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
pri_9 = Val(Text10.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check9.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
End If
End Sub
Form3.Show
Unload Me
End Sub
Check1.Value = False
Check2.Value = False
Check3.Value = False
Check4.Value = False
Check5.Value = False
Check6.Value = False
Check7.Value = False
Check8.Value = False
Check9.Value = False
List1.Clear
End Sub
Private Sub Command4_Click()
Dim n As Integer
If Check1.Value = 1 Then
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
ElseIf Check7.Value = 1 Then
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
n = n + 1 And n > 5
MsgBox msg1
End If
If n > 5 Then
MsgBox msg1
End If
If n > 5 Then
MsgBox msg1
End If
End Sub
pri_total = Val(Text1.Text)
pri_1 = Val(Text2.Text)
pri_2 = Val(Text3.Text)
Text1.Text = pri_total
End If
End Sub
pri_1 = Val(Text2.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check1.Value = 1 Then
pri_total = Val(Text21.Text) + 3
Text21.Text = pri_total
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
pri_2 = Val(Text3.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check2.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
pri_3 = Val(Text4.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check3.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
Private Sub Command9_Click()
pri_4 = Val(Text5.Text)
pri_pizza = Val(Text20.Text)
pri_total = Val(Text21.Text)
If Check4.Value = 1 Then
pri_total = Val(Text21.Text) + 4
Text21.Text = pri_total
Form3.Text5 = Text21.Text
Form4.Text5 = Text21.Text
End If
End Sub
End Sub