Memory Utilities
Reduce Memory Use Added GetJustFormat method Added CheckColumnMode method
This commit is contained in:
@@ -937,6 +937,14 @@ namespace VEPROMS.CSLA.Library
|
||||
return ((IsProcedure || IsSection || IsHigh)?0:(IsRNOPart?1:0)+((ItemInfo)ActiveParent).RNOLevel);
|
||||
}
|
||||
}
|
||||
public void CheckColumnMode(int itemID)
|
||||
{
|
||||
List<ItemInfo> lst = _CacheByPrimaryKey[itemID.ToString()];
|
||||
foreach (ItemInfo ii in lst)
|
||||
{
|
||||
Console.WriteLine("{0} - {1}", ii.MyItemInfoUnique,(ii.ActiveSection as SectionInfo).SectionConfig.Section_ColumnMode);
|
||||
}
|
||||
}
|
||||
public int ColumnMode
|
||||
{
|
||||
get
|
||||
@@ -2081,7 +2089,7 @@ namespace VEPROMS.CSLA.Library
|
||||
_MyTab.Text = "";
|
||||
_MyTab.CleanText = "";
|
||||
return;
|
||||
}
|
||||
}
|
||||
int stepType = (int)(MyContent.Type % 10000);
|
||||
string tbformat = IsInRNO ? FormatStepData.TabData.RNOIdentPrint : FormatStepData.TabData.IdentPrint;
|
||||
// rno gets parent tab
|
||||
|
Reference in New Issue
Block a user