Example #1
0
        public void Run()
        {
#if DEBUG
            log.AddListener(new ConsoleLogListener());
#endif

            log.Info(Tag, "Running application");

            log.Info(Tag, "Loading config from '{0}'", ConfigName);
            config.Load(ConfigName);

            log.Info(Tag, "Loading value resources");
            resources.LoadValues();

            var statusBar = layoutInflater.Inflate("status_bar");
            hostWindow.AddChild(statusBar);
            hostWindow.Run();
        }