private void FileDeleted(string path) { flashDevelopActions.CloseDocument(path); projectActions.RemoveAllReferences(Project, path); pluginUI.WatchParentOf(path); Project.Save(); }