Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit
Twitter LinkedIn Facebook Email

.NET Desktop Guide for Windows Forms

Learn about Windows Forms (WinForms), a graphical user interface for Windows and .NET Framework.

WinForms for .NET Framework

Overview

  • Windows Forms overview

Get Started

  • Get started with Windows Forms Designer
  • Create a WinForms app from the command-line

Controls

Overview

  • Developing your own controls
  • Developing controls

How-To Guide

  • Add Controls to Windows Forms
  • Position controls on Windows Forms

Reference

  • Windows Forms Controls by Function

Events

Overview

  • Events in Windows Forms
  • Event handlers in Windows Forms

Concept

  • Order in which events are raised

Input

Overview

  • About keyboard input
  • About mouse input

Concept

  • Keyboard events
  • Mouse events
  • Mouse pointers

How-To Guide

  • Modify keyboard input
  • Detect modifier keyboard keys
  • Distinguish between single/double clicks
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023