public void Init() { PowerPointManager.Init(); ListManager.Instance.Load(); ThemeManager.Load(); SlideSettingsManager.Instance.SettingsChanged += (o, e) => ThemeManager.Load(); HelpManager.LoadHelpLinks(); RibbonTabPageManager = new RibbonTabPageManager(ResourceManager.Instance.TabsConfigFile); BrowserManager.Init(ResourceManager.Instance.BrowserConfigFile); FormStyleManager = new FormStyleManager(ResourceManager.Instance.FormStyleConfigFile); ActivityManager = ActivityManager.OpenStorage(); ConfigManager.LoadConfig(ResourceManager.Instance.ConfigFile); TextResourcesManager.LoadTextResources(ResourceManager.Instance.TextResourcesFile); TextResourcesManager.LoadTabPageSettings(ResourceManager.Instance.AdditionalTextResourcesFile); IdleManager.LoadSettings(ResourceManager.Instance.IdleSettingsFile); AdditionalInitializator.Actions.Add(new InitAction( new[] { ContentIdentifiers.ScheduleSettings, ContentIdentifiers.ProgramSchedule, ContentIdentifiers.Snapshots, ContentIdentifiers.Options, ContentIdentifiers.DigitalProducts, ContentIdentifiers.BroadcastCalendar, ContentIdentifiers.CustomCalendar, }, () => { MediaMetaData.Instance.ListManager.Load(); Business.Online.Dictionaries.ListManager.Instance.Load(Common.Core.Configuration.ResourceManager.Instance.OnlineListsFile); OutputManager.Init(); SlideSettingsManager.Instance.SettingsChanged += (o, e) => OutputManager.UpdateColors(); }) ); if (FileStorageManager.Instance.DataState == DataActualityState.Updated || FileStorageManager.Instance.UseLocalMode) { AdditionalInitializator.Actions.Add(new InitAction( new[] { ContentIdentifiers.Solutions }, () => { SolutionsManager.LoadSolutions(ResourceManager.Instance.SolutionsConfigFile); SolutionsManager.LoadSolutionData(ResourceManager.Instance.SolutionsDataFolder); }) ); } else { SolutionsManager.LoadSolutions(ResourceManager.Instance.SolutionsConfigFile); SolutionsManager.LoadSolutionData(ResourceManager.Instance.SolutionsDataFolder); } AdditionalInitializator.Actions.Add(new InitAction( new[] { ContentIdentifiers.Slides }, () => { SlideManager.LoadSlides(Common.Core.Configuration.ResourceManager.Instance.SlideMastersFolder); }) ); AdditionalInitializator.Actions.Add(new InitAction( new[] { ContentIdentifiers.Gallery1, }, () => { Gallery1Manager = new GalleryManager(ResourceManager.Instance.Gallery1ConfigFile); }) ); AdditionalInitializator.Actions.Add(new InitAction( new[] { ContentIdentifiers.Gallery2, }, () => { Gallery2Manager = new GalleryManager(ResourceManager.Instance.Gallery2ConfigFile); }) ); AdditionalInitializator.Actions.Add(new InitAction( new[] { ContentIdentifiers.RateCard }, () => { RateCardManager = new RateCardManager(Common.Core.Configuration.ResourceManager.Instance.RateCardFolder); RateCardManager.LoadRateCards(); }) ); }