C# 如何监视文件变化的各事件 FileSystemWatcher watcher = new FileSystemWatcher(); // 如果改为 *.txt 等,就不能监视目录的变化 watcher.Filter = "*.*"; watcher.IncludeSubdirectories = true; watcher.