ImageList

public void LoadImageList(string path, ref ImageList imageList)
{
// load files & add new data
imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit;
imageList.ImageSize = new System.Drawing.Size(30, 30);
imageList.TransparentColor = System.Drawing.Color.Transparent;

DirectoryInfo dir = new DirectoryInfo(path);
foreach (FileInfo file in dir.GetFiles())
{
try
{
imageList.Images.Add(Image.FromFile(file.FullName));
System.Diagnostics.Trace.WriteLine(“image loaded: ” + file.FullName);
}
catch
{
Console.WriteLine(“Failed to retrieve files”);
}
}
}

 

https://msdn.microsoft.com/ko-kr/library/aa983754(v=vs.71).aspx