Can I see the code you're currently using, or are you asking how it's done, period?
Because, from my understanding of the ImageLists, they don't directly load images from the hard drive, you add them individually, and you'd basically scan the contents of the folder and add each item to the ImageList individually.
You can use
System.IO.DirectoryInfo to obtain a list of the files for the current directory:
[color=#800080]DirectoryInfo[/color] [color=#008080]currentDir[/color] [color=#808000]=[/color] [color=#0000FF]new[/color] [color=#800080]DirectoryInfo[/color][color=#808080]([/color][color=#008000]".\\images\\"[/color][color=#808080])[/color][color=#808080];[/color]
[color=#0000FF]if[/color] [color=#808080]([/color][color=#008080]currentDir[/color][color=#808080].[/color][color=#008080]Exists[/color][color=#808080])[/color]
[color=#808080]{[/color]
[color=#800080]FileInfo[/color][color=#808080][[/color][color=#808080]][/color] [color=#008080]imageFiles[/color] [color=#808000]=[/color]
[color=#008080]currentDir[/color][color=#808080].[/color][color=#008080]GetFiles[/color][color=#808080]([/color][color=#008000]"*.jpg"[/color][color=#808080])[/color][color=#808080].[/color][color=#008080]Concat[/color][color=#808080]([/color]
[color=#008080]currentDir[/color][color=#808080].[/color][color=#008080]GetFiles[/color][color=#808080]([/color][color=#008000]"*.png"[/color][color=#808080])[/color][color=#808080])[/color][color=#808080].[/color][color=#008080]Concat[/color][color=#808080]([/color]
[color=#008080]currentDir[/color][color=#808080].[/color][color=#008080]GetFiles[/color][color=#808080]([/color][color=#008000]"*.gif"[/color][color=#808080])[/color][color=#808080])[/color][color=#808080].[/color][color=#008080]Concat[/color][color=#808080]([/color]
[color=#008080]currentDir[/color][color=#808080].[/color][color=#008080]GetFiles[/color][color=#808080]([/color][color=#008000]"*.bmp"[/color][color=#808080])[/color][color=#808080])[/color][color=#808080].[/color][color=#008080]OrderBy[/color][color=#808080]([/color][color=#008080]image[/color] [color=#808000]=[/color][color=#808000]>[/color] [color=#008080]image[/color][color=#808080].[/color][color=#008080]Name[/color][color=#808080])[/color][color=#808080].[/color][color=#008080]ToArray[/color][color=#808080]([/color][color=#808080])[/color][color=#808080];[/color]
[color=#0000FF]foreach[/color] [color=#808080]([/color][color=#800080]FileInfo[/color] [color=#008080]file[/color] [color=#0000FF]in[/color] [color=#008080]imageFiles[/color][color=#808080])[/color]
[color=#808080]{[/color]
[color=#0000FF]string[/color] [color=#008080]currentFileName[/color] [color=#808000]=[/color] [color=#008080]file[/color][color=#808080].[/color][color=#008080]FullName[/color][color=#808080];[/color]
[color=#008080]Image[/color] [color=#008080]currentImage[/color] [color=#808000]=[/color] [color=#008080]Image[/color][color=#808080].[/color][color=#008080]FromFile[/color][color=#808080]([/color][color=#008080]currentFileName[/color][color=#808080])[/color][color=#808080];[/color]
[color=#008000]/* *
* Add code here to add them to the image-list.
* *
* Example:
* imageList1.Images.Add(Path.GetFileName(currentFileName), currentImage);
* */[/color]
[color=#808080]}[/color]
[color=#808080]}[/color]
Note, if you're using a version of C♯ earlier than 3.0, then you have to merge and sort the arrays yourself.
If you're using C♯ 3.0, include the namespace 'System.Linq' to allow the Concat, OrderBy and ToArray methods to work.