Skip to Content
.NET Windows® Forms Custom Controls
book

.NET Windows® Forms Custom Controls

by Richard Weeks
January 2002
Intermediate to advanced
288 pages
5h 48m
English
Sams
Content preview from .NET Windows® Forms Custom Controls

Detailed Design

Before diving into the code for the OutlookBarTab, its design must be fully specified. The design details include the following:

  • Base class

  • Interfaces

  • Properties

  • Events

  • Public methods

  • User interface

  • Control/Component designer

After the design criteria have been established, it's merely a matter of realizing the design in code. The first question, of course, is where to start.

Base Class

Deciding on the base class for the OutlookBarTab requires determining what role the component plays, the needs of the component, and its interaction with its eventual container. Because the OutlookBarTab represents a graphical entity on the screen, it might seem necessary for it to derive from the Control base class. The Control base class would allow ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro .NET 5 Custom Libraries: Implementing Custom .NET Data Types

Pro .NET 5 Custom Libraries: Implementing Custom .NET Data Types

Roger Villela
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

Publisher Resources

ISBN: 0672323338Purchase book