المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : FileSystemWatcher problem when multi-files deletion in watched folder



C# Programming
04-21-2010, 11:52 AM
I got a FileSystemWatcher which detect file change,i have encounter a problem with multi-files.
When i create/delete/change SINGLE files the filesystemwatcher would run normally. BUT when i try to copy and paste more than 1 files to the watched destination at the same time,the event will still fired but only fired the first files into listbox.THIS APPLY TO DELETE also if multi-files deletion. ANYONE HAVES CLUES what the code i lack off?