I've 2 rows of checkboxes
named.
like this:
upper (ck18,ck17,ck16,ck15,ck14,ck13,ck12,ck11,ck21,ck22,ck23,ck24,ck25,ck26,ck27,ck28)
lower (ck38,ck37,ck36,ck35,ck34,ck33,ck32,ck31,ck41,ck42,ck43,ck44,ck45,ck46,ck47,ck48)
Sorted in this order:
There is an easy way to check a range of checkboxes while shift key is pressed ? (like text selection at word) = just mark the first and then the last while shift is pressed to mark automatically the intermediate checkboxes.
Considering you are talking about Windows Forms, you can use this code:
I'm guessing the CheckBoxes are disposed at the form in the same order you've put here, so, that's the order I've used to populate the list. If that's not the correct visual order, you have to fix the order in which they are added to the list.