Murach's Visual Basic 2005
How to work with default properties, events, and operators
Chapter 11 covers the skills that you need whenever you create
a Visual Basic class. Now, this chapter shows you advanced
techniques that allow you to develop more complex classes,
like how to create default properties, throw argument exceptions,
raise events, and overload operators.
|
|
|
|
The code for a simple ProductList
class |
598 |
|
The specifications for the enhanced
ProductList class |
600 |
|
|
How to create a default property |
602 |
|
How to throw an argument exception |
604 |
|
|
How to define events |
606 |
|
How to use events |
606 |
|
|
An introduction to operator overloading |
608 |
|
How to overload arithmetic operators |
610 |
|
How to overload comparison operators |
612 |
|
|
The code for the ProductList class |
614 |
|
The code for the Product Maintenance
form |
618 |
|
 |
|
|
|
|
© Copyright 1998-2010 Mike Murach &
Associates, Inc. All rights reserved.
|
|
|