Beispiel #1
0
        static void Main(string[] args)
        {
            var bootstrapper = new IocBootstraper();
            var container    = bootstrapper.Build();

            using (var scope = container.BeginLifetimeScope())
            {
                var app = scope.Resolve <Eto.Forms.Application>();
                app.Run();
            }
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            //Style.Add<FormHandler>("MainWindow", handler =>
            //{
            //    handler.Control.CollectionBehavior |= NSWindowCollectionBehavior.FullScreenPrimary;
            //});

            //Style.Add<ProgressBarHandler>("ProgressBar", (handler) =>
            //{
            //    handler.Control.ControlTint = NSControlTint.Blue;
            //    handler.Control.Bezeled = true;
            //});

            var bootstrapper = new IocBootstraper();
            var container    = bootstrapper.Build();

            using (var scope = container.BeginLifetimeScope())
            {
                var app = scope.Resolve <Eto.Forms.Application>();
                app.Run();
            }
        }