EBK 3N3-EBK: PROGRAMMING W/MICROSOFT VI
EBK 3N3-EBK: PROGRAMMING W/MICROSOFT VI
8th Edition
ISBN: 9780176920159
Author: ZAK
Publisher: VST
Question
Book Icon
Chapter 3, Problem 1E
Program Plan Intro

Form design:

  • Open Microsoft Visual Studio.
  • Select Visual Basic and click Windows Application.
  • Name the project as “Tip Project”.
  • Store the file in desired location.
  • The created project is now displayed with a form in the name of Form1.
  • Rename the Form1 as “Main Form” and add the necessary components.
  • In property window, change the Form name and add changes for Form elements properties.
  • Click the File menu->Save All.

View of the form design in the IDE:

EBK 3N3-EBK: PROGRAMMING W/MICROSOFT VI, Chapter 3, Problem 1E

The form control properties in the properties window are as follows:

ObjectPropertySetting
Form1TextRestaurant Tip
PictureBox1ImageWaiter.png
txtBillText(Empty)
txtPercentageText(Empty)
lblTipText(Empty)
btnCalcTextCalculate
btnExitTextExit
  • Add a picture box control to show the demo image of waiter.
  • Add two text box controls to input the value of bill and tip percentage.
  • Add two button controls, one to calculate the tip percentage and another to exit the program.

Blurred answer
Students have asked these similar questions
In this exercise, you modify the Gross Pay application from this lesson. Use Windows to make a copy of the Gross Pay Solution folder. Rename the copy Modified Gross Pay Solution. Open the Gross Pay Solution (Gross Pay Solution.sln) file contained in the Modified Gross Pay Solution folder. Open the designer and Code Editor windows. Locate the form’s Load event procedure. Change both For…Next statements to Do…Loop statements. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.
A Costume shop requests a Computer application that advertizes Costume rentals. This week's Costume rental specials are as follows : Table Costume Price per week Renaissance Fair $40 Stormtrooper $49 Batman / Batgirl $36 Pirate $29 Write an application that allows the user to select any of the five costume rental specials.  When the user selects a costume, the corresponding cost and a picture of the costume should be displayed.  Clear each prior price and picture when the user selects a different costume.  After selecting a costume, the user should be able to book the costume rental  and then CLOSE the window.  in visiual basic form
A Costume shop requests a Computer application that advertizes Costume rentals. This week's Costume rental specials are as follows : Table Costume Price per week Renaissance Fair $40 Stormtrooper $49 Batman / Batgirl $36 Pirate $29 Write an application that allows the user to select any of the five costume rental specials.  When the user selects a costume, the corresponding cost and a picture of the costume should be displayed.  Clear each prior price and picture when the user selects a different costume.  After selecting a costume, the user should be able to book the costume rental  and then CLOSE the window.

Chapter 3 Solutions

EBK 3N3-EBK: PROGRAMMING W/MICROSOFT VI

Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning