Shutoff AutoExpand for PMS-809 also

This commit is contained in:
Rich 2013-02-15 19:50:37 +00:00
parent 34ef8944f0
commit d827e10d88
2 changed files with 9 additions and 2 deletions

View File

@ -460,7 +460,12 @@ namespace Volian.Controls.Library
Cursor tmp = Cursor.Current;
Cursor.Current = Cursors.WaitCursor;
if (!_Loading && MyExpandingStatus == ExpandingStatus.No)
Expand((ContentType >= 20000) || MyItemInfo.ActiveFormat.MyStepSectionLayoutData.Dev_Format);
{
if (MyStepPanel.AutoExpand)
Expand((ContentType >= 20000) || MyItemInfo.ActiveFormat.MyStepSectionLayoutData.Dev_Format);
else
Expand(false);
}
Cursor.Current = tmp;
}

View File

@ -359,7 +359,9 @@ namespace Volian.Controls.Library
get
{
// This is temporary to get the code working for this particular procedure
return MyProcedureItemInfo.DisplayNumber != "PMS-810";
if (MyProcedureItemInfo.DisplayNumber == "PMS-810") return false;
if (MyProcedureItemInfo.DisplayNumber == "PMS-809") return false;
return true;
}
}
public void Reset()