Using Basic Windows Controls

With the basic Windows programming skills under our belts, we'll take a look at working with basic Windows controls next. There are many controls available, from buttons to tree views. To get a look at how the basic Windows controls work, take a look at the ch07_04 example, which appears in Figure 7.10. We'll take a look at handling the various controls in this example next.

Figure 7.10. Running the ch07_04 example.

Labels

You use label controls to display text that the user isn't supposed to change at runtime, such as the result of some long calculation. The label in ch07_04 displays the text "Windows Controls", and ...

Get Microsoft® Visual C#® .NET 2003 Kick Start 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.