title: Passing values between 2 pages in Wp7 havig scrollviewer
body: <p>I have 2 pages in my app each page has one scrollviewer having image as an item added dynamically form URL. The first contain the first image.When I scroll to the end of first page the second page have to appear with the next image, viceversa when I scroll to the end of the second page now the first page should contain the third image and next the second with the 4th image. how to do that. It is like an ebook application.</p>
  
  <h2>This is in firstpage.xaml.cs</h2>
  
  <pre><code>            Image img = new Image();
              Uri uri = new Uri("http://d1mu9ule1cy7bp.cloudfront.net/2012/media/catalogues/47/pages/p_" + i + "/high.jpg");
              ImageSource img1 = new BitmapImage(uri);
              img.Source = img1;
              img.Height = 550;
              Scrollview.Content = img;
  
   private void Scrollview_MouseEnter(object sender, MouseEventArgs e)       
         {
          this.NavigationService.Navigate(new Uri("/Page2.xaml", UriKind.Relative));
         }
  </code></pre>
  
  <h2>This is in secondpage.xaml.cs</h2>
  
  <pre><code>            int h = loop(j);
  
              Image img = new Image();
              Uri uri = new Uri("http://d1mu9ule1cy7bp.cloudfront.net/2012/media/catalogues/47/pages/p_" + h + "/high.jpg");
              ImageSource img1 = new BitmapImage(uri);
              img.Source = img1;
              img.Height = 550;
              Scrollview.Content = img;
  
   private void Scrollview_MouseEnter(object sender, MouseEventArgs e)
  
         {
  
          this.NavigationService.Navigate(new Uri("/Page1.xaml", UriKind.Relative));
  
         }
  </code></pre>