O'Reilly logo

Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) by Priti Kalani, Amit Kalani, Kalani Kirk Hausman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Practice Questions

Question 1Your application includes a form that displays employee names in a simple-bound TextBox control. You'd like to add a tooltip to the TextBox control, with the tooltip displaying the title of the employee. The employee names and employee titles are both supplied by the same IList. How can you do this?
  • A. Bind the employee title to the Tag property of the TextBox control. In the event handler for the PositionChanged event of the CurrencyManager object, call the ToolTip's SetToolTip method to copy the value from the Tag property to the Tooltip.

  • B. Bind the employee title to the Name property of the ToolTip control.

  • C. Bind the employee title to the Tag property of the TextBox control. In the event handler for the CurrentChanged ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required