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.

Chapter 18 How to work with default properties, events, and operators
An introduction to the ProductList class 598
The code for a simple ProductList class 598
The specifications for the enhanced ProductList class 600
How to work with default properties 602
How to create a default property 602
How to throw an argument exception 604
How to work with events 606
How to define events 606
How to use events 606
How to overload operators 608
An introduction to operator overloading 608
How to overload arithmetic operators 610
How to overload comparison operators 612
An enhanced version of the Product Maintenance application 614
The code for the ProductList class 614
The code for the Product Maintenance form 618




Murach's VB 2005

Learn more about this book

View the table of contents

Add this book to your cart



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.