Created
August 27, 2013 18:02
-
-
Save cwensley/6356887 to your computer and use it in GitHub Desktop.
Initialize eto.forms application in an monomac/xamarin.mac host
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
var app = new Eto.Forms.Application(Generator.Detect); | |
((Eto.Platform.Mac.Forms.ApplicationHandler)app.Handler).AppDelegate = NSApplication.SharedApplication.Delegate; | |
var form = new Eto.Forms.Form { Size = new Eto.Drawing.Size(200, 200), Title = "Hello!" }; | |
form.Show(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment