private void NavigateToThreadView(ThreadDataSource thread, int pageNumber = (int)ThreadPageType.NewPost)
        {
            if (this.ModalWindow.IsOpen)
                this.ModalWindow.IsOpen = false;

            var frame = App.Current.RootVisual as PhoneApplicationFrame;
            thread.NavigateToThreadView(frame.Navigate, pageNumber);
        }
Esempio n. 2
0
        public void UpdateModel(ThreadDataSource thread)
        {
            if (thread != null)
            {
                this.Thread = thread;
                this._pages = null;
            }

            this.Execute((int)ThreadPageType.NewPost);
        }
Esempio n. 3
0
        private void NavigateToThreadView(ThreadDataSource thread, int pageNumber = (int)ThreadPageType.NewPost)
        {
            if (this.ModalWindow.IsOpen)
            {
                this.ModalWindow.IsOpen = false;
            }

            var frame = App.Current.RootVisual as PhoneApplicationFrame;

            thread.NavigateToThreadView(frame.Navigate, pageNumber);
        }