Пример #1
0
 public void Init()
 {
     _view.ShowCountdown(_configSettings.ShowCountdown);
     _skinLoader.Load(new Skin(_configSettings.SkinName));
     UpdateScreen();
     _configFileWatcher.Start();
 }
Пример #2
0
        void IConfigChangeHandler.ConfigUpdated(ConfigSettings newSettings)
        {
            if (_currentSkin == null || _currentSkin.Name != newSettings.SkinName)
            {
                var newSkin = new Skin(newSettings.SkinName);

                _skinLoader.Load(newSkin);

                _currentSkin = newSkin;
            }
        }