Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Microsoft C# Professional Projects - Premier Press.pdf
Скачиваний:
177
Добавлен:
24.05.2014
Размер:
14.65 Mб
Скачать

114 Project 1 CREATING A CUSTOMER MAINTENANCE PROJECT

You have looked at the basics of C#; you will now move on to developing projects by using C#. Beginning with this chapter, you will learn more about using C# and its features through projects. These projects will help you to get a better understanding of the features of C#, which will enable you to apply these

features in real-life projects.

The first project will be to develop a Customer Maintenance project. This chapter covers the case study and design of the project.

Case Study

CareKar, Inc. is a car maintenance company in Atlanta. The workers of the company get their total compensation as a fixed salary added to allowances that are based on the work they do in a month. In addition, the company gives discounts to their regular customers. Don Burton, the accounts manager of the company, finds it difficult to calculate the gross salary of a worker at the end of a month. Therefore, Don has decided to track the work done by a worker on a daily basis. This would enable him to calculate the allowances given to workers at the end of a month. In addition, he has also decided to track the visits of a customer on a monthly basis. This data would enable him to calculate the discount to be given to a customer.

As a solution to Don’s problem, the company has decided to create databases that store information about workers, customers, work done by each worker, and consumable products. Based on the data in the databases, the company will then generate reports to analyze the data.The analysis of the data in the crystal reports will enable Don to find the work done by a worker in a month and, therefore, calculate the worker’s gross monthly salary. You will learn to create the Windows forms and crystal reports in the following chapters.

This project covers the creation of a Windows application for CareKar, Inc.However, before proceeding with the actual creation of the project, you must first understand the stages of a project. The following sections discuss the various stages in the development of a project in detail.