I'm using a ListBox and adding objects to it.
The object contains 2 variables, let's say username and userid.
How can I add the objects in the list (like
listbox.Items.Add(object);)
and show the username of that object?
Thnx!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…