title: Looking for the best way to load list view showing thumbnail pictures of a folder
body: <p>I've got the following code</p>
  
  <pre><code>files = di.GetFiles("*.jpg");
  for (int i = 0; i &lt; files.Length; i++)
  {
     il.Images.Add(System.Drawing.Image.FromFile(folder + "\\" + files[i].Name));
     lv.Items.Add(files[i].Name, i);
  }
  </code></pre>
  
  <p>the code fills a System.Windows.Forms.ImageList with pictures from a jpg files.
  it also creates a System.Windows.Forms.ListView where each item is associated with a picture in the imagelist.</p>
  
  <p>I made the files small and tried to optimize the code. Yet I cant get under 3 seconds for 290 ~30k jpg files(or any other format).</p>
  
  <p>Do you have a better way to load the list view?</p>