private void Watcher_Event(object sender, FileSystemEventArgs e) { WatcherEvent?.Invoke(this, EventArgs.Empty); }
/** * Specify what is done when a file is changed, created, or deleted. */ private void OnChanged(object source, FileSystemEventArgs e) { printchanged?.Invoke(e.ChangeType, "File: " + e.FullPath + " " + e.ChangeType); }