did i really forget to add program.cs

This commit is contained in:
Lynne Megido 2020-09-01 15:20:51 +10:00
parent 90e36ad10b
commit ed5d769d1b

20
Program.cs Normal file
View file

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