Compare commits
4 Commits
C2025-049-
...
C2025-048-
Author | SHA1 | Date | |
---|---|---|---|
f866fea500 | |||
1009ca5111 | |||
dba1f4e71c | |||
46fe124fe1 |
@@ -66,6 +66,12 @@ namespace VEPROMS
|
|||||||
set { _prtSectID = value; }
|
set { _prtSectID = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private bool _OverwritePDF;
|
||||||
|
public bool OverwritePDF
|
||||||
|
{
|
||||||
|
get { return cbxOverwritePDF2.Checked; }
|
||||||
|
set { cbxOverwritePDF2.Checked = value; }
|
||||||
|
}
|
||||||
|
|
||||||
// C2018-033 Used to turn off using the date/time PDF file prefix and suffix when doing batch file autmatic baseline print testing (frmVEPROMS.cs RunAutomatic())
|
// C2018-033 Used to turn off using the date/time PDF file prefix and suffix when doing batch file autmatic baseline print testing (frmVEPROMS.cs RunAutomatic())
|
||||||
// This is needed so the the automatic baselines can compare results from different runs of PROMS
|
// This is needed so the the automatic baselines can compare results from different runs of PROMS
|
||||||
|
@@ -1235,7 +1235,7 @@ namespace VEPROMS
|
|||||||
void tv_QPrintProcedure(object sender, vlnTreeEventArgs args) // Quick Print right click menu on Procedure name.
|
void tv_QPrintProcedure(object sender, vlnTreeEventArgs args) // Quick Print right click menu on Procedure name.
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ProcedureInfo pi = (args.Node as VETreeNode).VEObject as ProcedureInfo;
|
ProcedureInfo pi = (args.Node as VETreeNode).VEObject as ProcedureInfo;
|
||||||
if (pi == null) return;
|
if (pi == null) return;
|
||||||
|
|
||||||
@@ -1245,6 +1245,7 @@ namespace VEPROMS
|
|||||||
|
|
||||||
using (DlgPrintProcedure prnDlg = new DlgPrintProcedure(pi))
|
using (DlgPrintProcedure prnDlg = new DlgPrintProcedure(pi))
|
||||||
{
|
{
|
||||||
|
prnDlg.OverwritePDF = false; // turn off overwriting of PDFs B2025-041
|
||||||
prnDlg.SelectedSlave = args.UnitIndex;
|
prnDlg.SelectedSlave = args.UnitIndex;
|
||||||
prnDlg.MySessionInfo = MySessionInfo;
|
prnDlg.MySessionInfo = MySessionInfo;
|
||||||
prnDlg.SetupForProcedure(); // Setup filename
|
prnDlg.SetupForProcedure(); // Setup filename
|
||||||
@@ -1602,6 +1603,7 @@ namespace VEPROMS
|
|||||||
{
|
{
|
||||||
using (DlgPrintProcedure prnDlg = new DlgPrintProcedure(pi))
|
using (DlgPrintProcedure prnDlg = new DlgPrintProcedure(pi))
|
||||||
{
|
{
|
||||||
|
prnDlg.OverwritePDF = false; // turn off overwriting of PDFs B2025-041
|
||||||
prnDlg.SelectedSlave = pi.ProcedureConfig.SelectedSlave == 0 ? -1 : pi.ProcedureConfig.SelectedSlave; //added by jcb 20130718 to support create pdf button when multi-unit and user selects a unit
|
prnDlg.SelectedSlave = pi.ProcedureConfig.SelectedSlave == 0 ? -1 : pi.ProcedureConfig.SelectedSlave; //added by jcb 20130718 to support create pdf button when multi-unit and user selects a unit
|
||||||
prnDlg.MySessionInfo = MySessionInfo;
|
prnDlg.MySessionInfo = MySessionInfo;
|
||||||
prnDlg.SetupForProcedure(); // Setup filename
|
prnDlg.SetupForProcedure(); // Setup filename
|
||||||
|
Reference in New Issue
Block a user