d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Paying Fg For The Codes For This Hw
Add Reply New Topic New Poll
Member
Posts: 8,883
Joined: Sep 11 2009
Gold: 7,000.00
Sep 10 2012 11:40am
1. Name your application Assignment_2.
2. Name the form frmAssignment_2. The title should be as depicted below.
3. Name the labels lblCustomer, lblPhone, lblHours, and lblParts.
4. Name the textboxes txtCustomer, txtHours, and txtParts.
5. Name the listbox lstBill.
6. The Customer phone textbox should be a MaskedTextBox and should allow inputs only in the form of ___-____ (3 characters, followed by a dash, followed by 4 characters). Name this MaskedTextBox mtbPhone. Show the underlines and dash in the mask.
7. Add the access keys as displayed in the diagram below.
8. If the user leaves the Customer, Hours, or Parts textboxes blank, produce an error message (using a MessageBox) that informs the user to enter the appropriate information and do not display the information in the listbox.
9. Create variables to hold the customer, phone, hours, and parts information. Name the variables customer, phone, hours, and parts. Their data types should be string, string, double, and double, respectively.
10. When the user clicks the Display Bill button, prompt the user to enter in the date of the services. Store this information in a variable called service_date. Display this date and the date the invoice is due (30 days from the date entered) in the listbox as shown below. [Hint: use the AddDays function]. Store the due date in a variable called due_date.
11. Convert the customer name variable to upper case before displaying it in the listbox.
12. Whenever the user clicks the Display Bill button, the listbox should be cleared before displaying the new results.
13. To calculate the amounts, create three variables (labor_cost, parts_cost, and total_cost), and display these amounts in the listbox as shown below.
14. Be sure to use currency format where appropriate.
15. Be sure that the columns line up appropriately. [Hint: you can use the built-in Visual Basic constant “vbTab” to create neat columns in your listbox.]
Member
Posts: 6,522
Joined: Jun 5 2008
Gold: 0.00
Sep 10 2012 11:41am
Up,up, down, down, left, right, left, right, A, B, start
Member
Posts: 35,271
Joined: Jan 13 2007
Gold: 3,468.37
Sep 10 2012 12:07pm
Quote (DeadShell @ Sep 10 2012 10:41am)
Up,up, down, down, left, right, left, right, B, A,  start


Fixed
Member
Posts: 11,610
Joined: Oct 28 2008
Gold: 1,795.00
Sep 10 2012 03:15pm
Quote (DeadShell @ Sep 10 2012 12:41pm)
Up,up, down, down, left, right, left, right, A, B, start


don't forget to turn cheat-mode on with
up, down, down, down, B, select

should play sound if you did this correctly
Member
Posts: 6,325
Joined: Dec 2 2007
Gold: 2,347.75
Sep 12 2012 06:13pm
Quote (evil_lag @ 10 Sep 2012 18:40)
1. Name your application Assignment_2.
2. Name the form frmAssignment_2.  The title should be as depicted below.
3. Name the labels lblCustomer, lblPhone, lblHours, and lblParts.
4. Name the textboxes txtCustomer,  txtHours, and txtParts.
5. Name the listbox lstBill.
6. The Customer phone  textbox should be a MaskedTextBox and should allow inputs only in the form of ___-____ (3 characters, followed by a dash, followed by 4 characters).  Name this MaskedTextBox mtbPhone.  Show the underlines and dash in the mask.
7. Add the access keys as displayed in the diagram below.
8. If the user leaves the Customer, Hours, or Parts textboxes blank, produce an error message (using a MessageBox) that informs the user to enter the appropriate information and do not display the information in the listbox.
9. Create variables to hold the customer, phone, hours, and parts information.  Name the variables customer, phone, hours, and parts.  Their data types should be string, string, double, and double, respectively.
10. When the user clicks the Display Bill button, prompt the user to enter in the date of the services.  Store this information in a variable called service_date.  Display this date and the date the invoice is due (30 days from the date entered) in the listbox as shown below.  [Hint:  use the AddDays function].  Store the due date in a variable called due_date.
11. Convert the customer name variable to upper case before displaying it in the listbox.
12. Whenever the user clicks the Display Bill button, the listbox should be cleared before displaying the new results.
13. To calculate the amounts, create three variables (labor_cost, parts_cost, and total_cost), and display these amounts in the listbox as shown below.
14. Be sure to use currency format where appropriate.
15. Be sure that the columns line up appropriately.  [Hint: you can use the built-in Visual Basic constant “vbTab” to create neat columns in your listbox.]


i'll do it for 8400 fg
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll