Last active
August 29, 2015 14:02
-
-
Save cwensley/885fc77a2728ef5dbefe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Eto; | |
using Eto.Forms; | |
using Eto.Drawing; | |
namespace SharpSHPBuilder | |
{ | |
public class MainWindow : Form | |
{ | |
public MainWindow() | |
{ | |
Title = "EtoForm"; | |
Size = new Size(200, 200); | |
} | |
[STAThread] | |
static void Main() | |
{ | |
var generator = Generator.GetGenerator(Generators.GtkAssembly); | |
var app = new Application(generator); | |
app.Initialized += delegate | |
{ | |
app.MainForm = new MainWindow(); | |
app.MainForm.Show(); | |
}; | |
app.Run(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment