Remove unused parameter from PromsPrinter constructor
Remove unused parameter from frmPDFStatusForm constructor Remove event handler for cbxCheckedChanged Set cbxCmpPRMSpfd to invisible since it is no longer needed Remove unused parameter from frmPDFStatusForm constructor Remove unused parameter from PromsPrinter constructor Rename log static field to _MyLog Set the Error Log file name to the Database name and the date of the previous Sunday - This will create a new error log file for each database each week
This commit is contained in:
@@ -399,7 +399,7 @@ namespace VEPROMS
|
||||
{
|
||||
SetupForProcedure();
|
||||
this.Text = string.Format("Create PDF for {0} ({1} of {2})", myProc.DisplayNumber, ++i, n);
|
||||
frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNum, RevDate, pw.ToString(), cbxDebug.Checked, cbxOrPgBrk.Checked, cbxCmpPRMSpfd.Checked , cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, PDFPath, cbd, txbPDFName.Text, new Point(Left,Bottom));
|
||||
frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNum, RevDate, pw.ToString(), cbxDebug.Checked, cbxOrPgBrk.Checked, cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, PDFPath, cbd, txbPDFName.Text, new Point(Left,Bottom));
|
||||
frmStatus.CloseWhenDone = true;
|
||||
Application.DoEvents();
|
||||
frmStatus.ShowDialog();
|
||||
@@ -432,7 +432,7 @@ namespace VEPROMS
|
||||
// Determine change bar settings. First get from config & then see if override from dialog.
|
||||
// Also check that format allows override.
|
||||
ChangeBarDefinition cbd = DetermineChangeBarSettings();
|
||||
frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNum, RevDate, pw.ToString(), cbxDebug.Checked, cbxOrPgBrk.Checked, cbxCmpPRMSpfd.Checked, cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, PDFPath, cbd, txbPDFName.Text, new Point(Left, Bottom));
|
||||
frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNum, RevDate, pw.ToString(), cbxDebug.Checked, cbxOrPgBrk.Checked, cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, PDFPath, cbd, txbPDFName.Text, new Point(Left, Bottom));
|
||||
frmStatus.ShowDialog();
|
||||
this.Close();
|
||||
ShowDebugFiles();
|
||||
@@ -632,11 +632,9 @@ namespace VEPROMS
|
||||
itm.Save();
|
||||
}
|
||||
}
|
||||
|
||||
private void cbxDebug_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
cbxCmpPRMSpfd.Visible = cbxDebug.Checked;
|
||||
}
|
||||
|
||||
//private void cbxDebug_CheckedChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// cbxCmpPRMSpfd.Visible = cbxDebug.Checked;
|
||||
//}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user