I\'m making a Windows Form project that will search for files in the specified folders in my spare time. So far, I\'ve got my TreeView that displays folders just like in the Win
You should create a custom SearchResult
class with a property that returns the full path.
The class should override ToString()
and return the text you want to display in the listbox.
You can then put instances of your class directly into the listbox, and cast an item from the listbox back to the class to get the property.