Enhanced: Added event support to add a new tree node when an new enhanced procedure is created in a new working draft from the source

Enhanced: Allow for creating new links from doc version to an non-linked enhanced doc version
This commit is contained in:
2016-05-09 11:24:29 +00:00
parent af78064dd2
commit 09e74a6d34
4 changed files with 657 additions and 510 deletions

View File

@@ -82,6 +82,8 @@ namespace VEPROMS
_SelectedStepTabPanel.MyStepTabRibbon.ProgressBar = bottomProgBar;
_SelectedStepTabPanel.MyStepTabRibbon.ContActionSummaryRequest -= MyStepTabRibbon_ContActionSummaryRequest;
_SelectedStepTabPanel.MyStepTabRibbon.ContActionSummaryRequest += MyStepTabRibbon_ContActionSummaryRequest;
_SelectedStepTabPanel.MyStepTabRibbon.AddProcToDVInTree -= new StepTabRibbonEvent(MyStepTabRibbon_AddProcToDocVersionInTree);
_SelectedStepTabPanel.MyStepTabRibbon.AddProcToDVInTree += new StepTabRibbonEvent(MyStepTabRibbon_AddProcToDocVersionInTree);
}
}
}
@@ -937,6 +939,12 @@ namespace VEPROMS
if (SelectedStepTabPanel!=null && SelectedStepTabPanel.MyStepTabRibbon != null)
SelectedStepTabPanel.MyStepTabRibbon.SetUpdRoValBtn(SelectedStepTabPanel.MyStepTabRibbon.NewerRoFst());
}
// Add a tree node for a procedure if this is the first procedure in the docversion, added from
// step editor (used for creating enhanced procedure in empty docversion)
void MyStepTabRibbon_AddProcToDocVersionInTree(object sender, StepTabRibbonEventArgs args)
{
tv.AdjustTree(args.Proc as ProcedureInfo);
}
void MyStepTabRibbon_PrintRequest(object sender, StepTabRibbonEventArgs args)
{
// Fix for B2013-173: