views:

158

answers:

1

Hi,

I am working on a WinForms app in C#, VS2008.

How do I setup Checkbox's in a Groupbox so that I can reference checkbox states at the group level? For example 7 checkboxes for each day of the week. Then I would like to be able get the state when checking via something like: "result = daysOfWeek.Monday;"

I'm probably missing the obvious somewhere...

thanks

+1  A: 

You can use a CheckedListBox and change the background, border, and selection properties.

SLaks