Apply Your Knowledge
Exercises
2.1. Adding ToolTips to Controls
In this exercise you will learn how to set ToolTips for a form. A few Windows forms controls, such as TabPage, ToolBarButton, and StatusBarPanel, have ToolTipText properties for showing ToolTips. But other commonly used controls do not have any built-in properties to which ToolTips text can be assigned. This exercise introduces the ToolTip component. When you drag the ToolTip component from the toolbox into the Windows form, this component provides a new property for all the controls on the form. This new property is named ToolTip on tooltipComponentName and can be edited through the Properties window. When the form executes, for each of its controls it shows the value of the ToolTip ...
Get MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.