Looks like you are not using the FileSystemWatcher functionality at all, or you don't show all your code. I can't see that you are using the events in your code.
This example should do the job for you. MSDN has more extensive examples:
FileSystemWatcher Class[
^]
FileSystemWatcher fileSystemWatcher1 = new FileSystemWatcher();
fileSystemWatcher1.NotifyFilter = NotifyFilters.FileName;
fileSystemWatcher1.Filter = "*.jpg";
fileSystemWatcher1.Path = @"c:\temp\deneme2";
fileSystemWatcher1.Created += fileSystemWatcher1_Created;
fileSystemWatcher1.EnableRaisingEvents = true;
void fileSystemWatcher1_Created(object sender, FileSystemEventArgs e)
{
if (e.ChangeType == WatcherChangeTypes.Created)
{
string dest = Path.Combine(@"C:\temp\deneme1", e.Name);
if (File.Exists(dest))
{
File.Delete(e.FullPath);
}
else
{
File.Move(e.FullPath, dest);
}
}
}