MRI Capability

MyConfig for ItemInfo
Fixed various problems with DisplayTabControl
VEPROMS ribbon for DisplayTabPanel
This commit is contained in:
Rich
2007-12-21 18:29:46 +00:00
parent d797d76ee3
commit 9a7b8ab75d
13 changed files with 1073 additions and 798 deletions

View File

@@ -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; }