I have a winforms app with a group box called priceClassGroupBox. Inside it I dynamically add RadioButtons to which I give a name, say radio1, radio2, radio3.
I have 2 questions:
- Can I automatically select a given RadioButton by it's name without iterating through each control?
- Can I get the name of the selected RadioButton without iterating through each control?