July 2003
Intermediate to advanced
736 pages
16h 35m
English
A useful control on which to build is the user control. The user control can be designed, like a Windows form, which makes it an ideal candidate for designing business controls comprised of several constituent controls. The key is to flatten the properties of the constituent control, making the user control seem like a single control with several properties rather than a composite control.
The control I defined as the example for this section is a custom user control named AddressUserControl, which contains several constituent controls common to U.S. addresses (see Figure 9.8). I defined AddressUserControl as part of a class library and added the control to the Toolbox (see the earlier section Adding ...
Read now
Unlock full access