Skip to content
| Marketplace
Sign in
Visual Studio>Templates>F# Windows App (WinForms)
F# Windows App (WinForms)

F# Windows App (WinForms)

Carl Nolan

|
4,539 installs
| (0) | Free
F# Windows Application for WinForms
Download

This is a simple F# Windows Forms Application template that defines two project elements:

  • MyForm.fs: This is a class, derived from Form, which the application will display. The template provides some TODO tags showing the user the locations for inserting form controls.
  • Main.fs: This controls the displaying of the form and ensures the STA Thread is used.


The code demonstrates how to add controls to the form and how to hook up form and control events.

The generated code can be viewed in this blog posting:

http://blogs.msdn.com/b/carlnol/archive/2011/07/18/f-project-and-item-templates.aspx

http://blogs.msdn.com/b/mcsuksoldev/archive/2011/05/31/f-windows-application-template-for-windows-service.aspx

Version 1.1 includes an AssemblyInfo.fs file.

Version 1.2 includes a Windows Form Item Template

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft