Is there a recommended design pattern for a user dialog which has an array of checkboxes?
The most rudimentary design seems to be to use an integer as a bitwise paramater which can be passed to and from the dialog based the [checked/unchecked] state of the checkbox(es).
Based on approx 3hrs googling the most likely design pattern seems to be "Decorator", but I'm yet to find a C# windows form example.
Is "Decorator" the best pattern?
Do most people just stick with bitwise manipulation of an integer?
Any examples or url links?
View Complete Post