- 博客(1)
- 资源 (2)
- 收藏
- 关注
原创 在C#中如何用字符串来替代对象的名称
这个方法也找了很久了今天 laochai2000(古木流) 在论坛上提供了一个很好的方法用hashtable实现Hashtable hst = new Hashtable();hst.Add(Lable1.Name,Label1);hst.Add(Lable2.Name,Label2);...hst.Add(LableX.Name,LabelX);使用:for( int i = 0; i {Lab
2005-08-09 10:00:00 1893
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人