void OpenMapEditor(string fileName) { MapEditorPage ed = new MapEditorPage(); ed.OpenEditor(fileName); AttachNewEditor(ed); }
void CreateNewMapEditor() { MapEditorPage ed = new MapEditorPage(); ed.NewEditor(); AttachNewEditor(ed); }