Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Main.cs « GdiTest - github.com/FreeRDP/GdiTest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a72d184a4f748fe79394a42a9f52eff46fe3393e (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 Cairo;
using Gtk;

namespace GdiTest
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			Gdi32.init();
			Application.Init ();
			MainWindow w = new MainWindow ();
			
			DrawingArea lineDrawingArea = new BitBltDrawingArea ();
	
			Box box = new HBox (true, 0);
			box.Add (lineDrawingArea);
			
			w.Add (box);
			w.Resize (500, 500);
			w.ShowAll ();
			
			Application.Run ();
		}
	}
}