Wyo VB Store

Write a program that allows the user to order a certain quantity of some product that your store sells. The user must be able to type the quantity of the product that he/she wants to purchase into a textbox. Then the user will click a button to see the total amount of money that he/she owes in a label. Place another label next to that label with a message something like "Total cost is $". You can make up the name of your store and the name of the product and display those items in separate labels. You must include another button that displays the message "Programmed by Your Name." in a message box when clicked. You must also have a Clear button in the lower left of the form window and an Exit button in the lower right corner of the form window. The Clear button should clear the textbox when it is clicked. The Form's title bar should contain the name of your fictitious store. Make sure though that your program is user-friendly and attractive.

Preconditions:

  • The user will not type in negative quantitites or quantities greater than 1000.

Your program must follow standard Windows conventions as well as our school's Visual Basic Coding Standards. Name your project Store.

Staple your printouts in the following order:

  1. VB code
  2. The interface sketch that you originally drew with the placement and Name properties of your objects.
  3. The screen capture of your actual form window at runtime after a successful test case. See the instructor if you do not know how to create a screen capture.