I've got a ListBox that has its Items automatically generated. It basically adds all the items in a directory:
How can I squeeze an EventHandler in there to each added item?
C#:
for (int i=0; i<sArray.Count; i++)
{
this.LocalList.Items.Add(sArray[i].ToString());
}
How can I squeeze an EventHandler in there to each added item?
Last edited: