Code for Windows Forms Applications

This topic is designed to help you find code that demonstrates how to perform common programming tasks in Windows Forms applications. The topics listed are code-oriented topics. If you are using Visual Studio, you can use the Windows Forms Designer to complete many of these tasks.

The tasks are divided into the following categories:

  • Application creation

  • Form manipulation

  • Dialog boxes

  • Data binding

  • MDI forms

  • Menu manipulation

  • Graphics and GDI+

  • Printing

  • Drag-and-drop operations

  • Handling user input

  • Interacting with COM components

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft