public static void OnPreDelete(XmlDocFileEventArgs e) { SyncFileWatcher.Pause(); if (preDelete != null) { preDelete(e); } if (Deleting != null) { Deleting(e); } }
public static void OnPreSave(XmlDocFileEventArgs e) { SyncFileWatcher.Pause(); /* going to phase this out - naming is saving/saved) */ if (preSave != null) { preSave(e); } if (Saving != null) { Saving(e); } }