Added checkbox for adding blank pages to the PDF if the procedure prints duplex foldouts

This commit is contained in:
John Jenko 2013-08-29 12:56:25 +00:00
parent 2a754387ea
commit 13a6d8faae
2 changed files with 356 additions and 330 deletions

View File

@ -32,6 +32,7 @@ namespace VEPROMS
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DlgPrintProcedure));
this.tabControl1 = new DevComponents.DotNetBar.TabControl();
this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel();
this.pbPDFsStatus = new DevComponents.DotNetBar.Controls.ProgressBarX();
this.gpnlDebug = new DevComponents.DotNetBar.Controls.GroupPanel();
this.cbxDebugText = new System.Windows.Forms.CheckBox();
this.cbxDebugPagination = new System.Windows.Forms.CheckBox();
@ -67,6 +68,13 @@ namespace VEPROMS
this.label13 = new System.Windows.Forms.Label();
this.tbChangeBars = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
this.lblMultiunitPdfLocation = new DevComponents.DotNetBar.LabelX();
this.cbxMultiunitPdfLocation = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.muLocNone = new DevComponents.Editors.ComboItem();
this.muLocName = new DevComponents.Editors.ComboItem();
this.muLocNumber = new DevComponents.Editors.ComboItem();
this.muLocText = new DevComponents.Editors.ComboItem();
this.muLocID = new DevComponents.Editors.ComboItem();
this.lblWatermarkS = new DevComponents.DotNetBar.LabelX();
this.txbPdfLocationS = new DevComponents.DotNetBar.Controls.TextBoxX();
this.btnPdfLocation = new DevComponents.DotNetBar.ButtonX();
@ -88,14 +96,7 @@ namespace VEPROMS
this.cbxOrPgBrk = new System.Windows.Forms.CheckBox();
this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
this.cbxCmpPRMSpfd = new System.Windows.Forms.CheckBox();
this.cbxMultiunitPdfLocation = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.lblMultiunitPdfLocation = new DevComponents.DotNetBar.LabelX();
this.muLocNone = new DevComponents.Editors.ComboItem();
this.muLocName = new DevComponents.Editors.ComboItem();
this.muLocNumber = new DevComponents.Editors.ComboItem();
this.muLocText = new DevComponents.Editors.ComboItem();
this.muLocID = new DevComponents.Editors.ComboItem();
this.pbPDFsStatus = new DevComponents.DotNetBar.Controls.ProgressBarX();
this.cbxBlankPgsForDuplex = new System.Windows.Forms.CheckBox();
((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit();
this.tabControl1.SuspendLayout();
this.tabControlPanel3.SuspendLayout();
@ -112,13 +113,13 @@ namespace VEPROMS
// tabControl1
//
this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tabControl1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
this.tabControl1.CanReorderTabs = true;
this.tabControl1.Controls.Add(this.tabControlPanel1);
this.tabControl1.Controls.Add(this.tabControlPanel3);
this.tabControl1.Controls.Add(this.tabControlPanel2);
this.tabControl1.Controls.Add(this.tabControlPanel1);
this.tabControl1.Location = new System.Drawing.Point(2, 0);
this.tabControl1.Margin = new System.Windows.Forms.Padding(2);
this.tabControl1.Name = "tabControl1";
@ -162,11 +163,24 @@ namespace VEPROMS
this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel3.Style.GradientAngle = 90;
this.tabControlPanel3.TabIndex = 3;
this.tabControlPanel3.TabItem = this.tbGeneral;
//
// pbPDFsStatus
//
//
//
//
this.pbPDFsStatus.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.pbPDFsStatus.Location = new System.Drawing.Point(7, 220);
this.pbPDFsStatus.Name = "pbPDFsStatus";
this.pbPDFsStatus.Size = new System.Drawing.Size(539, 23);
this.pbPDFsStatus.TabIndex = 87;
this.pbPDFsStatus.Text = "Procedures Converted to PDF";
this.pbPDFsStatus.Visible = false;
//
// gpnlDebug
//
this.gpnlDebug.BackColor = System.Drawing.Color.Transparent;
@ -351,7 +365,7 @@ namespace VEPROMS
// txbPDFLocation
//
this.txbPDFLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
| System.Windows.Forms.AnchorStyles.Right)));
//
//
//
@ -466,7 +480,7 @@ namespace VEPROMS
// txbPDFName
//
this.txbPDFName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
| System.Windows.Forms.AnchorStyles.Right)));
//
//
//
@ -529,7 +543,7 @@ namespace VEPROMS
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel2.Style.GradientAngle = 90;
this.tabControlPanel2.TabIndex = 2;
this.tabControlPanel2.TabItem = this.tbChangeBars;
@ -812,305 +826,36 @@ namespace VEPROMS
this.tabControlPanel1.Controls.Add(this.btnChgBarOn);
this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel1.Location = new System.Drawing.Point(0, 22);
this.tabControlPanel1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.tabControlPanel1.Margin = new System.Windows.Forms.Padding(2);
this.tabControlPanel1.Name = "tabControlPanel1";
this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel1.Size = new System.Drawing.Size(502, 221);
this.tabControlPanel1.Size = new System.Drawing.Size(550, 247);
this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel1.Style.GradientAngle = 90;
this.tabControlPanel1.TabIndex = 5;
this.tabControlPanel1.TabItem = this.tbSettings;
//
// lblWatermarkS
// lblMultiunitPdfLocation
//
this.lblWatermarkS.BackColor = System.Drawing.Color.Transparent;
this.lblMultiunitPdfLocation.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.lblWatermarkS.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.lblWatermarkS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblWatermarkS.Location = new System.Drawing.Point(30, 84);
this.lblWatermarkS.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.lblWatermarkS.Name = "lblWatermarkS";
this.lblWatermarkS.Size = new System.Drawing.Size(86, 19);
this.lblWatermarkS.TabIndex = 106;
this.lblWatermarkS.Text = "Watermark";
this.lblWatermarkS.TextAlignment = System.Drawing.StringAlignment.Far;
//
// txbPdfLocationS
//
this.txbPdfLocationS.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
//
//
//
this.txbPdfLocationS.Border.Class = "TextBoxBorder";
this.txbPdfLocationS.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txbPdfLocationS.Location = new System.Drawing.Point(94, 3);
this.txbPdfLocationS.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.txbPdfLocationS.Name = "txbPdfLocationS";
this.txbPdfLocationS.ShortcutsEnabled = false;
this.txbPdfLocationS.Size = new System.Drawing.Size(373, 20);
this.txbPdfLocationS.TabIndex = 98;
this.txbPdfLocationS.WatermarkText = "PDF Location";
//
// btnPdfLocation
//
this.btnPdfLocation.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnPdfLocation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnPdfLocation.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnPdfLocation.Image = ((System.Drawing.Image)(resources.GetObject("btnPdfLocation.Image")));
this.btnPdfLocation.Location = new System.Drawing.Point(471, 3);
this.btnPdfLocation.Name = "btnPdfLocation";
this.btnPdfLocation.Size = new System.Drawing.Size(20, 19);
this.btnPdfLocation.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnPdfLocation.TabIndex = 99;
this.btnPdfLocation.Click += new System.EventHandler(this.btnPdfLocation_Click);
//
// lblPdfLocS
//
this.lblPdfLocS.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.lblPdfLocS.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.lblPdfLocS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblPdfLocS.Location = new System.Drawing.Point(7, 3);
this.lblPdfLocS.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.lblPdfLocS.Name = "lblPdfLocS";
this.lblPdfLocS.Size = new System.Drawing.Size(86, 19);
this.lblPdfLocS.TabIndex = 97;
this.lblPdfLocS.Text = "PDF Location";
this.lblPdfLocS.TextAlignment = System.Drawing.StringAlignment.Far;
//
// btnWaterMarkOff
//
this.btnWaterMarkOff.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnWaterMarkOff.Checked = true;
this.btnWaterMarkOff.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnWaterMarkOff.Location = new System.Drawing.Point(164, 84);
this.btnWaterMarkOff.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnWaterMarkOff.Name = "btnWaterMarkOff";
this.btnWaterMarkOff.Size = new System.Drawing.Size(34, 19);
this.btnWaterMarkOff.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnWaterMarkOff.TabIndex = 93;
this.btnWaterMarkOff.Text = "OFF";
this.btnWaterMarkOff.Click += new System.EventHandler(this.btnAdvWaterMarkOff_Click);
//
// btnChgBarOff
//
this.btnChgBarOff.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnChgBarOff.Checked = true;
this.btnChgBarOff.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnChgBarOff.Location = new System.Drawing.Point(164, 58);
this.btnChgBarOff.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnChgBarOff.Name = "btnChgBarOff";
this.btnChgBarOff.Size = new System.Drawing.Size(34, 19);
this.btnChgBarOff.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnChgBarOff.TabIndex = 92;
this.btnChgBarOff.Text = "OFF";
this.btnChgBarOff.Click += new System.EventHandler(this.btnAvChgBarOff_Click);
//
// btnDuplxOff
//
this.btnDuplxOff.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnDuplxOff.Checked = true;
this.btnDuplxOff.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnDuplxOff.Location = new System.Drawing.Point(164, 111);
this.btnDuplxOff.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnDuplxOff.Name = "btnDuplxOff";
this.btnDuplxOff.Size = new System.Drawing.Size(33, 19);
this.btnDuplxOff.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnDuplxOff.TabIndex = 91;
this.btnDuplxOff.Text = "OFF";
this.btnDuplxOff.Click += new System.EventHandler(this.btnAdvDuplxOff_Click);
//
// lblAutoDuplexing
//
this.lblAutoDuplexing.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.lblAutoDuplexing.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.lblAutoDuplexing.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblAutoDuplexing.Location = new System.Drawing.Point(30, 111);
this.lblAutoDuplexing.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.lblAutoDuplexing.Name = "lblAutoDuplexing";
this.lblAutoDuplexing.Size = new System.Drawing.Size(86, 19);
this.lblAutoDuplexing.TabIndex = 90;
this.lblAutoDuplexing.Text = "Auto Duplexing";
this.lblAutoDuplexing.TextAlignment = System.Drawing.StringAlignment.Far;
//
// btnDuplxOn
//
this.btnDuplxOn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnDuplxOn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnDuplxOn.Location = new System.Drawing.Point(123, 111);
this.btnDuplxOn.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnDuplxOn.Name = "btnDuplxOn";
this.btnDuplxOn.Size = new System.Drawing.Size(34, 19);
this.btnDuplxOn.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnDuplxOn.TabIndex = 89;
this.btnDuplxOn.Text = "ON";
this.btnDuplxOn.Click += new System.EventHandler(this.btnAdvDuplxOn_Click);
//
// btnWaterMarkOn
//
this.btnWaterMarkOn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnWaterMarkOn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnWaterMarkOn.Location = new System.Drawing.Point(123, 84);
this.btnWaterMarkOn.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnWaterMarkOn.Name = "btnWaterMarkOn";
this.btnWaterMarkOn.Size = new System.Drawing.Size(34, 19);
this.btnWaterMarkOn.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnWaterMarkOn.TabIndex = 88;
this.btnWaterMarkOn.Text = "ON";
this.btnWaterMarkOn.Click += new System.EventHandler(this.btnAdvWaterMarkOn_Click);
//
// cbxWaterMark
//
this.cbxWaterMark.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.docVersionConfigBindingSource, "Print_Watermark", true));
this.cbxWaterMark.DisplayMember = "Text";
this.cbxWaterMark.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.cbxWaterMark.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbxWaterMark.FormattingEnabled = true;
this.cbxWaterMark.Location = new System.Drawing.Point(202, 84);
this.cbxWaterMark.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.cbxWaterMark.Name = "cbxWaterMark";
this.cbxWaterMark.Size = new System.Drawing.Size(138, 21);
this.cbxWaterMark.TabIndex = 87;
this.cbxWaterMark.Visible = false;
this.cbxWaterMark.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxWaterMark.WatermarkText = "select watermark option";
//
// lblChgBars
//
this.lblChgBars.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.lblChgBars.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.lblChgBars.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblChgBars.Location = new System.Drawing.Point(30, 58);
this.lblChgBars.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.lblChgBars.Name = "lblChgBars";
this.lblChgBars.Size = new System.Drawing.Size(86, 19);
this.lblChgBars.TabIndex = 85;
this.lblChgBars.Text = "Change Bars";
this.lblChgBars.TextAlignment = System.Drawing.StringAlignment.Far;
//
// btnChgBarOn
//
this.btnChgBarOn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnChgBarOn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnChgBarOn.Location = new System.Drawing.Point(123, 58);
this.btnChgBarOn.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnChgBarOn.Name = "btnChgBarOn";
this.btnChgBarOn.Size = new System.Drawing.Size(34, 19);
this.btnChgBarOn.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnChgBarOn.TabIndex = 84;
this.btnChgBarOn.Text = "ON";
this.btnChgBarOn.Click += new System.EventHandler(this.btnAvChgBarOn_Click);
//
// tbSettings
//
this.tbSettings.AttachedControl = this.tabControlPanel1;
this.tbSettings.Name = "tbSettings";
this.tbSettings.Text = "Settings";
this.tbSettings.Click += new System.EventHandler(this.tbSettings_Click);
//
// btnCreatePDF
//
this.btnCreatePDF.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnCreatePDF.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnCreatePDF.BackColor = System.Drawing.SystemColors.Control;
this.btnCreatePDF.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnCreatePDF.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnCreatePDF.Location = new System.Drawing.Point(5, 281);
this.btnCreatePDF.Margin = new System.Windows.Forms.Padding(2);
this.btnCreatePDF.Name = "btnCreatePDF";
this.btnCreatePDF.Size = new System.Drawing.Size(113, 37);
this.btnCreatePDF.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnCreatePDF.TabIndex = 1;
this.btnCreatePDF.Text = "Create PDF";
this.btnCreatePDF.Click += new System.EventHandler(this.btnCreatePDF_Click);
//
// btnCancel
//
this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnCancel.BackColor = System.Drawing.SystemColors.Control;
this.btnCancel.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnCancel.Location = new System.Drawing.Point(450, 281);
this.btnCancel.Margin = new System.Windows.Forms.Padding(2);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(100, 37);
this.btnCancel.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnCancel.TabIndex = 2;
this.btnCancel.Text = "Cancel";
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// cbxDebug
//
this.cbxDebug.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cbxDebug.AutoSize = true;
this.cbxDebug.BackColor = System.Drawing.Color.Transparent;
this.cbxDebug.Checked = true;
this.cbxDebug.CheckState = System.Windows.Forms.CheckState.Checked;
this.cbxDebug.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysOverwritePDF", true));
this.cbxDebug.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxDebug.ForeColor = System.Drawing.SystemColors.ControlText;
this.cbxDebug.Location = new System.Drawing.Point(127, 282);
this.cbxDebug.Margin = new System.Windows.Forms.Padding(2);
this.cbxDebug.Name = "cbxDebug";
this.cbxDebug.Size = new System.Drawing.Size(115, 19);
this.cbxDebug.TabIndex = 98;
this.cbxDebug.Text = "Compare PDF";
this.cbxDebug.UseVisualStyleBackColor = false;
//
// cbxOrPgBrk
//
this.cbxOrPgBrk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cbxOrPgBrk.AutoSize = true;
this.cbxOrPgBrk.BackColor = System.Drawing.Color.Transparent;
this.cbxOrPgBrk.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysOverwritePDF", true));
this.cbxOrPgBrk.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxOrPgBrk.ForeColor = System.Drawing.SystemColors.ControlText;
this.cbxOrPgBrk.Location = new System.Drawing.Point(255, 282);
this.cbxOrPgBrk.Margin = new System.Windows.Forms.Padding(2);
this.cbxOrPgBrk.Name = "cbxOrPgBrk";
this.cbxOrPgBrk.Size = new System.Drawing.Size(191, 19);
this.cbxOrPgBrk.TabIndex = 99;
this.cbxOrPgBrk.Text = "Use Original Page Breaks";
this.cbxOrPgBrk.UseVisualStyleBackColor = false;
//
// superTooltip1
//
this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
//
// cbxCmpPRMSpfd
//
this.cbxCmpPRMSpfd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cbxCmpPRMSpfd.AutoSize = true;
this.cbxCmpPRMSpfd.BackColor = System.Drawing.Color.Transparent;
this.cbxCmpPRMSpfd.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysOverwritePDF", true));
this.cbxCmpPRMSpfd.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxCmpPRMSpfd.ForeColor = System.Drawing.SystemColors.ControlText;
this.cbxCmpPRMSpfd.Location = new System.Drawing.Point(142, 305);
this.cbxCmpPRMSpfd.Margin = new System.Windows.Forms.Padding(2);
this.cbxCmpPRMSpfd.Name = "cbxCmpPRMSpfd";
this.cbxCmpPRMSpfd.Size = new System.Drawing.Size(165, 17);
this.cbxCmpPRMSpfd.TabIndex = 100;
this.cbxCmpPRMSpfd.Text = "PROMS PDF to PROMS PDF";
this.cbxCmpPRMSpfd.UseVisualStyleBackColor = false;
this.cbxCmpPRMSpfd.Visible = false;
this.lblMultiunitPdfLocation.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.lblMultiunitPdfLocation.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblMultiunitPdfLocation.Location = new System.Drawing.Point(29, 30);
this.lblMultiunitPdfLocation.Margin = new System.Windows.Forms.Padding(2);
this.lblMultiunitPdfLocation.Name = "lblMultiunitPdfLocation";
this.lblMultiunitPdfLocation.Size = new System.Drawing.Size(127, 19);
this.lblMultiunitPdfLocation.TabIndex = 108;
this.lblMultiunitPdfLocation.Text = "Multi Unit PDF Location";
this.lblMultiunitPdfLocation.TextAlignment = System.Drawing.StringAlignment.Far;
this.lblMultiunitPdfLocation.Visible = false;
//
// cbxMultiunitPdfLocation
//
@ -1134,30 +879,6 @@ namespace VEPROMS
this.cbxMultiunitPdfLocation.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxMultiunitPdfLocation.WatermarkText = "select watermark option";
//
// lblMultiunitPdfLocation
//
this.lblMultiunitPdfLocation.BackColor = System.Drawing.Color.Transparent;
//
this.pbPDFsStatus.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.pbPDFsStatus.Location = new System.Drawing.Point(7, 220);
this.pbPDFsStatus.Name = "pbPDFsStatus";
this.pbPDFsStatus.Size = new System.Drawing.Size(539, 23);
this.pbPDFsStatus.TabIndex = 87;
this.pbPDFsStatus.Text = "Procedures Converted to PDF";
this.pbPDFsStatus.Visible = false;
//
//
this.lblMultiunitPdfLocation.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.lblMultiunitPdfLocation.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblMultiunitPdfLocation.Location = new System.Drawing.Point(29, 30);
this.lblMultiunitPdfLocation.Margin = new System.Windows.Forms.Padding(2);
this.lblMultiunitPdfLocation.Name = "lblMultiunitPdfLocation";
this.lblMultiunitPdfLocation.Size = new System.Drawing.Size(127, 19);
this.lblMultiunitPdfLocation.TabIndex = 108;
this.lblMultiunitPdfLocation.Text = "Multi Unit PDF Location";
this.lblMultiunitPdfLocation.TextAlignment = System.Drawing.StringAlignment.Far;
this.lblMultiunitPdfLocation.Visible = false;
//
// muLocNone
//
this.muLocNone.Text = "None";
@ -1178,19 +899,321 @@ namespace VEPROMS
//
this.muLocID.Text = "Unit ID";
//
// lblWatermarkS
//
this.lblWatermarkS.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.lblWatermarkS.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.lblWatermarkS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblWatermarkS.Location = new System.Drawing.Point(30, 84);
this.lblWatermarkS.Margin = new System.Windows.Forms.Padding(2);
this.lblWatermarkS.Name = "lblWatermarkS";
this.lblWatermarkS.Size = new System.Drawing.Size(86, 19);
this.lblWatermarkS.TabIndex = 106;
this.lblWatermarkS.Text = "Watermark";
this.lblWatermarkS.TextAlignment = System.Drawing.StringAlignment.Far;
//
// txbPdfLocationS
//
this.txbPdfLocationS.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
//
//
//
this.txbPdfLocationS.Border.Class = "TextBoxBorder";
this.txbPdfLocationS.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txbPdfLocationS.Location = new System.Drawing.Point(94, 3);
this.txbPdfLocationS.Margin = new System.Windows.Forms.Padding(2);
this.txbPdfLocationS.Name = "txbPdfLocationS";
this.txbPdfLocationS.ShortcutsEnabled = false;
this.txbPdfLocationS.Size = new System.Drawing.Size(421, 20);
this.txbPdfLocationS.TabIndex = 98;
this.txbPdfLocationS.WatermarkText = "PDF Location";
//
// btnPdfLocation
//
this.btnPdfLocation.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnPdfLocation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnPdfLocation.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnPdfLocation.Image = ((System.Drawing.Image)(resources.GetObject("btnPdfLocation.Image")));
this.btnPdfLocation.Location = new System.Drawing.Point(519, 3);
this.btnPdfLocation.Name = "btnPdfLocation";
this.btnPdfLocation.Size = new System.Drawing.Size(20, 19);
this.btnPdfLocation.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnPdfLocation.TabIndex = 99;
this.btnPdfLocation.Click += new System.EventHandler(this.btnPdfLocation_Click);
//
// lblPdfLocS
//
this.lblPdfLocS.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.lblPdfLocS.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.lblPdfLocS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblPdfLocS.Location = new System.Drawing.Point(7, 3);
this.lblPdfLocS.Margin = new System.Windows.Forms.Padding(2);
this.lblPdfLocS.Name = "lblPdfLocS";
this.lblPdfLocS.Size = new System.Drawing.Size(86, 19);
this.lblPdfLocS.TabIndex = 97;
this.lblPdfLocS.Text = "PDF Location";
this.lblPdfLocS.TextAlignment = System.Drawing.StringAlignment.Far;
//
// btnWaterMarkOff
//
this.btnWaterMarkOff.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnWaterMarkOff.Checked = true;
this.btnWaterMarkOff.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnWaterMarkOff.Location = new System.Drawing.Point(164, 84);
this.btnWaterMarkOff.Margin = new System.Windows.Forms.Padding(2);
this.btnWaterMarkOff.Name = "btnWaterMarkOff";
this.btnWaterMarkOff.Size = new System.Drawing.Size(34, 19);
this.btnWaterMarkOff.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnWaterMarkOff.TabIndex = 93;
this.btnWaterMarkOff.Text = "OFF";
this.btnWaterMarkOff.Click += new System.EventHandler(this.btnAdvWaterMarkOff_Click);
//
// btnChgBarOff
//
this.btnChgBarOff.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnChgBarOff.Checked = true;
this.btnChgBarOff.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnChgBarOff.Location = new System.Drawing.Point(164, 58);
this.btnChgBarOff.Margin = new System.Windows.Forms.Padding(2);
this.btnChgBarOff.Name = "btnChgBarOff";
this.btnChgBarOff.Size = new System.Drawing.Size(34, 19);
this.btnChgBarOff.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnChgBarOff.TabIndex = 92;
this.btnChgBarOff.Text = "OFF";
this.btnChgBarOff.Click += new System.EventHandler(this.btnAvChgBarOff_Click);
//
// btnDuplxOff
//
this.btnDuplxOff.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnDuplxOff.Checked = true;
this.btnDuplxOff.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnDuplxOff.Location = new System.Drawing.Point(164, 111);
this.btnDuplxOff.Margin = new System.Windows.Forms.Padding(2);
this.btnDuplxOff.Name = "btnDuplxOff";
this.btnDuplxOff.Size = new System.Drawing.Size(33, 19);
this.btnDuplxOff.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnDuplxOff.TabIndex = 91;
this.btnDuplxOff.Text = "OFF";
this.btnDuplxOff.Click += new System.EventHandler(this.btnAdvDuplxOff_Click);
//
// lblAutoDuplexing
//
this.lblAutoDuplexing.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.lblAutoDuplexing.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.lblAutoDuplexing.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblAutoDuplexing.Location = new System.Drawing.Point(30, 111);
this.lblAutoDuplexing.Margin = new System.Windows.Forms.Padding(2);
this.lblAutoDuplexing.Name = "lblAutoDuplexing";
this.lblAutoDuplexing.Size = new System.Drawing.Size(86, 19);
this.lblAutoDuplexing.TabIndex = 90;
this.lblAutoDuplexing.Text = "Auto Duplexing";
this.lblAutoDuplexing.TextAlignment = System.Drawing.StringAlignment.Far;
//
// btnDuplxOn
//
this.btnDuplxOn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnDuplxOn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnDuplxOn.Location = new System.Drawing.Point(123, 111);
this.btnDuplxOn.Margin = new System.Windows.Forms.Padding(2);
this.btnDuplxOn.Name = "btnDuplxOn";
this.btnDuplxOn.Size = new System.Drawing.Size(34, 19);
this.btnDuplxOn.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnDuplxOn.TabIndex = 89;
this.btnDuplxOn.Text = "ON";
this.btnDuplxOn.Click += new System.EventHandler(this.btnAdvDuplxOn_Click);
//
// btnWaterMarkOn
//
this.btnWaterMarkOn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnWaterMarkOn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnWaterMarkOn.Location = new System.Drawing.Point(123, 84);
this.btnWaterMarkOn.Margin = new System.Windows.Forms.Padding(2);
this.btnWaterMarkOn.Name = "btnWaterMarkOn";
this.btnWaterMarkOn.Size = new System.Drawing.Size(34, 19);
this.btnWaterMarkOn.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnWaterMarkOn.TabIndex = 88;
this.btnWaterMarkOn.Text = "ON";
this.btnWaterMarkOn.Click += new System.EventHandler(this.btnAdvWaterMarkOn_Click);
//
// cbxWaterMark
//
this.cbxWaterMark.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.docVersionConfigBindingSource, "Print_Watermark", true));
this.cbxWaterMark.DisplayMember = "Text";
this.cbxWaterMark.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.cbxWaterMark.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbxWaterMark.FormattingEnabled = true;
this.cbxWaterMark.Location = new System.Drawing.Point(202, 84);
this.cbxWaterMark.Margin = new System.Windows.Forms.Padding(2);
this.cbxWaterMark.Name = "cbxWaterMark";
this.cbxWaterMark.Size = new System.Drawing.Size(138, 21);
this.cbxWaterMark.TabIndex = 87;
this.cbxWaterMark.Visible = false;
this.cbxWaterMark.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxWaterMark.WatermarkText = "select watermark option";
//
// lblChgBars
//
this.lblChgBars.BackColor = System.Drawing.Color.Transparent;
//
//
//
this.lblChgBars.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.lblChgBars.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblChgBars.Location = new System.Drawing.Point(30, 58);
this.lblChgBars.Margin = new System.Windows.Forms.Padding(2);
this.lblChgBars.Name = "lblChgBars";
this.lblChgBars.Size = new System.Drawing.Size(86, 19);
this.lblChgBars.TabIndex = 85;
this.lblChgBars.Text = "Change Bars";
this.lblChgBars.TextAlignment = System.Drawing.StringAlignment.Far;
//
// btnChgBarOn
//
this.btnChgBarOn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnChgBarOn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnChgBarOn.Location = new System.Drawing.Point(123, 58);
this.btnChgBarOn.Margin = new System.Windows.Forms.Padding(2);
this.btnChgBarOn.Name = "btnChgBarOn";
this.btnChgBarOn.Size = new System.Drawing.Size(34, 19);
this.btnChgBarOn.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnChgBarOn.TabIndex = 84;
this.btnChgBarOn.Text = "ON";
this.btnChgBarOn.Click += new System.EventHandler(this.btnAvChgBarOn_Click);
//
// tbSettings
//
this.tbSettings.AttachedControl = this.tabControlPanel1;
this.tbSettings.Name = "tbSettings";
this.tbSettings.Text = "Settings";
this.tbSettings.Click += new System.EventHandler(this.tbSettings_Click);
//
// btnCreatePDF
//
this.btnCreatePDF.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnCreatePDF.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnCreatePDF.BackColor = System.Drawing.SystemColors.Control;
this.btnCreatePDF.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnCreatePDF.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnCreatePDF.Location = new System.Drawing.Point(5, 275);
this.btnCreatePDF.Margin = new System.Windows.Forms.Padding(2);
this.btnCreatePDF.Name = "btnCreatePDF";
this.btnCreatePDF.Size = new System.Drawing.Size(113, 37);
this.btnCreatePDF.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnCreatePDF.TabIndex = 1;
this.btnCreatePDF.Text = "Create PDF";
this.btnCreatePDF.Click += new System.EventHandler(this.btnCreatePDF_Click);
//
// btnCancel
//
this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnCancel.BackColor = System.Drawing.SystemColors.Control;
this.btnCancel.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnCancel.Location = new System.Drawing.Point(450, 275);
this.btnCancel.Margin = new System.Windows.Forms.Padding(2);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(100, 37);
this.btnCancel.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnCancel.TabIndex = 2;
this.btnCancel.Text = "Cancel";
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// cbxDebug
//
this.cbxDebug.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.cbxDebug.AutoSize = true;
this.cbxDebug.BackColor = System.Drawing.Color.Transparent;
this.cbxDebug.Checked = true;
this.cbxDebug.CheckState = System.Windows.Forms.CheckState.Checked;
this.cbxDebug.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysOverwritePDF", true));
this.cbxDebug.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxDebug.ForeColor = System.Drawing.SystemColors.ControlText;
this.cbxDebug.Location = new System.Drawing.Point(128, 273);
this.cbxDebug.Margin = new System.Windows.Forms.Padding(2);
this.cbxDebug.Name = "cbxDebug";
this.cbxDebug.Size = new System.Drawing.Size(115, 19);
this.cbxDebug.TabIndex = 98;
this.cbxDebug.Text = "Compare PDF";
this.cbxDebug.UseVisualStyleBackColor = false;
//
// cbxOrPgBrk
//
this.cbxOrPgBrk.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.cbxOrPgBrk.AutoSize = true;
this.cbxOrPgBrk.BackColor = System.Drawing.Color.Transparent;
this.cbxOrPgBrk.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysOverwritePDF", true));
this.cbxOrPgBrk.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxOrPgBrk.ForeColor = System.Drawing.SystemColors.ControlText;
this.cbxOrPgBrk.Location = new System.Drawing.Point(256, 273);
this.cbxOrPgBrk.Margin = new System.Windows.Forms.Padding(2);
this.cbxOrPgBrk.Name = "cbxOrPgBrk";
this.cbxOrPgBrk.Size = new System.Drawing.Size(191, 19);
this.cbxOrPgBrk.TabIndex = 99;
this.cbxOrPgBrk.Text = "Use Original Page Breaks";
this.cbxOrPgBrk.UseVisualStyleBackColor = false;
//
// superTooltip1
//
this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
//
// cbxCmpPRMSpfd
//
this.cbxCmpPRMSpfd.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.cbxCmpPRMSpfd.AutoSize = true;
this.cbxCmpPRMSpfd.BackColor = System.Drawing.Color.Transparent;
this.cbxCmpPRMSpfd.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysOverwritePDF", true));
this.cbxCmpPRMSpfd.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxCmpPRMSpfd.ForeColor = System.Drawing.SystemColors.ControlText;
this.cbxCmpPRMSpfd.Location = new System.Drawing.Point(281, 316);
this.cbxCmpPRMSpfd.Margin = new System.Windows.Forms.Padding(2);
this.cbxCmpPRMSpfd.Name = "cbxCmpPRMSpfd";
this.cbxCmpPRMSpfd.Size = new System.Drawing.Size(165, 17);
this.cbxCmpPRMSpfd.TabIndex = 100;
this.cbxCmpPRMSpfd.Text = "PROMS PDF to PROMS PDF";
this.cbxCmpPRMSpfd.UseVisualStyleBackColor = false;
this.cbxCmpPRMSpfd.Visible = false;
//
// cbxBlankPgsForDuplex
//
this.cbxBlankPgsForDuplex.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.cbxBlankPgsForDuplex.AutoSize = true;
this.cbxBlankPgsForDuplex.BackColor = System.Drawing.Color.Transparent;
this.cbxBlankPgsForDuplex.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysOverwritePDF", true));
this.cbxBlankPgsForDuplex.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbxBlankPgsForDuplex.ForeColor = System.Drawing.SystemColors.ControlText;
this.cbxBlankPgsForDuplex.Location = new System.Drawing.Point(125, 296);
this.cbxBlankPgsForDuplex.Margin = new System.Windows.Forms.Padding(2);
this.cbxBlankPgsForDuplex.Name = "cbxBlankPgsForDuplex";
this.cbxBlankPgsForDuplex.Size = new System.Drawing.Size(323, 19);
this.cbxBlankPgsForDuplex.TabIndex = 101;
this.cbxBlankPgsForDuplex.Text = "Add Blank Pages When Using Duplex Foldouts";
this.cbxBlankPgsForDuplex.UseVisualStyleBackColor = false;
//
// DlgPrintProcedure
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(554, 328);
this.ClientSize = new System.Drawing.Size(554, 327);
this.Controls.Add(this.cbxBlankPgsForDuplex);
this.Controls.Add(this.cbxCmpPRMSpfd);
this.Controls.Add(this.cbxOrPgBrk);
this.Controls.Add(this.cbxDebug);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnCreatePDF);
this.Controls.Add(this.tabControl1);
this.DoubleBuffered = true;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(2);
this.MaximizeBox = false;
@ -1290,5 +1313,6 @@ namespace VEPROMS
private DevComponents.Editors.ComboItem muLocText;
private DevComponents.Editors.ComboItem muLocID;
private DevComponents.DotNetBar.Controls.ProgressBarX pbPDFsStatus;
private System.Windows.Forms.CheckBox cbxBlankPgsForDuplex;
}
}

View File

@ -121,6 +121,7 @@ namespace VEPROMS
PrepForAllOrOne(false);
// don't open all PDFs if doing All Procedures
//cbxOpenAfterCreate2.Checked = dvi.DocVersionConfig.Print_AlwaysViewPDFAfterCreate;
cbxBlankPgsForDuplex.Checked = dvi.DocVersionConfig.Print_AddBlankPagesWhenUsingDuplexFoldouts;
}
private void PrepForAllOrOne(bool oneProcedure)
{
@ -156,6 +157,7 @@ namespace VEPROMS
HandleDocVersionSettings();
PrepForAllOrOne(true);
cbxOpenAfterCreate2.Checked = pi.MyDocVersion.DocVersionConfig.Print_AlwaysViewPDFAfterCreate;
cbxBlankPgsForDuplex.Checked = pi.MyDocVersion.DocVersionConfig.Print_AddBlankPagesWhenUsingDuplexFoldouts;
}
/// <summary>
/// RHM 20120925 Added so that the dialog would center over the PROMS window
@ -240,7 +242,7 @@ namespace VEPROMS
// default to using OriginalPageBreaks (16bit page breaks) if App.config is set
// to true:
cbxOrPgBrk.Visible = VlnSettings.OriginalPageBreak;
cbxOrPgBrk.Visible = VlnSettings.OriginalPageBreak && VlnSettings.DebugMode;
cbxOrPgBrk.Checked = false;
}
@ -514,7 +516,7 @@ namespace VEPROMS
MyProcedure = ProcedureInfo.GetItemAndChildrenByUnit(MyProcedure.ItemID, 0, MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave);
string myPDFPath = GetMultiunitPDFPath();
// 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, myPDFPath, 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),cbxBlankPgsForDuplex.Checked);
frmStatus.CloseWhenDone = true;
Application.DoEvents();
frmStatus.CancelStop = true;
@ -533,7 +535,7 @@ namespace VEPROMS
// 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);
// 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, PDFPath, cbd, txbPDFName.Text, new Point(Left, Bottom - 50), cbxBlankPgsForDuplex.Checked);
frmStatus.CloseWhenDone = true;
Application.DoEvents();
frmStatus.CancelStop = true;
@ -550,7 +552,7 @@ namespace VEPROMS
// this.Text = string.Format("Create PDF for {0} ({1} of {2})", myProc.DisplayNumber, ++i, n);
// RHM 20120925 Overlay the bottom of the dialog so that cancel button is covered.
MyProcedure = ProcedureInfo.GetItemAndChildren(MyProcedure.ItemID);
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, PDFPath, cbd, txbPDFName.Text, new Point(Left, Bottom - 50), cbxBlankPgsForDuplex.Checked);
frmStatus.CloseWhenDone = true;
Application.DoEvents();
frmStatus.CancelStop = true;
@ -611,7 +613,7 @@ namespace VEPROMS
else
MyProcedure = ProcedureInfo.GetItemAndChildren(MyProcedure.ItemID);
// 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, PDFPath, cbd, txbPDFName.Text, new Point(Left, Bottom - 50), cbxBlankPgsForDuplex.Checked);
frmStatus.ShowDialog();
this.Close();
ShowDebugFiles();