Fixed code to assure when printing all or some procedures for multiunit doc versions that output PDFs will be stored in sub folder associated with selected unit
Fixed code to prevent visibility of Applicability tab in Step Tools flyout when doc version is not a multiunit doc version
This commit is contained in:
parent
2ce0990d62
commit
38a1b57144
@ -512,9 +512,9 @@ namespace VEPROMS
|
|||||||
pbPDFsStatus.Value = i;
|
pbPDFsStatus.Value = i;
|
||||||
// this.Text = string.Format("Create PDF for {0} ({1} of {2})", myProc.DisplayNumber, ++i, n);
|
// this.Text = string.Format("Create PDF for {0} ({1} of {2})", myProc.DisplayNumber, ++i, n);
|
||||||
MyProcedure = ProcedureInfo.GetItemAndChildrenByUnit(MyProcedure.ItemID, 0, MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave);
|
MyProcedure = ProcedureInfo.GetItemAndChildrenByUnit(MyProcedure.ItemID, 0, MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave);
|
||||||
GetMultiunitPDFPath();
|
string myPDFPath = GetMultiunitPDFPath();
|
||||||
// RHM 20120925 Overlay the bottom of the dialog so that cancel button is covered.
|
// RHM 20120925 Overlay the bottom of the dialog so that cancel button is covered.
|
||||||
frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNumAndDate,pw.ToString(), cbxDebug.Checked, cbxOrPgBrk.Checked, cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, PDFPath, cbd, txbPDFName.Text, new Point(Left,Bottom-50));
|
frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNumAndDate, pw.ToString(), cbxDebug.Checked, cbxOrPgBrk.Checked, cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, myPDFPath, cbd, txbPDFName.Text, new Point(Left, Bottom - 50));
|
||||||
frmStatus.CloseWhenDone = true;
|
frmStatus.CloseWhenDone = true;
|
||||||
Application.DoEvents();
|
Application.DoEvents();
|
||||||
frmStatus.CancelStop = true;
|
frmStatus.CancelStop = true;
|
||||||
|
@ -1613,6 +1613,8 @@ namespace VEPROMS
|
|||||||
infotabApplicability.Visible = true;
|
infotabApplicability.Visible = true;
|
||||||
displayApplicability.MyItemInfo = args.MyEditItem.MyItemInfo;
|
displayApplicability.MyItemInfo = args.MyEditItem.MyItemInfo;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
infotabApplicability.Visible = false;
|
||||||
if (args.MyEditItem.MyItemInfo.ActiveFormat != null)
|
if (args.MyEditItem.MyItemInfo.ActiveFormat != null)
|
||||||
{
|
{
|
||||||
// see if format has floating foldouts, and if so, display the panel.
|
// see if format has floating foldouts, and if so, display the panel.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user