public ThemeService(ConfigService config, SystemResourcesService systemResources) { this.config = config; this.systemResources = systemResources; theme = new Theme(); }
public ConfigService(SystemResourcesService systemResources) { this.systemResources = systemResources; configPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, dir, "config.xml"); xmlExtensions = new XmlExtensions(configPath); oldOptions_ = new OptionsModel(); }
public MainService(App app, ScreenService screen, ConfigService config, CacheService cache, StatisticService statistic, ThemeService theme, SystemResourcesService systemResources) { this.screen = screen; this.config = config; this.cache = cache; this.statistic = statistic; this.theme = theme; this.systemResources = systemResources; app.Exit += new ExitEventHandler(app_Exit); SystemEvents.PowerModeChanged += new PowerModeChangedEventHandler(OnPowerModeChanged); }