did i really forget to add program.cs
This commit is contained in:
parent
90e36ad10b
commit
ed5d769d1b
1 changed files with 20 additions and 0 deletions
20
Program.cs
Normal file
20
Program.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue