I have problem in C#.
I have a list box and a class called FileManager. FileManager contains, a method called ValidateFile which validate and valid files need to add to a list in the FileManager class.
I want to add contents of list to my list box. And I am just running through the list and adding to my listbox.
Since, ValidateFile in FileManager Class takes little more time and to keep my UI live, I am calling ValidateFile method on a Delegate.
But I am searching for good way to populate my listbox when FileManager.List changes or for any change in the list should reflect in my listbox.
please post code or web links if you have.
Thank you, harsha