private TabHomeMainPage()
        {
            InitializeComponent();
            Dock = DockStyle.Fill;

            SlideCleanslate = new SlideCleanslateControl();
            SlideCleanslate.SlideChanged += OnSlideChanged;
            SlideCover = new SlideCoverControl();
            SlideCover.SlideChanged           += OnSlideChanged;
            SlideLeadoff                       = new SlideLeadoffStatementControl();
            SlideLeadoff.SlideChanged         += OnSlideChanged;
            SlideClientGoals                   = new SlideClientGoalsControl();
            SlideClientGoals.SlideChanged     += OnSlideChanged;
            SlideTargetCustomers               = new SlideTargetCustomersControl();
            SlideTargetCustomers.SlideChanged += OnSlideChanged;
            SlideSimpleSummary                 = new SlideSimpleSummaryControl();
            SlideSimpleSummary.SlideChanged   += OnSlideChanged;
            SettingsManager.Instance.ThemeManager.ThemesChanged += (o, e) => UpdatePageAccordingToggledButton();

            AppManager.Instance.SetClickEventHandler(this);
        }
Пример #2
0
		private TabHomeMainPage()
		{
			InitializeComponent();
			Dock = DockStyle.Fill;

			SlideCleanslate = new SlideCleanslateControl();
			SlideCleanslate.SlideChanged += OnSlideChanged;
			SlideCover = new SlideCoverControl();
			SlideCover.SlideChanged += OnSlideChanged;
			SlideLeadoff = new SlideLeadoffStatementControl();
			SlideLeadoff.SlideChanged += OnSlideChanged;
			SlideClientGoals = new SlideClientGoalsControl();
			SlideClientGoals.SlideChanged += OnSlideChanged;
			SlideTargetCustomers = new SlideTargetCustomersControl();
			SlideTargetCustomers.SlideChanged += OnSlideChanged;
			SlideSimpleSummary = new SlideSimpleSummaryControl();
			SlideSimpleSummary.SlideChanged += OnSlideChanged;
			SettingsManager.Instance.ThemeManager.ThemesChanged += (o, e) => UpdatePageAccordingToggledButton();

			AppManager.Instance.SetClickEventHandler(this);
		}