Program Assignment

User Generated

mvmb23

Programming

Description

C# Program Assignment " Visual Studio " ( DON'T FORGET THE EXIT BUTTON )

C# Program Assignment " Visual Studio " ( DON'T FORGET THE EXIT BUTTON )

C# Program Assignment " Visual Studio " ( DON'T FORGET THE EXIT BUTTON )

Unformatted Attachment Preview

CS 313 02 Program Assignment 05 Chapter 10 20 Points Name ___________________________________ Due: Wednesday, April 4, 2018 Begin a new project named Customer Information and design a class named Person with the following properties: • LastName (string) • FirstName (string) • Address (string) • City (string) • State (string) • Zip (string) • Phone (string) Implement the properties as public property procedures. Create a form that allows you to assign values to each property of a Person object. Design a new class named Customer, which is derived from the Person class. The Customer class should have the following properties: • CustomerNumber (integer) • MailingList (Boolean) • Comments (string) The CustomerNumber property will be used to hold a unique number for each customer. The Mailing List property will be set to True if the customer wishes to be on a mailing list, or False if the customer does not wish to be on a mailing list. The Comments property holds miscellaneous comments about the customer. Modify the form so that it allows you to store data in each property of a Customer object. Add a button to process a class object. This code should accept the data from the textboxes and store them in the properties of the class. It should then display the data from the class to multiple message boxes. Be sure to include an Exit button. Add the following comments to the beginning of the program. Name: Your Name Class and Section: CS 313 02 Assignment: Program Assignment 05 Due Date: See above Date Turned in: Program Description: You write a short description of what the program will do When you complete the program, do the following. 1. Turn in a printout of the source code from Visual Studio with this sheet attached to the front 2. Create a folder with the following name: Program 05 3. Copy your project to this folder 4. Copy the folder to the following location: I:\kopp\inbox\CS 313 02\your name where your name is a folder located in I:\kopp\inbox\CS 313 02. Extra Credit 5 points: Add a second form to the project. Instead of outputting the data to message boxes, display the output to a list box on this second form. Begin a new project named Customer Information and design a class named Person with the following properties: • LastName (string) • FirstName (string) • Address (string) • City (string) • State (string) • Zip (string) • Phone (string) Implement the properties as public property procedures. Create a form that allows you to assign values to each property of a Person object. Design a new class named Customer, which is derived from the Person class. The Customer class should have the following properties: • CustomerNumber (integer) • MailingList (Boolean) • Comments (string) The CustomerNumber property will be used to hold a unique number for each customer. The Mailing List property will be set to True if the customer wishes to be on a mailing list, or False if the customer does not wish to be on a mailing list. The Comments property holds miscellaneous comments about the customer. Modify the form so that it allows you to store data in each property of a Customer object. Add a button to process a class object. This code should accept the data from the textboxes and store them in the properties of the class. It should then display the data from the class to multiple message boxes. Be sure to include an Exit button. Extra Credit 5 points: Add a second form to the project. Instead of outputting the data to message boxes, display the output to a list box on this second form.
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

At...


Anonymous
Awesome! Made my life easier.

Studypool
4.7
Indeed
4.5
Sitejabber
4.4

Related Tags