Added timing logic
Changed menu text Support Procedure and ProcedureInfo Added ChangeBar support Fixed Ancestor Inheritance
This commit is contained in:
@@ -56,7 +56,8 @@ namespace VEPROMS.CSLA.Library
|
||||
if (args.AncestorLookup || ParentLookup)
|
||||
{
|
||||
string retval;
|
||||
ProcedureInfo proc = _Procedure.MyProcedureInfo;
|
||||
//ProcedureInfo proc = _Procedure.MyProcedureInfo;
|
||||
ProcedureInfo proc = _Procedure != null ? _Procedure.MyProcedureInfo : _ProcedureInfo;
|
||||
while (proc.ActiveParent.GetType() == typeof(ProcedureInfo))
|
||||
{
|
||||
retval = proc.ProcedureConfig.GetValue(args.Group, args.Item);
|
||||
@@ -96,6 +97,8 @@ namespace VEPROMS.CSLA.Library
|
||||
string xml = procedureInfo.MyContent.Config;
|
||||
if (xml == string.Empty) xml = "<config/>";
|
||||
_Xp = new XMLProperties(xml);
|
||||
_Xp.AncestorLookup = true;
|
||||
if (procedureInfo.ActiveParent != null) _Xp.LookInAncestor += new XMLPropertiesEvent(Xp_LookInAncestorFolder);
|
||||
}
|
||||
public ProcedureConfig(string xml)
|
||||
{
|
||||
|
Reference in New Issue
Block a user