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

IMPLEMENTING THE BUSINESS LOGIC

Chapter 14

327

 

 

 

 

listRead.MoveToNextAttribute(); listRead.MoveToElement(); listRead.ReadString();

}

}

}

private void treeView1_AfterSelect(object sender, System.Windows.Forms

.TreeViewEventArgs e)

{

TreeNode currNode = e.Node; if (tvRootNode == currNode )

{

initializeListControl();

statusBarPanel1.Text=”Double click the Employee Records”; return;

}

else

{

statusBarPanel1.Text=”Click an employee code to view individual records”;

}

PopulateListView(currNode);

}

}

}

Summary

You have learned to develop a Windows application using TreeView, ListView, and StatusBar controls and to interact with a XML file.

This page intentionally left blank

 

 

Y

 

L

 

F

 

M

 

A

 

E

 

T

 

 

Team-Fly®

PART V

Professional Project 3

This page intentionally left blank

Project 3

Creating a

Creative Learning

Project

Project 3 Overview

In the preceding two projects, you looked at developing Windows applications for a car maintenance company and creating an employee records system application. In this project, you will learn to create another Windows application for a chain of bookstores. This Windows application is called Creative Learning after the name of the chain of bookstores.

The Creative Learning application contains a Windows form that validates the data entered by a user in a Word document. In this project, you will learn to create a Windows form that interacts with a Microsoft Word document. In addition, any errors produced while processing a Word document are logged in Windows Event Viewer. Therefore, you will also learn to access Event Viewer from a Windows form created in Visual Studio .NET.

I will be discussing the creation of the Windows form in the following chapters. The next chapter covers the case study and design of the Creative Learning application.

Chapter 15

Project Case

Study and Design