The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Creating Event Handlers in Windows Forms 

An event handler is a procedure in your code that determines what actions are performed when an event occurs, such as when the user clicks a button or a message queue receives a message. When an event is raised, the event handler or handlers that receive the event are executed. Events can be assigned to multiple handlers, and the methods that handle particular events can be changed dynamically. You can also use the Windows Forms Designer to create event handlers. Windows Forms Designer
Windows Forms Designer
Windows Forms Designer
Windows Forms Designer
Windows Forms Designer

In This Section

Related Sections

Handling and Raising Events

Provides links to topics on handling and raising events using the .NET Framework.

Troubleshooting Inherited Event Handlers in Visual Basic 2005

Lists common issues that occur with event handlers in inherited components.

Events and Delegates

Provides an overview of the event model and describes delegates in the .NET Framework.

Events SampleC# Sample Applications
Events Sample

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft