using System; using Xsharp; public class XHello : TopLevelWindow { // Main entry point. public static void Main(String[] args) { Application app = new Application("XHello", args); XHello topLevel = new XHello ("Hello DotGNU!", image.Width, image.Height); topLevel.Map(); app.Run(); app.Close(); } // Constructor. public XHello(String title, int width, int height) : base(title, width, height) { this.Background = new Color(0, 0, 0); } }; // class XHello