MRI Capability
MyConfig for ItemInfo Fixed various problems with DisplayTabControl VEPROMS ribbon for DisplayTabPanel
This commit is contained in:
@@ -533,9 +533,25 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get { return MyContent.MyFormat; }
|
||||
}
|
||||
private DynamicTypeDescriptor _MyConfig=null;
|
||||
public DynamicTypeDescriptor MyConfig
|
||||
{
|
||||
get { return null; }
|
||||
get
|
||||
{
|
||||
if (_MyConfig == null)
|
||||
{
|
||||
switch (MyContent.Type / 10000)
|
||||
{
|
||||
case 0:
|
||||
_MyConfig = new ProcedureConfig(MyContent.Config);
|
||||
break;
|
||||
case 1:
|
||||
_MyConfig = new SectionConfig(MyContent.Config);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return _MyConfig;
|
||||
}
|
||||
}
|
||||
//public bool HasStandardSteps()
|
||||
//{ return MyContent.ContentItemCount > 1; }
|
||||
|
Reference in New Issue
Block a user