This may sound like a silly question, but I can't seem to find the answer anywhere. I've added a bunch of radio buttons to a GroupBox and I'm trying to find out which of the buttons is selected (when a button is pressed). I don't see any property or method in the GroupBox class to obtain the RadioButton's tab index. A way to solve this problem would be to do this:
RadioButton rb= (RadioButton)myGroupBox.Controls[i];
But the above method does not seem very elegant, so there must be a better way?
Any help would be appreciated.