title: C# ImageList won't display images
body: <p>I've been trying to figure out why my imageList won't render out my images when my form runs, I am using the following code...</p>
  
  <pre><code>public void renderImageList()
      {
          int selection = cboSelectedLeague.SelectedIndex;
          League whichLeague = (League)frmMainMenu.allLeagues[selection];
  
  
          string index = cboSelectedLeague.SelectedItem.ToString();
  
          if (whichLeague.getLeagueName() == index)
          {
              foreach (Team t in allTeams)
              {
                  Image teamIcon = Image.FromFile(@"../logos/" + t.getTeamLogo());
  
                  imgLstIcons.Images.Add(teamIcon);
  
              }
  
          }
  
          else
          {
              MessageBox.Show("Something went wrong..." + whichLeague.getLeagueName() + " " + index + ".");
          }
  
      }
  </code></pre>
  
  <p>The method is fired when the user changes the index of my combo box, I know the program gets the correct path as I used a message box to display the path each path returned as I expected it to.</p>
  
  <p>Am I missing something from my code to draw the image to the box? </p>
  
  <p>Alex.</p>