
Let’s take a moment to carefully analyze the controls
we’re creating. We’re dimensioning the variables as “con-
trols,” but not as actual text boxes or combo boxes. The result
is that some of the properties and methods of the controls will
not show up with the IntelliSense feature, but this doesn’t
mean they’re not available. IntelliSense recognizes only that
the variable is a “control,” but it doesn’t know the actual type
of control. Therefore, IntelliSense lists the properties common
to all controls. For example, IntelliSense won’t display the
BackColor property, but assigning a value to the BackColor
property is still syntactically correct. When assigned ...