static void Start(IConsoleBox box) { box.Initialize(); var app = new WidgetApplication(box, () => new DemoApp()); //await app.Start(); app.StartSync(); //var test = new TestingApp(box); box.PollEvents(); box.ShutDown(); }