private void button1_Click(object sender, EventArgs e) { imageViewer1.SetThumbnailView(); List<Miniatura> images = new List<Miniatura>(); Miniatura tempMini; for (int i = 1; i < 11; i++) { tempMini = new Miniatura(@"img\\small_img" + i.ToString() + ".jpg"); tempMini.tag = new MiniaturaTag(@"img\\img" + i.ToString() + ".jpg"); images.Add(tempMini); } imageViewer1.Thumbnailview.AddImages(images); imageViewer1.Thumbnailview.ShowImages(1.0); }
private void button1_Click(object sender, EventArgs e) { imageViewer1.SetThumbnailView(); List <Miniatura> images = new List <Miniatura>(); Miniatura tempMini; for (int i = 1; i < 11; i++) { tempMini = new Miniatura(@"img\\small_img" + i.ToString() + ".jpg"); tempMini.tag = new MiniaturaTag(@"img\\img" + i.ToString() + ".jpg"); images.Add(tempMini); } imageViewer1.Thumbnailview.AddImages(images); imageViewer1.Thumbnailview.ShowImages(1.0); }