How refresh items of a ListBox? [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: C# Force ListBox to update elements Let's consider this small piece of code: listbox.DataSource = base_items; listbox.DisplayMember = "Name"; // ... a bit later in the program base_items.Add( new Base_Item("Unnamed") ); From this point, how do I do to make the listbox update its items? The only way for me to see the update is to close the window and reload it again. 回答1: Just remove and add databinding again.