Proms Express: display format tab for top folder if not using default format

Use generic Specific Information field processing
This commit is contained in:
2015-05-14 14:35:01 +00:00
parent 977b748548
commit 46ff7a513d
2 changed files with 12 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ namespace VEPROMS
int xB4Scroll = 900;
int yB4Scroll = 630;
this.panelPSI.AutoScroll = false;
foreach (PsiLabel lbl in psiDialogDef.LabelList)
foreach (SILabel lbl in psiDialogDef.LabelList)
{
Label wlbl = new Label();
wlbl.Text = lbl.text;
@@ -49,7 +49,7 @@ namespace VEPROMS
maxy = ((int)lbl.y * 2 + (int)lbl.height * 2) > maxy ? ((int)lbl.y * 2 + (int)lbl.height * 2) : maxy;
}
ProcedureConfig procConfig = pi.MyConfig as ProcedureConfig;
foreach (PsiField fld in psiDialogDef.FieldList)
foreach (SIField fld in psiDialogDef.FieldList)
{
if (fld.type.ToLower() == "text")
{
@@ -124,7 +124,7 @@ namespace VEPROMS
// loop through all of the fields (Text & logical)
bool isDirty = false;
foreach (PsiField fld in psiDialogDef.FieldList)
foreach (SIField fld in psiDialogDef.FieldList)
{
if (fld.type.ToLower() == "text")
{