摘要:
遍历返回的listCheckBox[] cl = GetLableList(tabPage1).ToArray<CheckBox>();foreach (CheckBox c in cl){ MessageBox.Show(c.Name);}传入控件检查空间内CheckBox添加到listprivate List<CheckBox> GetLableList(Control ctro) { List<CheckBox> list =new List<CheckBox>(); foreach (object var in ctro.... 阅读全文