aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/HelloWorld.cs
blob: a38c7974d55d09889b5f8a8057d552d5f4eeb103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;
using Crow;

namespace Tests
{
	class HelloWorld : CrowWindow
	{
		public HelloWorld ()
			: base(800, 600,"Crow Test with OpenTK")
		{
		}

		protected override void OnLoad (EventArgs e)
		{
			base.OnLoad (e);

			AddWidget(new Label("Hello World"));
		}

		[STAThread]
		static void Main ()
		{
			HelloWorld win = new HelloWorld ();
			win.Run (30);
		}
	}
}