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); }
public void UpdateModel(ThreadDataSource thread) { if (thread != null) { this.Thread = thread; this._pages = null; } this.Execute((int)ThreadPageType.NewPost); }
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); }