Пример #1
0
        public ItemPage()
        {
            this.InitializeComponent();

            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
            this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
        } 
Пример #2
0
        public PivotPage()
        {
            this.InitializeComponent();
            Current = this;

            this.NavigationCacheMode = NavigationCacheMode.Required;

            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
            this.navigationHelper.SaveState += this.NavigationHelper_SaveState;

            PrepareCommandBars();
            UpdateCommandBarButtonsStates();
            if (WebimController.Instance.Initialized)
            {
                Instance_RealtimeSessionInitialized();
            }
            else
            {
                WebimController.Instance.RealtimeSessionInitialized += Instance_RealtimeSessionInitialized;
            }
        }