110,533
社区成员
发帖
与我相关
我的任务
分享
ArrayList al = new ArrayList();
void getCBTagAndText()
{
al.Clear();
foreach (Control c in this.Controls)
{
if ((c as CheckBox) != null)
{
if (c.Tag != null)
al.Add(c.Tag.ToString() + "," + c.Text);
else
al.Add("null," + c.Text);
}
}
}