File Watcher 썸네일형 리스트형 .net 파일 감시 File System Watcher class control에서 CrossThread에 의한 Side effect를 줄이고자 할 경우 다음과 같이 사용할 수 있다. CheckForIllegalCrossThreadCalls = false; FileSystemWatcher w = new FileSystemWatcher(); //w.Path = path string w.NotifyFilter = NotifyFilters.LastAccess| NotifyFilters.LastWrite |NotifyFilters.FileName|NotifyFilters.DirectoryName; w.Filter = "*.jpeg"; w.Changed += new FileSystemEventHandler(OnChanged); w... 더보기 이전 1 다음