fileSystemWatcher

I'm using fileSystemWatcher to check when a file is edited but every time I edit a file it opens ScanResult window more than 7 times


Code:
  private void fileSystemWatcher1_Changed(object sender, FileSystemEventArgs e)
        {
           
            var scR = new ScanResult();
            scR.Show();
        }
Was this page helpful?