BACnet.Explorer.Core.App.Create C# (CSharp) Method

Create() public static method

public static Create ( string platform ) : Eto.Forms.Application
platform string
return Eto.Forms.Application
        public static Eto.Forms.Application Create(string platform)
        {
            var app = new Eto.Forms.Application(platform);

            app.Initialized += delegate
            {
                // only create new controls/forms/etc during or after this event
                app.MainForm = new MainForm();
                app.MainForm.Show();
            };

            return app;
        }