Build a custom control
I built one that uses a panel as the container and add the check box, I also use a verb (that's the little linke that shows up in the property broswer) to setup how many check boxes I want and keep them in a CheckboxCollection property.
Though I rarely use this, but I did the same thing for a radio button collection and it works great, I always wondered why there wasn't some easy way to bind many radio buttons and set the value of a single datacolumn of a row based on which radio button was checked (filled). Plus have that value different for each one, much like how one would do a combobox but with radio buttons.
Check out www.syncfusion.com/FAQ/WinForms/ For all your custom winforms needs, great site (when it's up). |