3 ms·
open System.Windows.Forms [<EntryPoint>] let main argv = let form = new Form() let button = new Button() button.Text <- "Clic
by louthy 12y ago
open System.Windows.Forms
[<EntryPoint>]
let main argv =
let form = new Form()
let button = new Button()
button.Text <- "Click me"
button.Click.Add (fun _ -> MessageBox.Show "Hello" |> ignore)
form.Controls.Add button
Application.Run form
0