Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions