Home

Microsoft Visual F#: Setting the Location of a Form

     

Introduction

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

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

frmMain.Location <- new System.Drawing.Point(228, 146);

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

Home Copyright © 2010 C# Key