public void FileSave() { ITabbedFileDocument fileDoc = Global.DockManager.ActiveDocument as ITabbedFileDocument; if (fileDoc == null) { return; } fileDoc.SaveContent(); this._recentFilesManager.Add(fileDoc.ContentFile); }
public void FileSaveAll() { foreach (TabbedDocument document in Global.DockManager.GetDocumentArray()) { ITabbedFileDocument fileDoc = document as ITabbedFileDocument; if (fileDoc == null) { continue; } fileDoc.SaveContent(); } }