In Brief

In this chapter, we looked at user controls for Windows applications and Web user controls for Web applications. Here's an overview of this chapter's topics:

  • User controls and Web user controls are custom controls that specialize in code reuse. You can create composite controls using standard controls, and/or design the appearance of a control from scratch.

  • User controls are based on the System.Windows.Forms.UserControl class. They are designed for use in Windows forms, and they support properties, methods, and events like any standard control.

  • Web user controls are much like standard user controls, except they're designed to be used in Web applications. These controls are based on the System.Web.UI.UserControl class. The process of creating ...

Get Microsoft® Visual C#® .NET 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.