private void _OpenEditor(IEditorUserInterface editorUI) { _openEditors.Add(editorUI); editorUI.Closing +=editorUI_Closing; editorUI.Activated +=editorUI_Activated; editorUI.StartEditor(); }