Beispiel #1
0
        private void lstCap_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            ListView ls = (ListView)sender;
            Capitulos cs = (Capitulos)ls.SelectedItem;

            ImgPage ip = new ImgPage();

            ip.endCap = cs.Endereco;
            ip.NomeM = im.Info.Nome;
            //ip.NumeroCap = cs.Numero;

            //Visualizador vs = new Visualizador(ip);

            Frame.Navigate(typeof(Visualizador), ip);
            //ContainerImg.Children.Add(vs);

        }
 /// <summary>
 /// Invoked when this page is about to be displayed in a Frame.
 /// </summary>
 /// <param name="e">Event data that describes how this page was reached.  The Parameter
 /// property is typically used to configure the page.</param>
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     pg = (ImgPage)e.Parameter;
     pg.Npaginas = 0;
     pg.lstImg = new List<Imagens>();
     //crImg = new BitmapImage(new Uri(this.BaseUri, "Imagens/Carregando.png"));
     //imgcontainer.Source = crImg;
     loadPages();
 }