Best way to databind a group of radiobuttons in WinForms
Following is a generic RadioGroupBox implementation in the spirit of ArielBH’s suggestion (some code borrowed from Jay Andrew Allen’s RadioPanel). Just add RadioButtons to it, set their tags to different integers and bind to the ‘Selected’ property. public class RadioGroupBox : GroupBox { public event EventHandler SelectedChanged = delegate { }; int _selected; public int … Read more