I am using C# to develop a WindowsForms application. I created a form with some panels. Each panel has a RadioButton . When I click RadioButton and then the other, both are checked.
How did I simulate that all RadioButtons are in the same group, so you can only check one, and the rest are not checked?
Of course, I can control the checkedChanged event for each RadioButton ... but is there a better solution?
Thanks in advance.
source share