--- title: "User Input" ms.date: "03/30/2017" helpviewer_keywords: - "keyboard input [Windows Forms], using in Windows Forms" - "Windows Forms, user input" - "mouse input [Windows Forms], using in Windows Forms" - "keyboards [Windows Forms], keyboard input" ms.assetid: 1486075f-1e06-4c9e-82c6-f948331db6d6 --- # User Input in Windows Forms Windows Forms includes a user input model based on events that are raised while processing related Windows messages. The topics in this section provide information on mouse and keyboard user input, including code examples that demonstrate how to perform specific tasks. ## In This Section [User Input in a Windows Forms Application](user-input-in-a-windows-forms-application.md) Provides an overview of user input events and the methods that process Windows messages. [Keyboard Input in a Windows Forms Application](keyboard-input-in-a-windows-forms-application.md) Provides information on keyboard message handling, the different types of keys, and the keyboard events. [Mouse Input in a Windows Forms Application](mouse-input-in-a-windows-forms-application.md) Provides information on the mouse events and other mouse-related features, including mouse cursors and mouse capture. [How to: Simulate Mouse and Keyboard Events in Code](how-to-simulate-mouse-and-keyboard-events-in-code.md) Demonstrates several different ways to programmatically simulate mouse and keyboard input. [How to: Handle User Input Events in Windows Forms Controls](how-to-handle-user-input-events-in-windows-forms-controls.md) Presents a code example that handles most user input events and reports information about each event. [User Input Validation in Windows Forms](user-input-validation-in-windows-forms.md) Describes the methods to validate user input in Windows Forms applications. ## Related Sections Also see [Creating Event Handlers in Windows Forms](creating-event-handlers-in-windows-forms.md).