using System.Drawing; using System.Windows.Forms; class HelloForm : Form { public this() { Size = Size( 640, 480 ); Text = "Hello, World"; def label1 = Label(); label1.Size = Size( 320, 20 ); label1.Text = "Hello, Windows Forms(Nemerle) World!"; Controls.Add( label1 ); } public static Main() : void { def form = HelloForm(); Application.Run( form ); } }