Ryujinx-GtkSharp/Source/Templates/GtkSharp.Template.CSharp/content/GtkSharp.Application.CSharp/Program.cs

24 lines
484 B
C#
Raw Normal View History

using System;
using Gtk;
2017-10-26 19:49:21 +02:00
namespace GtkNamespace
{
class Program
{
[STAThread]
public static void Main(string[] args)
{
Application.Init();
2017-10-26 19:49:21 +02:00
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();
}
}
}