دوستان من با استفاده از کد زیر یک سری عکس درون لیست ویو نمایش می دم اما نمی دونم مشکل کجاست که وقتی کد رو اجرا می کنم تمام عکس های نمایش داده شده یکی هستند.
DirectoryInfo dir = new DirectoryInfo(Environment.CurrentDirectory + "\\Data\\");
string text = tabControl1.SelectedTab.Text.ToString();
FileInfo[] filer = dir.GetFiles("*" + text + "*.jpg.fcfe");
foreach (FileInfo f in filer)
{
listBox3.Items.Add(f);
string file = Path.GetFileNameWithoutExtension(Environment.Curre ntDirectory + "\\Data\\" + f);
string s = Environment.GetFolderPath(Environment.SpecialFolde r.History) + file;
if (System.IO.File.Exists(s) == true)
{
ListViewItem item1 = new ListViewItem(file, 0);
listView1.Items.Add(item1);
ImageList imageListLarge = new ImageList();
imageListLarge.Images.Add(Bitmap.FromFile(s));
imageListLarge.ImageSize = new Size(156, 156);
imageListLarge.ColorDepth = ColorDepth.Depth32Bit;
listView1.LargeImageList = imageListLarge;
}