GtkSharp/Source/Samples/Program.cs
2018-01-18 20:41:03 +01:00

23 lines
469 B
C#

using System;
using Gtk;
namespace Samples
{
class Program
{
[STAThread]
public static void Main(string[] args)
{
Application.Init();
var app = new Application("org.Samples.Samples", GLib.ApplicationFlags.None);
app.Register(GLib.Cancellable.Current);
var win = new MainWindow();
app.AddWindow(win);
win.Show();
Application.Run();
}
}
}