this.fileSystemWatcher.Path= "c:\\";
this.fileSystemWatcher.Filter= "bound.txt";
this.fileSystemWatcher.EnableRaisingEvents = true;
this.fileSystemWatcher.EnableRaisingEvents = true;
            this.fileSystemWatcher.NotifyFilter = System.IO.NotifyFilters.LastWrite;
            this.fileSystemWatcher.SynchronizingObject = this;
            this.fileSystemWatcher.Changed += new System.IO.FileSystemEventHandler(this.fileSystemWatcher_Changed);
然后用ctrl+c拷贝文件,用ctrl+v粘贴替换,发现changed在同一秒产生两次
2006-10-17 11:30:20 c:\bound.txt changed
2006-10-17 11:30:20 c:\bound.txt changed
两次记录一摸一样,晕,是vs2005的bug?