Skip to Content
Microsoft® .NET Kick Start
book

Microsoft® .NET Kick Start

by Hitesh Seth
December 2003
Intermediate to advanced content levelIntermediate to advanced
504 pages
10h 42m
English
Sams
Content preview from Microsoft® .NET Kick Start

Creating User Controls

ARE MENUS USEFUL?

When used carefully, context-sensitive menus can be very useful. Menus are typically associated with keyboard shortcuts and can allow the user to easily navigate a complex business application.

A set of controls provided by the .NET Framework is quite broad and, for most applications scenarios, perhaps sufficient. However, for scenarios when you will need to either tweak the prebuilt controls or create new controls by aggregating multiple simpler controls, the Windows Forms application model allows developers to create their own controls by subclassing the UserControl class. For instance, consider Listing 7.8, where a Phone control is created by using a set of TextBox and Label controls. The control also ...

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

Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek
C# 4.0 Unleashed

C# 4.0 Unleashed

Bart De Smet

Publisher Resources

ISBN: 0672325748Purchase book