visual studio 2013

profileAhmad_kw
ass1.doc

Assignment 1

· This assignment is to create a project to calculate the gas price.

· Input the amount of gallons and calculate the gas price based on the gallons and the total price that the customer would pay.

· Include a TextBox for an input and Labels for displaying prices.

· Include a PictureBox for an image.

· Include three buttons for ‘Calculate’, ‘Clear’, and ‘Exit’. (Set an access key for each )

· ‘Calculate’ button calculates prices and displays them with dollar sign using ToString method.

· ‘Clear’ button should clear the input and outputs.

· ‘Exit’ button will close the window.

· Your user interface design is like the Figure below, but you are free to have your own design.

· In your VB program

· Add heading about your name, K number, and brief description of the code before the class name

· Add nice comments in each procedure.

· Make a zipped file of the folder created for the project and submit the file via ‘Assignment 1 of Assignments menu’ on Blackboard.

User Interface Design

image1.png

image2.png

image3.png