int itemcount = 20;
Random rd = new Random();
itemPanel1.Items.Clear();
for (int i = 0; i < itemcount; i++)
{
Button button = null;
button = new Button ();
ControlContainerItem containerItem = new ControlContainerItem();
containerItem.Control = button;
}