Chapter 4. Understanding Events

What You’ll Learn in This Hour:

  • Understanding event-driven programming

  • Triggering events

  • Avoiding recursive events

  • Accessing an object’s events

  • Working with event parameters

  • Creating event handlers

  • Keeping event names current

It’s easy to produce an attractive interface for an application using Visual C# 2005’s integrated design tools. You can create beautiful forms that have buttons to click, text boxes in which to type information, picture boxes that display pictures, and many other creative and attractive elements with which users can interact. However, that’s just the start of producing a Visual C# program. In addition to designing an interface, you have to empower your program to perform actions in response both to ...

Get Sams Teach Yourself Microsoft® Visual C#® 2005 in 24 Hours, Complete Starter Kit 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.