So I have a huge class hierarch I am working with. I would like to store the objects of these classes in a ListBox and have a certain attribute used for the ListBox text. So my plan is to make a User Control and inherit from the ListBox. Is there a function that I can override that will let me print what I want for the ListBox text?
Ps I do not want to override the toString functions in my other classes
rp90 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.