Define access keys for the buttons in the user interface

Assignment Help Visual Basic Programming
Reference no: EM131662001

Assignment

In this assignment you are to create a Visual Basic application for the VB gas station. The application should be able to calculate the total price for a visit to the station. Visitors to the VB gas station can purchase either unleaded fuel, premium fuel, or both unleaded and premium fuel.

Your program should:

o provide input fields where the amount of each type of fuel to be purchased can be entered

o provide output fields where the subtotal charges for both unleaded and premium fuel purchases can be displayed

o provide an output field where the total price for the visit to the gas station can be displayed

o include appropriate labels for all input and output fields in the interface

o provide a "Calculate" button that when pressed will read input values for the gallons of unleaded fuel to be purchased and the gallons of premium fuel to be purchased and then calculate and display the unleaded subtotal charge, the premium subtotal charge, and the total price for the visit to the gas station

o format each of the output fields using the ToString() method so that a dollar sign is printed in front of the number and two digits of precision are displayed.

o provide a "Clear" button that when pressed will reset the form so the two input fields and three output fields are all blank (just like when the program starts running)

o provide an "Exit" button that when pressed will close the application

o define access keys for the buttons in the user interface

o establish the tab order for interface controls so that the input area for the "Gallons of unleaded" is selected first, followed by the "Gallons of premium" input area, followed by the "Calculate" button, the "Clear" button, and then the "Exit" button

o include a PictureBox to display an image that is appropriate for a gas station application

Two sample user interface screens are shown below, the first illustrates the application when it first starts running, the second shows the result of pressing the "Calculate" button when the corresponding values have been input. The user interface of your application does not have to be exactly the same as the examples below, but should be functionally equivalent.

Make sure to add a heading comment in your source code to specify your name, K number, and a brief description of the code (note: heading comments are placed before the class name in the source code). Also make sure to include additional comments within the source code (at least one comment per procedure to describe its function).

When finished, make a zip file of the folder created for the project and submit the file to the corresponding assignment on the BlackBoard system.

Attachment:- VB-Gas-Station.pdf

Reference no: EM131662001

Questions Cloud

Process of delegation has been referred to as legal dynamite : The process of delegation has been referred to as legal dynamite. Please share an example of delegation that was not appropriate
Define organizational behavior : Define organizational behavior. How can learning organizational behavior help you in your daily life?
Estimate running time for the poorest performing algorithm : The data in Figure shows the result of running the maximum subsequence sum problem in 1991. The program was written in the C programming language and run.
Biggest public relations blunders : Perform a web search for the "biggest public relations blunders". Select one and describe it for our classroom. Once done, answer the following:
Define access keys for the buttons in the user interface : Define access keys for the buttons in the user interface. Provide input fields where the amount of each type of fuel to be purchased can be entered.
What is the default risk premium on the corporate bond : If 10-year T-bonds have a yield of 6.2%, 10-year corporate bonds yield 7.9%, what is the default risk premium on the corporate bond
Reluctance to prospect is a real phenomenon : Reluctance to prospect is a real phenomenon. What can you do now (and avoid doing now).
What would be the fine on day n : In a court case, a judge cited a city for contempt and ordered a fine of $2 for the first day. Each subsequent day, until the city followed the judge's order.
Prepare the journal entry to record the bond issue : Morgan Corporation issues $100,000 of 5% (paid annually), three-year bonds on June 1. Prepare the journal entry to record the bond issue

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms". This assignment will contain two (2) Parts: Written Paper and Visual Basic Prototype. The Visual Basic Prototype is not included in the total page count but is included in the e..

  Visual basic programming discussion

The use of decision logic is one of the major concepts of computer programming. The decision takes your code from being sequential to one that can take various options based on the different conditions. Determine the method of coding that you would u..

  Ticketseller

Use Visual basic 2010Visual Basic,  TicketSeller. This assignment will contain two (2) Parts: Event Planning Document and Coding phase. You must submit both parts as separate files for the completion of this assignment. Remember, you are only to de..

  Data storage & "exception error trapping"

Discussion on Data Storage and  "Exception Error Trapping".

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms".

  The implementation of server side of the application

Implementation of dynamic content, server side (backend) and database for your web site using Microsoft Visual Studio 2012

  Need help building a vwd website

Need help building a VWD website. This website may not go live. I have little progress as a family tragedy has impeded my time for school.

  To develop a visual basic console application

The aim of the assessment is to develop a Visual Basic console application that performs a number of mathematical functions. The mathematics package will be menu driven, i.e. a number of options will be displayed, and the user will be able to input w..

  Program in basic which prompts user to input two integers

Write down the program by using Small Basic which prompts the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum).

  Develop vb-net application that includes arrays and loops

Develop a VB.NET application that includes arrays, loops, and IF statements to do the following. Your output must also display the number of applicant(s) being interviewed.

  Visual basic program to accept numeral values

Write a VISUAL BASIC program to accept numeral values of any unit, sum up the total, calculate the average, and then Output the result with a proper unit.

  Write a visual logic program to accept series of number

Write a Visual Logic program which accepts a series of numbers, until the first negative value is entered. The maximum number of non-negative input values is 250.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd