GtkSharp/Source/Samples/Program.cs

24 lines
469 B
C#
Raw Normal View History

2018-01-17 22:35:07 +00:00
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();
}
}
}