I’m trying to add a new checkbox for each String in alist.
The code is:
void MainFormLoad(object sender, EventArgs e)
{
ArrayList alist = new ArrayList();
alist.Add("First");
alist.Add("Second");
foreach (String s in alist) {
// add new checkbox with different name for each string in alist
}
}
please help
hope that helps.