Question: Note: Do the following Program using C# winform: Begin a new project named Customer Information and design a class named Person with the following properties:
Note: Do the following Program using C# winform:
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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
