--- title: Events in Controls ms.date: "03/30/2017" helpviewer_keywords: - "events [Windows Forms], custom controls (using code)" - "custom controls [Windows Forms], events overview (using code)" ms.assetid: 7e3d1379-87aa-437c-afce-c99454eff30e --- # Events in Windows Forms Controls A Windows Forms control inherits more than sixty events from . These include the event, which causes a control to be drawn, events related to displaying a window, such as the and events, and low-level mouse and keyboard events. Some low-level events are synthesized by into semantic events such as and . For details about inherited events, see . If your custom control needs to override inherited event functionality, override the inherited `On`*EventName* method instead of attaching a delegate. If you are not familiar with the event model in the .NET Framework, see [Raising Events from a Component](/previous-versions/visualstudio/visual-studio-2013/sh2e3k5z(v=vs.120)). ## See also - [Overriding the OnPaint Method](overriding-the-onpaint-method.md) - [Handling User Input](handling-user-input.md) - [Defining an Event](defining-an-event-in-windows-forms-controls.md) - [Events](/dotnet/standard/events/index)