public static void LoadComponents() { StrategyComponentManager.Load(); FileSystemWatcher fileSystemWatcher = new FileSystemWatcher(); fileSystemWatcher.Path = Framework.Installation.ComponentDir.FullName + "\\data"; fileSystemWatcher.Filter = "*.*"; fileSystemWatcher.NotifyFilter = NotifyFilters.LastWrite; fileSystemWatcher.Changed += new FileSystemEventHandler(StrategyComponentManager.OnFileChanged); fileSystemWatcher.EnableRaisingEvents = true; }