Initial winforms content migrated (#18)

* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
This commit is contained in:
Andy De George
2020-09-01 16:26:21 -07:00
committed by GitHub
parent 1a27c9b107
commit c0ba284473
1557 changed files with 129980 additions and 13 deletions
@@ -0,0 +1,43 @@
---
title: "Create Event Handlers"
description: Learn how events in Windows Forms can be assigned to multiple handlers, and how the methods that handle particular events can be changed dynamically.
ms.date: "03/30/2017"
helpviewer_keywords:
- "event handling [Windows Forms]"
- "Windows Forms controls, event handling"
- "Windows Forms, event handling"
- "events [Windows Forms], event handlers"
- "event handlers [Windows Forms]"
ms.assetid: 6514e530-c6b8-489c-a8d2-eda7b7072701
---
# 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 in Visual Studio to create event handlers.
## In This Section
[Events Overview](events-overview-windows-forms.md)\
Explains the event model and the role of delegates.
[Event Handlers Overview](event-handlers-overview-windows-forms.md)\
Describes how to handle events.
[How to: Create Event Handlers at Run Time for Windows Forms](how-to-create-event-handlers-at-run-time-for-windows-forms.md)\
Gives directions for responding to system or user events dynamically.
[How to: Connect Multiple Events to a Single Event Handler in Windows Forms](how-to-connect-multiple-events-to-a-single-event-handler-in-windows-forms.md)\
Gives directions for assigning the same functionality to multiple controls through events.
[Order of Events in Windows Forms](order-of-events-in-windows-forms.md)\
Describes the order in which events are raised in Windows Forms controls.
[How to: Create Event Handlers Using the Designer](https://docs.microsoft.com/previous-versions/visualstudio/visual-studio-2010/zwwsdtbk(v=vs.100))
Describes how to use the Windows Forms Designer to create event handlers.
## Related Sections
[Events](https://docs.microsoft.com/dotnet/standard/events/index)\
Provides links to topics on handling and raising events using the .NET Framework.
[Troubleshooting Inherited Event Handlers in Visual Basic](https://docs.microsoft.com/dotnet/visual-basic/programming-guide/language-features/events/troubleshooting-inherited-event-handlers)\
Lists common issues that occur with event handlers in inherited components.