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:
1 parent
119c428ae4
commit
66f1c21425
2 files changed
+82
-68
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user