Hour 7. Working with the Traditional Controls

   

Hour 7. Working with the Traditional Controls

The previous two hours described in considerable detail how to work with forms. Forms are the foundation of a user interface but are rather useless by themselves . To create a usable interface, you'll need to use controls. Controls are the various widgets and doodads on a form with which a user interacts . Dozens of different types of controls exist, from the simple Label control used to display static text to the rather complicated Tree View control used to present trees of data like that found in Explorer. In this hour, I'll introduce you to the most common (and most simple) controls, which I call traditional controls. In the next hour, you'll learn about the more advanced controls that you can use to create professional-looking applications.

The highlights of this hour include the following:

  • Displaying static text with the Label control

  • Allowing users to enter text using a text box

  • Creating password fields

  • Working with buttons

  • Using panels, group boxes, check boxes, and option buttons

  • Displaying lists with list boxes and combo boxes


   
Top


Sams Teach Yourself C# in 24 Hours
Sams Teach Yourself Visual Basic 2010 in 24 Hours Complete Starter Kit (Sams Teach Yourself -- Hours)
ISBN: 0672331136
EAN: 2147483647
Year: 2002
Pages: 253
Authors: James Foxall

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net