Carl Nolan’s ramblings on development
This template is for a basic F# Windows Presentation Foundation (WPF) project. This template can be found on the Visual Studio Gallery:
When the template is installed you get the following template added to your F# folder when creating a new F# project:
This template that defines the following project elements:
The MainWindow.fs file provides the structure for processing the window elements.
The MainWindow.fs code listing is:
It demonstrates processing of window elements and how to add events for these elements.
The Program.fs code is:
The purpose of this code is rendering the main application window and calling the initControls() code.