------解决方案-------------------- chkeckbox.Checked可以
------解决方案-------------------- foreach (CheckBox c in this.Controls) { if(c.Checked)// }
------解决方案--------------------
C# code
foreach(Control c in flowLayoutPanel.Controls){
if(c.GetType() == typeof(CheckBox)){
CheckBox cb = c as CheckBox;
MessageBox.Show(cb.Checked.ToString());
}
}
------解决方案--------------------