Question: In visual studio coding lamguage TG Automotive with Dialog Window In Chapter 6 1 0 , programming Challenge 4 0 you were asked to create
In visual studio coding lamguage TG Automotive with Dialog Window
In Chapter programming Challenge you were asked to create an application that calculate: charges for an automotive repair company. A significant drawback to the design of that program was that it was not expandableyou are limited to only the number of options that can easily fit on a single form. Realworld applications usually require a great deal of input selections, leading to the use of separate windows to get different types of input. In this Programming Challenge, you will create a separate form, iuch as the one shown in Figure to get the user's oil and lubrication services selections. Notice that the price of each service is included in the Text property of each CheckBox control.
Figure TG Automotive dialog window
To futsinctive
Oli and Lubication Servoes $
Radater Twish
Tramamenof fleeh
tableMicelaneousOhpocton Auplace Mute,Tre Rotrson,
Summary of Charges
Servees and Laboi
Tax on parta
Pats
Toealfoes
Figure Full Altemative Textio
It would be pomble to use dialog windown to collect uaer input for each of the other service categorien, but doing so would requare lots of work, thatead, you wall use a dialog window for only the ofl and lubrication services category, Sugrwation: You winf find it austest to mese some clasgibve' variables ard constants to a giosal eode modwie so that they may de acsubse from both the startup form and the Oil arid Lubrication Servicss form.
Figure Full Alternative Texto
Oil changes are now divided into two types: Crankcase oil and transmission oil. In the form shown in Figure the user has selected two checkboxes and clicked the Confirm Selections button. Notice that a confirmation message containing the price appears on the status line. The message also instructs the user that he or she may now close the form. Upon returning to the application's main form, shown in Figure the button caption has been updated to show the cost of the lubrication services previously selected by the user. If the user clicks the Clear button, you need to reset the caption of the oil and lubrication services button to ite starting value with no price One of the concepts we demonstrate in this application is that button captions may be altered at runtime to give more information to users.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
