Microsoft Visual C#
7th Edition
ISBN: 9781337102100
Author: Joyce, Farrell.
Publisher: Cengage Learning,
expand_more
expand_more
format_list_bulleted
Question
Chapter 12, Problem 7E
Program Plan Intro
- Create a windows form app project and name it as VacationPlanner.
- Use ToolBox of visual studio to add different labels, domainUpDown and buttons to the form.
- Set collections list for each domainUpDown and double click button to add code to evaluate total cost of vacation.
Program Description: The following program will create windows form for VacationPlanner using DomainUpDown, labels and buttons.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Create a new project and name it as yourlastname-firstname-Assignment4. Save this project in VB folder you created earlier.
Change form’s title to: Your full name – Assignment4 - Loan.
Form contains four Labels, three TextBoxes, one ListBox, and three Button controls.
Use labels to identify loan components (three TextBoxes) and results (ListBox). ListBox displays the Month, Monthly Payment, Principal, Interest and Loan Balance for each month. Buttons are to Calculate, Clear Input and Exit program. See below Form Layout with Controls for more details. Note: The control Names are shown in callouts.
You will declare two set of variables:
- Input variables:
Loan Amount (Double)
Period (Integer)
Interest (Double)
- Output variables:
Count (Integer, to be used for For Loop to keep track of Loan period)
Months (Integer, to calculate Loan number of months
Payment (Double, for monthly payment)
ToInterest (Double, how much of the monthly payment to Interest)
ToPrincipal (Double, how much…
Create an application that lets the user select a workshop from one ListBox anda location from another ListBox. When the user clicks a button, the applicationshould calculate and display the registration cost, the lodging cost, and the totalcost.
Create a project named BreezyViewApartments that contains a Form for anapartment rental service. Allow the user to choose a number of bedrooms, number ofbaths, and view—street or lake. After the user makes selections, display the monthlyrent, which is calculated using a base price of $450, $550, or $700 per month for aone-, two-, or three-bedroom apartment, respectively. $75 is added to the base pricefor more than one bath, and $50 additional is added to the price for a lake view. Usethe Controls that you think are best for each function. Label items appropriately, anduse fonts and colors to achieve an attractive design.
Knowledge Booster
Similar questions
- Create a project named ClassicBookSelector that contains a Form with a ListBox that lists at least five classic books that you think all educated people should have read. When the user places the mouse over the ListBox, display a Label that contains a general statement about the benefits of reading. The Label disappears when the users mouse leaves the ListBOX area. When the user clicks a book title in the ListBOX, display another Label that contains a brief synopsis of the specific book. Also, change the BackColor of the Form to a different color for each book.arrow_forwardCreate a project named BreezyViewApartments that contains a Form for an apartment rental service. Allow the user to choose a number of bedrooms, number of baths, and view—street or lake. After the user makes selections, display the monthly rent, which is calculated using a base price of $450, $550, or $700 per month for a one-, two-, or three-bedroom apartment, respectively. $75 is added to the base price for more than one bath, and $50 additional is added to the price for a lake view. Use the Controls that you think are best for each function. Label items appropriately, and use fonts and colors to achieve an attractive design.arrow_forwardCreate a project named MyFlix. Its Form contains a ListBox with the titles of at least six movies or TV shows available to purchase. Provide directions that tell users they can choose as many downloads as they want by holding down the Ctrl key while making selections. When the user clicks a Button to indicate the choices are final, display the number of selections made and total price, which is $1.99 per download. If the user selects or deselects items and clicks the button again, make sure the total is updated correctly.arrow_forward
- Create a Simple Contact us form: This contact us form should have thefollowing fields:a. Firstnameb. Lastnamec. Email Addressd. Telephone Number.e. A submit ButtonThe contact us form should have the following Javascript validation:a. Ability to check that the email entered is a valid email addressb. Ability to restrict the telephone number field from receiving a text in place ofa phone number.c. Ability to display the user details using an alert.arrow_forwardI need help with this JavaScript code. Create a basic form that fits the theme for your website. This can be a contact form or some form for ordering products. The form must contain the following elements: w3School Reference (Make sure you add your id's) Two fields to accept text Two radio buttons Three checkboxes that have some type of numerical value One combo box that contains 2 items Two buttons for Cancel and Submit Create a new JS file and name it validationForm.js, place the new js file into your scripts folder. Utilize the proper techniques to add the new js file to your Html code. JavaScipt: Use javascript to grab the information from the form, some fields can be optional but the user must enter a value in at least two text fields before pressing the submit button. (Hint: Event Listeners) Create a function to check if both text fields are not empty, the function should return a boolean value. If the value returned was false, present an alert with a proper…arrow_forwardexcel vba project, please explain it with Screenshots. Prepare a userform where the input fields are O First Name (text) O Last Name (text) O Student No (unique number) O GPA (decimal number between 0.00 and 4.00) O Number of Credits Taken (integer between 0 and 150) In the form there should be Save Data, Close Form buttons Prepare a second form (reachable from the first form) where O there are summarizing fields where you calculate the min/max/average GPA of the class room. O It should also show the top 3 students ranked with respect to their GPA O You can display the number of credits taken by a student when you enter the student no (so there will be a field where you enter student no. And when you click it, it should display the credits of the corresponding student) Fill with at least 10 student data (you can randomly give numbers and names...)arrow_forward
- Create a simple PHP application that will ask users to enter Name, E-Mail, and Phone Number values (see the first figure), and when the submit button is clicked, will then use the data from the text fields to add more lines at the end of the message (see the second figure). Make sure you add appropriate input validations for all the fields. Then, test the application by entering appropriate data in the name, e-mail, and phone number boxes.arrow_forwardInput data: Feet: User enters a number for feet Period: User enters a number for inches Instructions: Create a new project and name it as yourlastname-firstname-Assignment5. Save this project in VB folder you created earlier. Change form’s title to: Your full name – Assignment 5 - Conversion. Form contains four Labels, two TextBoxes, and three Button controls. Use labels to identify Feet, Inches and Meters. See below Form Layout with Controls for more details. Note: You will use the same control Names shown below. - Input variables: Feet (Single) - TextBox, txtFeet Inches (Single) - TextBox, txtInches - Output variables: Meters (Single) -Label, lblMeters To convert feet and inches to meters, use this formula: (feet * 12 + inches) * 0.0254. 0.0254 is a constant value to convert English system to Metric. Make sure to declare a Constant for this literal number. You construct a Function for this conversion. It will be placed after End Sub for btnConvert_Click. Start…arrow_forwardInstructions: Create a new project and name it as yourlastname-firstname-Assignment7. Save this project in VB folder you created earlier. Change form’s title to: Your full name – Assignment 7 - Multiform. Main form contains (see main form layout below): five buttons: Quizzes Total, Projects Total, Grade, Clear and Exit five labels: display Quizzes Totals, Project Totals and Grade. Display Final and Grade labels one textbox to input Final score. Clear button to clear the main form and Exit to close the mail form Quizzes form contains (see quizzes form layout below): four labels to display Quiz 1, Quiz 2, Quiz 3, Quiz 4 four textboxes to input score for each quiz two buttons: OK to add the quizzes scores and return to the main form & Cancel to return to the main form without any calculations Projects form contains (see projects form layout below): five labels to display Project 1, Project 2, Project 3, Project 4, Project 5 five textboxes to input score for each project…arrow_forward
- Include a comment in the code that includes the assignment name, your name, and the date The web site title is Your name Include a header that is Your Name, Calculate Shipping and Handling Include a text box to allow the user to enter the purchase price Include a label for the text box Include a button to allow the user to get the shipping & handling fee Include a JavaScript function to calculate shipping and handling The shipping and handling fee is calculated as follows: If the order total is $25 or less, the fee is $1.50 If the order total is more than $25, the fee is 10% of the order total; use the following formula: S&H Fee = Purchase Price * 0.10 After determining the shipping & handling fee, add it to the purchase price and display the order total in an alert box (include a message such as "The order total is: " with the total)arrow_forwardCreate an application that receives an internet application from a company’s prospectivecustomers. The following information must be received from the applicant:- Name - Internet Choice - Applicant salaryIn the event that the “Check application” button is clicked, the complete application result must bedisplayed in the listbox control of a second form. The label control of the second form must simplyindicate whether an application is “approved” or “not approved”If a user has a salary of R2500 or less, then the application cannot be approved, else the applicationwill be approved.arrow_forwardCreate a project named GuessANumber with a Form that contains a guessing game with five RadioButtons numbered 1 through 5. Randomly choose one of the RadioButtons as the winning button. When the user clicks a RadioButton, display a message indicating whether the user is right. Add a Label to the Form that provides a hint. When the users mouse hovers over the label, notify the user of one RadioButton that is incorrect. After the user makes a selection, disable all the RadioButtons. You can create a random number that is at least min but less than max using the following statements: Random ran = new Random(); int randomNumber; randomNumber = ran.Next(min, max);arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,COMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE LProgramming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning
- New Perspectives on HTML5, CSS3, and JavaScriptComputer ScienceISBN:9781305503922Author:Patrick M. CareyPublisher:Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning