2017-09-23 14:38:43 +00:00
|
|
|
using System;
|
|
|
|
using Gtk;
|
|
|
|
|
2017-10-28 23:35:22 +00:00
|
|
|
namespace test
|
2017-09-23 14:38:43 +00:00
|
|
|
{
|
|
|
|
class Program
|
|
|
|
{
|
|
|
|
[STAThread]
|
|
|
|
public static void Main(string[] args)
|
|
|
|
{
|
|
|
|
Application.Init();
|
|
|
|
|
2017-10-28 23:35:22 +00:00
|
|
|
var app = new Application("org.test.test", GLib.ApplicationFlags.None);
|
2017-09-23 14:38:43 +00:00
|
|
|
app.Register(GLib.Cancellable.Current);
|
|
|
|
|
|
|
|
var win = new MainWindow();
|
|
|
|
app.AddWindow(win);
|
|
|
|
|
|
|
|
win.Show();
|
|
|
|
Application.Run();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|