using System.Windows.Forms; using System.Drawing; public class Simple : Form { public Simple() { Text = "Simple"; Size = new Size(250, 200); CenterToScreen(); } static public void Main() { Application.Run(new Simple()); } }
[greg:mono] gmcs -r:System.Windows.Forms.dll -r:System.Drawing.dll Simple.cs [greg:mono] mono Simple.exe