Building Visual Basic .NET Windows Applications
Content Inside: Visual Basic has always created forms as objects, but until Visual Basic .NET
we had not seen any underlying code to prove that. Quite possibly the biggest
change in Visual Basic .NET is that all the underlying details of how things are
done are no longer abstracted away from us. Although classes are formally
discussed in Chapter 6, â Building Class Libraries in .NET,â for now you need
to understand two basic points. The first point is that all things in .NET are
objects. The second point is that all objects are based on a template that a pro-
grammer built using code. The most common template for an object is called a
class. The description for an object in this chapter will be limited to a self-
contained entity that has properties to describe it, methods that provide behav-
iors, and events that allow it to respond to messages.
Form1 is actually a class called Form1 and at runtime, any number of actual
Form1 objects can be created based on that class. This chapter focuses on many
aspects of designing Windows applications, but as weâ re using different forms,
controls, and other objects, I need you to remember that all these things are
built using these object templates.
Source: media.wiley.com
Share it with your favorite bookmark service: