I guess following is what you were looking for. However this is just an example how u can load images in a control. Rest, being a developer i guess u can do...
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace createButtonAtRuntime
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
DirectoryInfo di = new DirectoryInfo(@"C:\Users\Public\Pictures\Sample Pictures");
FileInfo[] Images = di.GetFiles("*.jpg");
for (int i = 0; i <= Images.Length - 1; i++)
{
checkedListBox1.Items.Add(Images[i]);
}
}
}
}
i guess this solution shows you some way...