コード例 #1
0
		private BusinessObjects()
		{
			OutputManager = new OutputManager();
			ScheduleManager = new MediaScheduleManager();
			ScheduleTemplatesManager = new ScheduleTemplatesManager();
			SolutionsManager = new SolutionsManager();
			SlideManager = new SlideManager();
			HelpManager = new HelpManager();
			ThemeManager = new ThemeManager();
			ImageResourcesManager = new ImageResourcesManager();
		}
コード例 #2
0
		public async Task LoadSettings()
		{
			Asa.Common.Core.Configuration.SettingsManager.Instance.LoadSharedSettings();

			ThemeManager = new ThemeManager();
			ThemeManager.Load();
			PowerPointManager.Instance.SettingsChanged += (o, e) => ThemeManager.Load();
			InitThemeHelper(ThemeManager);

			SlideManager = new SlideManager();
			SlideManager.Load();

			LoadDashboardSettings();
		}
コード例 #3
0
		public void InitThemeHelper(ThemeManager themeManager)
		{
			_themeSaveHelper = new ThemeSaveHelper(
				themeManager,
				new[]
				{
					SlideType.Cleanslate,
					SlideType.Cover,
					SlideType.LeadoffStatement,
					SlideType.ClientGoals,
					SlideType.TargetCustomers,
					SlideType.SimpleSummary,
				}
			);
		}
コード例 #4
0
		public void InitThemeHelper(ThemeManager themeManager)
		{
			_themeSaveHelper = new ThemeSaveHelper(
				themeManager,
				new[]
				{
					SlideType.TVSchedulePrograms,
					SlideType.TVScheduleDigital,
					SlideType.TVScheduleSummary,

					SlideType.TVSnapshotPrograms,
					SlideType.TVSnapshotDigital,
					SlideType.TVSnapshotSummary,

					SlideType.TVOptionsPrograms,
					SlideType.TVOptionsDigital,
					SlideType.TVOptionstSummary,

					SlideType.RadioSchedulePrograms,
					SlideType.RadioScheduleDigital,
					SlideType.RadioScheduleSummary,

					SlideType.RadioSnapshotPrograms,
					SlideType.RadioSnapshotDigital,
					SlideType.RadioSnapshotSummary,

					SlideType.RadioOptionsPrograms,
					SlideType.RadioOptionsDigital,
					SlideType.RadioOptionstSummary,

					SlideType.DigitalProducts,
					SlideType.DigitalSummary,
					SlideType.DigitalProductPackage,
					SlideType.DigitalStandalonePackage,

					SlideType.Cleanslate,
					SlideType.Cover,
					SlideType.LeadoffStatement,
					SlideType.ClientGoals,
					SlideType.TargetCustomers,
					SlideType.SimpleSummary,
				}
			);
		}