Home

Microsoft Visual F#: Form's Start Position

     

Introduction

open System;
open System.Drawing;
open System.Windows.Forms;

let frmMain = new Form();
frmMain.Text <- "Exercise";

frmMain.StartPosition <- FormStartPosition.WindowsDefaultLocation;

[<STAThread>]
do
    Application.Run(frmMain);
 

Home Copyright © 2010 C# Key