Shutoff AutoExpand for PMS-809 also
This commit is contained in:
parent
34ef8944f0
commit
d827e10d88
@ -460,7 +460,12 @@ namespace Volian.Controls.Library
|
|||||||
Cursor tmp = Cursor.Current;
|
Cursor tmp = Cursor.Current;
|
||||||
Cursor.Current = Cursors.WaitCursor;
|
Cursor.Current = Cursors.WaitCursor;
|
||||||
if (!_Loading && MyExpandingStatus == ExpandingStatus.No)
|
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;
|
Cursor.Current = tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -359,7 +359,9 @@ namespace Volian.Controls.Library
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
// This is temporary to get the code working for this particular procedure
|
// 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()
|
public void Reset()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user