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