Question
Need it in C# please. Create a New Project named Preferred Customer to be used in a retail store for preferred customers, where customers can
Need it in C# please.
Create a New Project named Preferred Customer to be used in a retail store for preferred customers, where customers can earn discount on all purchases depending upon how much money they are going to spend. To begin with designing your Application, you must add a class named Person with properties for holding a Persons Name, Address and Telephone Number. Next step is to create a class named Customer, which is derived from the Person class. The Customer class must have a property for Customer Number and a Boolean property indicating whether customer wished to be on a mailing list. Further, design a class named PreferredCustomer, which is derived from the Customer class. The PreferredCustomer Class must have properties for an amount of the customers purchases and the customers % discount earned. The GUI of Application (Form1 object) must have four input Text Boxes: (1) one for customers Full Name, (2) the second for customers Full Address, (3) the third one for customers Phone Number and (4) the fourth one for customers Purchased Amount as shown in Fig. 1. BorderStyle property of the Purchased Amount text box control is to be set at Fixed3D. In addition to these four Text Boxes, your Application must have one Radio button and one Display button controls: (1) Radio button is used to add customers name in mailing list or not, and (2) Display button, when clicked demonstrates the class in this Application. When you click Display button without entering any real data in tis GUI, the Application must show a message in a Message Box that Input string was not in a correct format, which is shown in Figure 2 on page # 2. Then you click OK button to enter real data input in Applications GUI. Your Application must have provision of Close and Clear buttons in its interface so that it could be possible to close it and clear all controls in its GUI. It is required that your GUI should be displayed at the Center of your computers monitor and your source code must have Comment Lines at appropriate places. Take a screen-shot of your GUI for each run
When a preferred customer spends $500.00, he/she gets 5% discount on all future purchases. You will plug in customers Full Name, Address, Phone Number and, Purchased Amount
When a preferred customer spends $1000.00, he/she gets 6% discount on all future purchases. You will plug in customers Full Name, Address, Phone Number and, Purchased Amount
When a preferred customer spends $1500.00, he/she gets 7% discount on all future purchases. You will plug in customers Full Name, Address, Phone Number and, Purchased Amount
Step 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