O'Reilly logo

MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET by MCSD Amit Kalani - MCAD

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

Event Handling

Create, implement, and handle events.

When you perform an action with an object, the object in turn raises events in the application. Dragging the title bar of a form and moving it around, for example, generates an event; resizing a form generates another event. A large portion of code for any typical Windows application is the code that is responsible for handling various events that the application responds to. Events are at the heart of graphical user interface (GUI)–based programming. An event handler is a method that is executed as a response to an event.

Not all events are triggered by user actions. Events may be triggered by changes in the environment such as the arrival of an email message, modifications to a file, changes ...

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