henrik

henrik

  • NA
  • 3
  • 0

how to make linklabel work

Jul 17 2007 5:35 AM
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)