private void OpenAspectFile(string fileName) { ParserWrapper pw = treeManager.GetParserWrapper(); Adapter.ReadAspectFile(fileName, pw); treeManager.ReleaseParserWrapper(pw); Manager.WorkingDir = Path.GetDirectoryName(fileName); CurrentAspectFileName = fileName; SynchronizeUndoButtons(); tsbSave.Enabled = true; сохранитьToolStripMenuItem.Enabled = true; SetStatus(""); }