Hello,
I have this code that works for checking just one RadioButton to see if it is checked when looping through a group of RadioButtons. How can I check ALL of the RadioButtons?
VB Code:
foreach(Control EnumControl in this.Frame1.Controls) { if (EnumControl.GetType().Equals(typeof(RadioButton))) { if (optCommand0.Checked == true) //What do I do here to check ALL RadioButtons? { MessageBox.Show("I'm Here"); break; } } }




Reply With Quote