D
dm_dal
I'm trying to compile the FileSystemWatcher example on MSDN but it won't
compile and gives the following build error:
1) An object reference is required for the nonstatic field, method, or
property 'FileWatcherDaemon.fileWatcher.OnChanged(object,
System.IO.FileSystemEventArgs)'
This is given on the following line:
watcher.Changed += new FileSystemEventHandler(Changed);
compile and gives the following build error:
1) An object reference is required for the nonstatic field, method, or
property 'FileWatcherDaemon.fileWatcher.OnChanged(object,
System.IO.FileSystemEventArgs)'
This is given on the following line:
watcher.Changed += new FileSystemEventHandler(Changed);