Comment detail

ウィンドウの表示 (Nested Flatten)
参考: http://www.strangelights.com/fsharp/wiki/default.aspx/FSharpWiki/InteractiveWindows.html
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
open System.Drawing;;
open System.Windows.Forms;;

let form = new Form();;
form.Visible <- true;;
form.Size <- new Size(100,75);;

let rTextBox = new RichTextBox();;
form.Controls.Add( rTextBox );; 
rTextBox.Dock <- DockStyle.Fill;;
rTextBox.Text <- "こんにちは、GUI!";;

do Application.Run(form);; 

Index

Feed

Other

Link

Pathtraq

loading...