Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PLEASE HELP ME IN VISUAL BASIC!!! I WILL THUMP UP!!! Objectives - Effectively create, use and type variables and constants. - Gather input. - Create
PLEASE HELP ME IN VISUAL BASIC!!! I WILL THUMP UP!!!
Objectives - Effectively create, use and type variables and constants. - Gather input. - Create mathematical statements to solve a problem. - Group controls. - Incorporate keyboard access including tabbing. - Utilize the AcceptButton and CancelButton. - Write simple exception handlers. - Locate and debug logic errors. Situation See page 226 , "4. Theater Revenue" for the basics of the assignment. Include enhancements as specified below: Specifications 1. The form must be renamed and the text changed to Theater Revenue by YourFirstName YourLastName. (If Pat Programmer was creating this program, it would be Theater Revenue by Pat Programmer) 2. Code must be grouped and commented in compliance with this course's programming standards. 3. ALL files, forms, and controls MUST be renamed. 4. Option Strict must be On (Page 148). 5. An AcceptButton and a CancelButton must be assigned appropriately (Page 188). 6. Set a logical TabOrder for ALL controls on the form (Page 184). 7. All buttons and labels (before TextBoxes) must have AccessKeys(Page 187). 8. Using the GroupBox control create an input area using appropriate labels and TextBoxes. It will allow the user to input the required values(Page 189). 9. Include a PictureBox to display an appropriate image(Page 80 - 84). 10. Create a Label to display the total number of tickets sold (both Adult and Child). The output to be displayed must use concatenation and should be in the format: "Total Tickets Sold Today: ". where > is be calculated from the values entered by the user. 11. Create a Label to display the current date in Long Date format. Use the LOAD event to populate this field (Page 192-193). 12. Create three buttons: Calculate Ticket Revenue, Clear, and Exit. Write appropriate code for each button. 13. Use a properly named constant for the percentage kept by the theater. It MUST be a single. Include any required coding to assure its data type is a single. 14. Values from the input fields MUST be assigned to variables and the variables used in calculations. 15. When displaying the gross and net Revenue values, the amounts must be displayed as currency ($15,000.00 ) (Page 160 - 162). 16. Exception handler/s with the appropriate message/s must be included. Use MessageBoxes to display error messages(Page 102). If the program crashes because of invalid input or processing, it will be eligible for a MAXIMUM of 50% credit, maybe less(Page 173- 183). Note: Please make sure that you nest your Try-Catch blocks so that you show only one error message at a time. 17. Coding: - When the user clicks on the Calculate button, the total count of tickets sold, Gross and Net Revenue values will be computed and displayed in the appropriate labels. - When the user clicks on the Clear button, the contents of the text boxes and the labels used for displaying Revenues will be cleared. The focus is returned to the first TextBox. - When the user clicks on the Exit button, the program ends. 18. When the cursor is in one of the four TextBoxes, the background color will be Yellow. When the cursor is no Ionger in the TextBox, it will return to White. Hint: Use GotFocus and LostFocus events and the BackColor property. Note: This is something that I want you to research on and implement. Assignment Submission Zip the entire Theater Revenue folder and submit it in the DropBox for the Assignment. Use your last name while creating your project, for example I would name my project Mathew_TheaterRevenue or Mathew_Assignment1. Note: Use the grading chart as a checklist to make sure you have included all that you need toStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started