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);
        }
Beispiel #2
0
        public void UpdateModel(ThreadDataSource thread)
        {
            if (thread != null)
            {
                this.Thread = thread;
                this._pages = null;
            }

            this.Execute((int)ThreadPageType.NewPost);
        }
Beispiel #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);
        }