This commit is contained in:
parent
87b06744c0
commit
e718d93ea5
@ -200,8 +200,11 @@ namespace VEPROMS
|
|||||||
ppTxbxChangeBarUserMsgTwo.Text = _DocVersionConfig.Print_UserCBMess2;
|
ppTxbxChangeBarUserMsgTwo.Text = _DocVersionConfig.Print_UserCBMess2;
|
||||||
ppGpbxUserSpecTxt.Enabled = ppCmbxChgBarTxtType.SelectedIndex == (int)PrintChangeBarText.UserDef;
|
ppGpbxUserSpecTxt.Enabled = ppCmbxChgBarTxtType.SelectedIndex == (int)PrintChangeBarText.UserDef;
|
||||||
bool hasReviewDate = _MyProcedure.ActiveFormat.PlantFormat.HasPageListToken("{REVIEWDATE}");
|
bool hasReviewDate = _MyProcedure.ActiveFormat.PlantFormat.HasPageListToken("{REVIEWDATE}");
|
||||||
foreach (SectionInfo mysection in _MyProcedure.Sections)
|
if (_MyProcedure.Sections != null)
|
||||||
hasReviewDate |= mysection.ActiveFormat.PlantFormat.HasPageListToken("{REVIEWDATE}");
|
{
|
||||||
|
foreach (SectionInfo mysection in _MyProcedure.Sections)
|
||||||
|
hasReviewDate |= mysection.ActiveFormat.PlantFormat.HasPageListToken("{REVIEWDATE}");
|
||||||
|
}
|
||||||
lblReviewDate.Visible = txbReviewDate.Visible = !_AllProcedures && hasReviewDate;
|
lblReviewDate.Visible = txbReviewDate.Visible = !_AllProcedures && hasReviewDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -331,10 +334,13 @@ namespace VEPROMS
|
|||||||
foreach (ProcedureInfo myProc in _DocVersionInfo.Procedures)
|
foreach (ProcedureInfo myProc in _DocVersionInfo.Procedures)
|
||||||
{
|
{
|
||||||
MyProcedure = myProc;
|
MyProcedure = myProc;
|
||||||
SetupForProcedure();
|
if (myProc.Sections != null)
|
||||||
frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNum, RevDate, pw.ToString(), cbxDebug.Checked, cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, PDFPath, cbd, txbPDFName.Text);
|
{
|
||||||
frmStatus.CloseWhenDone = true;
|
SetupForProcedure();
|
||||||
frmStatus.ShowDialog();
|
frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNum, RevDate, pw.ToString(), cbxDebug.Checked, cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, PDFPath, cbd, txbPDFName.Text);
|
||||||
|
frmStatus.CloseWhenDone = true;
|
||||||
|
frmStatus.ShowDialog();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.Close();
|
this.Close();
|
||||||
ShowDebugFiles();
|
ShowDebugFiles();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user