Added Item.MyItemInfo

Changed ActiveParent object to return cached ItemInfo
Added Section.MySectionInfo
Added Procedure.MyProcedureInfo
Removed debug printout
Removed GetChildren from editable object
Removed HasChildren from editable object
Removed ActiveParent from editable object
Removed ActiveFormat from editable object
Removed LocalFormat from editable object
Changed logic to use SectionInfo to retrieve FormatInfo
This commit is contained in:
Rich
2009-10-08 14:33:50 +00:00
parent 119c428ae4
commit 66f1c21425
2 changed files with 82 additions and 68 deletions

View File

@@ -126,7 +126,7 @@ namespace VEPROMS.CSLA.Library
if (_MyDocStyleList == null)
{
_MyDocStyleList = new SortedList<string, int>();
foreach(DocStyle ds in _MySection.ActiveFormat.PlantFormat.DocStyles.DocStyleList)
foreach(DocStyle ds in _MySection.MySectionInfo.ActiveFormat.PlantFormat.DocStyles.DocStyleList)
{
_MyDocStyleList.Add(ds.Name,10000 + (int) ds.Index);
}