Code cleanup – removed un-used code.

This commit is contained in:
John Jenko 2019-06-26 16:56:36 +00:00
parent a0dadf2f9a
commit cba19044d8

View File

@ -173,7 +173,6 @@ namespace VEPROMS
btnCreatePDF.Text = "Create PDFs"; btnCreatePDF.Text = "Create PDFs";
HandleDocVersionSettings(); HandleDocVersionSettings();
PrepForAllOrOne(false); PrepForAllOrOne(false);
Rtf2iTextSharp.DoingComparison = cbxDebug.Checked; // RHM20150506 Multiline ItemID TextBox
// don't open all PDFs if doing All Procedures // don't open all PDFs if doing All Procedures
//cbxOpenAfterCreate2.Checked = dvi.DocVersionConfig.Print_AlwaysViewPDFAfterCreate; //cbxOpenAfterCreate2.Checked = dvi.DocVersionConfig.Print_AlwaysViewPDFAfterCreate;
// C2018-033 added the Prefix / Suffix switch to the expand Additional Settings check // C2018-033 added the Prefix / Suffix switch to the expand Additional Settings check
@ -258,7 +257,6 @@ namespace VEPROMS
{ {
InitializeComponent(); InitializeComponent();
Automatic = automatic; Automatic = automatic;
Rtf2iTextSharp.DoingComparison = cbxDebug.Checked;
_AllProcedures = false; _AllProcedures = false;
_DocVersionConfig = pi.MyDocVersion.DocVersionConfig; _DocVersionConfig = pi.MyDocVersion.DocVersionConfig;
swtbtnBlankPgsForDuplex.Value = pi.MyDocVersion.DocVersionConfig.Print_AddBlankPagesWhenUsingDuplexFoldouts; swtbtnBlankPgsForDuplex.Value = pi.MyDocVersion.DocVersionConfig.Print_AddBlankPagesWhenUsingDuplexFoldouts;
@ -916,7 +914,6 @@ namespace VEPROMS
private void DoCreatePDF() private void DoCreatePDF()
{ {
Rtf2iTextSharp.DoingComparison = cbxDebug.Checked;
if (_AllProcedures) if (_AllProcedures)
{ {
this.Cursor = Cursors.WaitCursor; this.Cursor = Cursors.WaitCursor;