As a Listbox.item, rather than using a string I'm using a ListItems object,
overriding the ToString method
When I add items to listbox.items, my strings are shown correctly.
On the otherhand, when I update the "value" field the listbox doesn't update
to reflect the new value.
What do I need to do to the following code to correct this please (if it's
possible) ?
public class ListItems
{
public bool IsUser = false;
public string value = "";
public ListItems(string Text, bool IsUser)
{
this.IsUser = IsUser;
value = Text;
}
public override string ToString()
{
return value;
}
}