//private clsScriptPosition() //{ //_ParentMapLink = new ConnectedListLink<clsScriptPosition, clsMap>(this); //} public static clsScriptPosition Create(clsMap Map) { clsScriptPosition Result = new clsScriptPosition(); Result._Label = Map.GetDefaultScriptLabel("Position"); Result._ParentMapLink.Connect(Map.ScriptPositions); return Result; }
//protected clsScriptArea() //{ //_ParentMapLink = new ConnectedListLink<clsScriptArea, clsMap>(this); //} public static clsScriptArea Create(clsMap Map) { clsScriptArea Result = new clsScriptArea(); Result._Label = Map.GetDefaultScriptLabel("Area"); Result._ParentMapLink.Connect(Map.ScriptAreas); return Result; }