Question

Image for Please create the following pizza order form. My form images are not needed but I can supply them for you. Ple

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If TextBox1.Text = "" Then
MsgBox("Customer not entered")
TextBox1.Focus()
End If

If TextBox2.Text = "" Then
MsgBox("Phone number not entered")
TextBox2.Focus()
End If

If CheckedListBox1.SelectedItem = "" Then

MsgBox("Pl. select ant Item")
End If

If CheckedListBox1.SelectedItem = "Big Italy" Then
If TextBox3.Text <= 0 Then
MsgBox("Enter quantity")
End If

End If

If CheckedListBox1.SelectedItem = "Meat Lover" Then

If TextBox4.Text <= 0 Then
MsgBox("Enter quantity")
End If
End If

If CheckedListBox1.SelectedItem = "Veggie Lover" Then

If TextBox5.Text <= 0 Then
MsgBox("Enter quantity")
End If
End If
TextBox11.Text = Val(TextBox3.Text) * Val(TextBox8.Text)
TextBox10.Text = Val(TextBox4.Text) * Val(TextBox7.Text)
TextBox9.Text = Val(TextBox5.Text) * Val(TextBox6.Text)
TextBox12.Text = Val(TextBox10.Text) + Val(TextBox11.Text) + Val(TextBox9.Text)
End Sub

Private Sub CheckedListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckedListBox1.SelectedIndexChanged
If CheckedListBox1.SelectedItem = "Big Italy" Then
TextBox8.Text = 12.0

End If

If CheckedListBox1.SelectedItem = "Meat Lover" Then
TextBox7.Text = 10.0

End If

If CheckedListBox1.SelectedItem = "Veggie Lover" Then
TextBox6.Text = 9.5

End If
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
TextBox1.Clear()
TextBox2.Clear()
TextBox3.Clear()
TextBox4.Clear()
TextBox5.Clear()
TextBox9.Clear()
TextBox10.Clear()
TextBox11.Clear()
TextBox12.Clear()
End Sub
End Class

Add a comment
Know the answer?
Add Answer to:
Please create the following pizza order form. My form images are not needed but I can...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Create an order entry screen program in C# to give a total for an individual pizza...

    Create an order entry screen program in C# to give a total for an individual pizza order. The Pizza order should have radio buttons for small $7, medium $9, and large $12 choices for the pizza. There should be a checkbox for drink (where a drink is $2 added if it is checked and nothing added if it is not checked. Include a textbox for the customer’s name. Have a button to calculate the subtotal (pizza choice and whether there...

  • Create an application with the following requirements: 1 form graphic on the form itself, along with...

    Create an application with the following requirements: 1 form graphic on the form itself, along with various others depending on the graphics used You pick the form color or additional graphics The program should generate a random number(1 and 100). A label that asks the player to think of a number between 1 and 100. The player should be able to enter their guess into a textbox. The program should validate the users entry to make sure its: A number,...

  • Hello, please help me to answer my assignment, i highly appreciate your effort, kindly explain it...

    Hello, please help me to answer my assignment, i highly appreciate your effort, kindly explain it clearly. Kindly put your codes in (NOTEPAD). Thank you very much. Write a VB application that will facilitate a pizza order. 1.The user interface should have a form containing all components pertaining to pizza order presented in either option buttons or check boxes. 2.Controls must also be grouped in frames according to size, toppings, or crust type. 3.The summary of order must be presented...

  • The following form will be used to determine the sales commission of employees. Using Visual Basic...

    The following form will be used to determine the sales commission of employees. Using Visual Basic Studio, build the form with these features:  The checkbox “Target Met” must be disabled.  The title of the form should appear as “Sales Commissions” Write the code to do the following: After entering the totals sales, the checkbox will automatically be checked if the average sales per month was $1,500 or more. Note: The average sales per month can be calculated by...

  • create an application in VISUAL BASIC that calculates a cars gas mileage. The formula for calculating...

    create an application in VISUAL BASIC that calculates a cars gas mileage. The formula for calculating the miles that a car can travel per gallon of gas is MPG = Miles/Gallon In the formula MPG is miles-per-gallon, miles is the number of miles that can be driven on a full tank of gas, and gallons is the number of gallons that the tank holds. The applications form should have TextBox controls that let the user enter the number of gallons...

  • Can you solve this proble by using C# application? C# is one of programming languages supported...

    Can you solve this proble by using C# application? C# is one of programming languages supported by Visual Studio 2015. It combines the features of Java and C ++ and is suitbale for rapid application development. A retail company must file a monthly sales tax report listing the total sales for the month, and the amount of state and county sales tax collected. The state sales tax rate is 4% and the county sales tax rate is 2%. Create an...

  • I can't figure this one out at all. Any help would be appreciated. Here's the question:...

    I can't figure this one out at all. Any help would be appreciated. Here's the question: You will need to complete the functions to Toggle the Fries and Drinks sections by adding or removing the 'hide' CSS class I created. I have already created the function to Toggle Burgers and you can use that as an example to build out the full functionality. I have also made created the function to reset the form. Finally, to calculate the total, you...

  • In Java please, and sooner is better then later. Create a working order form for Orinoco...

    In Java please, and sooner is better then later. Create a working order form for Orinoco as shown. Sales tax is 7% To display the Total Due (a Label) as currency, research how to use class NumberFormat. X orinoco.com orinoco.com Item Item hammers Price Price 20 Quantity Quantity 15 Taxable? Taxable? Shipping Shipping $20 $20 Next Day Next Day This Week $12 This Week $12 $5 Some Day $5 Some Day Total Due $341.00 Total Due $0.00 Process Reset Process...

  • I need help writting a Javascript function that does the following its for a HTML/CSS Shopping...

    I need help writting a Javascript function that does the following its for a HTML/CSS Shopping Cart Page CODE This page contains a list of the selected products that includes an image, name, price, quantity, and cost) Because the process is implemented not as real, three products along with its image and price are displayed on the page. The product ID of each product is stored in a hidden textbox. The default amount of each product is 1 and the...

  • COP2860 - Introduction to C# Programming Module #5 Assignment 10 points Program Functionality: Create a C#.NET...

    COP2860 - Introduction to C# Programming Module #5 Assignment 10 points Program Functionality: Create a C#.NET program that calculates customer bills for a food truck: Assignment Requirements: Build a custom order pad for a burger truck. It should look roughly like the following: Customer Bill - OX Bob's Burgers cheese fried egg bacon avocado O rare medium well done O yes no payment? O cash credit total clear Customer Bill - 0x Bob's Burgers cheese fried egg bacon avocado Add...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT