DotNetBar ItemPanel添加WinForm Control

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;

}

posted @ 2018-01-30 10:13  zhaogaojian  阅读(787)  评论(0编辑  收藏  举报