title: Clicking on an image in a listView and making it appear in a pictureBox
body: <p>I have successfully imported and displayed horizontaly in a listView all the images from a folder/directory and now I want to be able to click on one of them and display that image in a big pictureBox above it called "mainPictureBox". I think I am close to that result, however what i have managed is to make the 100x100pixel image appear on the mainPictureBox that I clicked on from the listview rather than the high quality .PNG or .JPG from the folder. I'm guessing I need to use ImageKey or IndexKey or somehow associate the names of the images in the folder with the index of the clicked-on listView item. I am attaching an image of the GUI and the piece of code used for the imageList and listView if that helps.</p>
  
  <p><a href="http://i.imgur.com/GkF1hNd.jpg" rel="nofollow">http://i.imgur.com/GkF1hNd.jpg</a>       &lt;---GUI screenshot</p>
  
  <pre><code>DirectoryInfo dir = new DirectoryInfo(@"C:\Users\UserName\Desktop\PhotoEditorProject\bin\Debug\Images");
          foreach (FileInfo file in dir.GetFiles())
          {
              try
              {
                  this.imageList1.Images.Add(Image.FromFile(file.FullName));
              }
              catch
              {
                  Console.WriteLine("This is not an image file");
              }
          }
  
          for (int i = 0; i &lt; this.imageList1.Images.Count; i++)
          {
              ListViewItem item = new ListViewItem();
              item.ImageIndex = i;
              this.listView1.Items.Add(item);
          }
  </code></pre>