Here comes the main problem.
I do not want to write
..Add(cb_01), but rather call them via
stringA = "cb_"+i.ToString();
checkboxes.Add(stringA);
But I cannot make it to work.
Hi,
I need help with Checkboxes.
I set up a C# Form with 40 Checkboxes.
Now I need to step through them one by one to see if one is checked or not.
Later I want to write down something like:
1-20, 22, 24, 28-35, 37 are checked.
Can you help me?
I named the Checkboxes : cb_01 - cb_40
Currently...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.