C#: Update datagrid

Posted by Bi on Stack Overflow See other posts from Stack Overflow or by Bi
Published on 2010-05-10T19:30:37Z Indexed on 2010/05/10 19:34 UTC
Read the original article Hit count: 276

Filed under:

I have a C# application with a datagrid in windows form. I need to monitor a directory (am using FileSystemWatcher) and refresh the datagrid with list of files in the directory. I am not sure how I can set up the interface to do so? Calling the monitorDirectory() from the windows-form Load() does not seem to work as Load is called only once in the application.

Thanks

© Stack Overflow or respective owner

Related posts about c#