GtkSharp/Source/Templates/NetCore/GtkSharp.Template.CSharp/content/Program.cs
2017-10-29 01:35:22 +02:00

23 lines
484 B
C#
Executable file

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