private void NavigateToPhotos() { VMAuthors vma = this.Resources["Vm_authos"] as VMAuthors; NavigateToPageEventArgs arg = new NavigateToPageEventArgs(); DevPRubbings p = new DevPRubbings(vma.Cvs_authors.View.CurrentItem as T_Author); arg.ToPage = p; NavigateToPage(this, arg); }
void NavigateToPage(object sender, NavigateToPageEventArgs e) { NavigateToPage(e.ToPage); Frm_Content.Navigate(e.ToPage); }
private void NavigateToPhotos() { T_Rubbing rubbing = _vmRubbings.Cvs_Rubbings.View.CurrentItem as T_Rubbing; NavigateToPageEventArgs arg = new NavigateToPageEventArgs(); DevPRubbingPhotos p = new DevPRubbingPhotos(rubbing); arg.ToPage = p; NavigateToPage(this, arg); }