2
Answers

how to make linklabel work

henrik

henrik

17y
2k
1
im trying to make a list of linklabels the link to all linklabels is the same exept an idnumber from MyClass but i am out of ideas how to make it work. does anyone know what i need to make it work ? ArrayList list = new ArrayList(); private LinkLabel[] lutt = new LinkLabel[100]; int t=0; foreach (MyClass s in list) { lutt[t] = new LinkLabel(); lutt[t].Location = new System.Drawing.Point(10, 80 + (tl * 25)); lutt[t].Name = ""; lutt[t].Text = "more"; this.Controls.Add(lutt[t]); t=t+1; }
Answers (2)
Next Recommended Forum