Reference below(sample---add LinkLabel into ListBox):
for (int i = 0;i < 3;i++)
{
LinkLabel ll = new LinkLabel();
ll.Name = "test"+i;
ll.Text = ll.Name;
ll.Location = new Point(0,i*ll.Height);
this.listBox1.Controls.Add(ll);
Console.WriteLine(ll.Location);
ll.LinkClicked +=
new LinkLabelLinkClickedEventHandler(this.linkClicked);
}
—————————————————————————————————
This answer's key is the Location attribute of the public class
System.Windows.Forms.Control,if you are familiar with this
attribute then would not have the question at all.