日期:2014-05-19  浏览次数:20841 次

.net2005 关于动态new PictrueBox
.net2005   关于动态new   PictrueBox

for(int   index   =   0;   index   <   10;   index++)
{
        PictrueBox   pic1   =   new   PictrueBox;
        ...
}


请问如何动态加载????
PictrueBox   pic[index]   =   new   PictrueBoc;这样是不行的。

------解决方案--------------------
PictrueBox[] pic = new PictrueBox[10]
for(int index = 0; index < 10; index++)
{
PictrueBox pic[i] ...
}