I am trying to create many radiobuttons using for loop on a window form. The problem that I am facing is to generate a variable name for each individual radiobutton. Originally, I plan to add different numbers like 0001 , 0002 to each radiobutton. However, I cannot do it because the variable name is not string. Any suggestion?
Share
Use an array:
This is in C#, as I don’t know VC++, but maybe it can help you.