Added a hidden check box which is used to generate a Continuous Action Summary

Continuous Action Summary logic
Continuous Action Summary logic – hooks for tree menu and ribbon button
This commit is contained in:
2015-10-23 18:10:31 +00:00
parent e30019797e
commit 17d4c2b26b
5 changed files with 514 additions and 393 deletions

View File

@@ -110,6 +110,11 @@ namespace VEPROMS
get { return txbReviewDate.Text; }
set { txbReviewDate.Text = value; }
}
public bool CreateContinuousActionSummary
{
get { return cbxGenerateConActSum.Checked; }
set { cbxGenerateConActSum.Checked = value; }
}
public DlgPrintProcedure(DocVersionInfo dvi, bool automatic)
{
_Automatic = automatic;
@@ -152,6 +157,7 @@ namespace VEPROMS
cbxOverwritePDF2.Checked = true;
gpnlDebug.Visible = Volian.Base.Library.VlnSettings.DebugMode;
cbxGeneratePlacekeeper.Checked = false;
cbxGenerateConActSum.Checked = false;
cbxGeneratePlacekeeper.Visible = oneProcedure &&
((MyProcedure.ActiveFormat.PlantFormat.FormatData.PurchaseOptions & E_PurchaseOptions.AutoPlacekeeper) == E_PurchaseOptions.AutoPlacekeeper);
}
@@ -715,6 +721,9 @@ namespace VEPROMS
cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, PDFPath, cbd, txbPDFName.Text, new Point(Left, Bottom - 50),
cbxBlankPgsForDuplex.Checked, _AllProcedures || Automatic,Prefix,SaveLinks);
frmStatus.MakePlaceKeeper = cbxGeneratePlacekeeper.Checked;
frmStatus.MakeContinuousActionSummary = cbxGenerateConActSum.Checked;
if (Automatic && cbxGenerateConActSum.Checked)
frmStatus.OnlyShowContinuousActionSummary = true;
int profileDepth3 = ProfileTimer.Push(">>>> frmStatus");
frmStatus.ShowDialog();
ProfileTimer.Pop(profileDepth3);