Compare commits

..

No commits in common. "21c2012c152846984959823f29a59d5b6a108302" and "95a39e5a121be7fad6343ef2971e0cf874003c9b" have entirely different histories.

8 changed files with 3 additions and 9 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -58,8 +58,7 @@ namespace VEPROMS.CSLA.Library
SectMenuStep = 0x0020,
StepAllowNone = 0x0040,
StepFirst = 0x0080,
StepLast = 0x0100,
StepAllChildren = 0x0200
StepLast = 0x0100
}
public enum E_EMode : uint
{

View File

@ -898,10 +898,7 @@ namespace Volian.Controls.Library
// allow this (12/2/09). Note that this was changed to not allow transitions
// to RNOs (10/2010), this 'feature' will be added at some later date.
tn.ChildrenLoaded = false;
// F2024-047 BNPP standard Text transition - pass True to LoadChildren to load all children.
E_TransUI etm = (E_TransUI) _CurItemFrom.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[_TranFmtIndx].TransUI;
bool loadAllChildren = ((etm & E_TransUI.StepAllChildren) == E_TransUI.StepAllChildren);
tn.LoadChildren(loadAllChildren);
tn.LoadChildren(false);
}
private void cbTranSects_SelectedIndexChanged(object sender, EventArgs e)
{
@ -943,9 +940,7 @@ namespace Volian.Controls.Library
private void HideStepTreeIfNeeded()
{
string trnFmt = _CurItemFrom.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[_TranFmtIndx].TransFormat;
// F2024-047 Added check for {Step Text} so that the step tree is displayed
// Needed for BNPP transition to step text only for standard text
bool showStepList = trnFmt.Contains("{First Step}") || trnFmt.Contains("{Step Text}");
bool showStepList = trnFmt.Contains("{First Step}");
if (!showStepList)
tvTran.Nodes.Clear(); // clear the tree view of steps if not needed for selected transition
tvTran.Enabled = showStepList; // show the tree view of steps?