Setting Up the Project


Create a new Windows application and call it ClassAttributeDemo. Add a new class to the project and call it ListAttributes. On the default form that is created, add the controls and set the properties as shown in Table 10-1.

Table 10-1: Form Controls for the ClassAttributeDemo Application

Control

Name

Property

Value

Form1

frmList

Text

Class Attribute Demo

Listview

lvwList

View

Details

Button

btnComputers

Text

Computer List

Button

btnBooks

Text

Book List

When you are done, the form should look like Figure 10-1.

click to expand
Figure 10-1: The ClassAttributeDemo application




Building Client/Server Applications with VB. NET(c) An Example-Driven Approach
Building Client/Server Applications Under VB .NET: An Example-Driven Approach
ISBN: 1590590708
EAN: 2147483647
Year: 2005
Pages: 148
Authors: Jeff Levinson

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net