Modified code to support structure changes to treeview nodes
This commit is contained in:
@@ -352,6 +352,10 @@ namespace VEPROMS.CSLA.Library
|
||||
if (id == ItemID) return true;
|
||||
return false;
|
||||
}
|
||||
public static bool IsInCache(int itemID)
|
||||
{
|
||||
return _CacheByPrimaryKey.ContainsKey(itemID.ToString());
|
||||
}
|
||||
public void SetHeader(VE_Font myFont, string myText)
|
||||
{
|
||||
_MyHeader = new MetaTag(myFont);
|
||||
@@ -2588,6 +2592,7 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Lookups and More Related
|
||||
private ItemInfoList Lookup(int fromType, ref ItemInfoList itemInfoList)
|
||||
{
|
||||
Console.WriteLine(itemInfoList);
|
||||
if (itemInfoList == null)
|
||||
itemInfoList = Lookup(fromType);
|
||||
return itemInfoList;
|
||||
@@ -3863,9 +3868,9 @@ namespace VEPROMS.CSLA.Library
|
||||
(MyPrevious != null && MyPrevious.MyContent.Type == MyContent.Type) ||
|
||||
(NextItem != null && nextItem.MyContent.Type == MyContent.Type))
|
||||
{
|
||||
tbformat = tbformat + ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB;
|
||||
TabToIdentBAdjustFont();
|
||||
}
|
||||
tbformat = tbformat + ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.IdentB;
|
||||
TabToIdentBAdjustFont();
|
||||
}
|
||||
}
|
||||
else if (FormatStepData.TabData.IsTransition)
|
||||
return tbformat;
|
||||
|
Reference in New Issue
Block a user