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

616 Project 5 CREATING A WEB PORTAL FOR A BOOKSTORE

The Construction form contains a hyperlink control and two label controls. The hyperlink on the Construction page takes you to the Main form.

Flowcharts for the Web Forms Modules

After seeing the design of all the forms in the Web client application for Booker’s Paradise, you can create the flowcharts for these forms. This will help you understand the working of the client application, making it easier for you to write the code for the client application. To begin, create a flowchart for the Main form, which is the home page for the Web site.

Flowchart for the Main Form

In the Main page, the user selects criteria, specifies a value for the criteria, and queries for the information based on the criteria. In addition, the user may choose to click on any of the hyperlinks on the Main form. Based on this functionality, a flowchart for the Main form is created. Figure 27-9 shows the flowchart for the Main form.

FIGURE 27-9 The flowchart for the Main for m

PROJECT CASE STUDY AND DESIGN

Chapter 27

617

 

 

 

 

Flowchart for the Results Form

The Results form allows a user to select a book to order. Based on this, the flowchart for the Results page is shown in Figure 27-10.

FIGURE 27-10 The flowchart for the Results for m

Flowchart for the Orders Form

The Orders page accepts the information about the customer and passes this information to the database of the publisher. In addition, the information about the book that is ordered is passed to the database of the publisher. To do this, the Orders form works as shown in Figure 27-11.

FIGURE 27-11 The flowchart for the O rders form