From 62028e030c1f06b74f5da18a6f9d8661d4f34727 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 20 Apr 2018 19:33:38 +0000 Subject: [PATCH] C2018-012 code cleanup and improved design of print dialog --- .../DlgPrintProcedure.Designer.cs | 1325 ++++++++--------- .../DlgPrintProcedure.cs | 206 ++- .../DlgPrintProcedure.resx | 8 +- 3 files changed, 686 insertions(+), 853 deletions(-) diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs b/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs index 403773df..61d6db8e 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs @@ -30,8 +30,6 @@ namespace VEPROMS { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DlgPrintProcedure)); - this.tabControl1 = new DevComponents.DotNetBar.TabControl(); - this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); this.btnPdfLocation = new DevComponents.DotNetBar.ButtonX(); this.gpnlDebug = new DevComponents.DotNetBar.Controls.GroupPanel(); this.cbxMetaFile = new System.Windows.Forms.CheckBox(); @@ -53,23 +51,6 @@ namespace VEPROMS this.txbPDFName = new DevComponents.DotNetBar.Controls.TextBoxX(); this.lblPDFFileName = new DevComponents.DotNetBar.LabelX(); this.lblPDFLoc = new DevComponents.DotNetBar.LabelX(); - this.tbGeneral = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel(); - this.ppGpbxCBType = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.rbCustom = new System.Windows.Forms.RadioButton(); - this.rbFormatDefault = new System.Windows.Forms.RadioButton(); - this.ppGpbxUserSpecCB = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.ppGpbxUserSpecTxt = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.label14 = new System.Windows.Forms.Label(); - this.ppTxbxChangeBarUserMsgTwo = new System.Windows.Forms.RichTextBox(); - this.label15 = new System.Windows.Forms.Label(); - this.ppTxbxChangeBarUserMsgOne = new System.Windows.Forms.RichTextBox(); - this.ppCmbxChgBarPos = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.label12 = new System.Windows.Forms.Label(); - this.ppCmbxChgBarTxtType = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - 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(); @@ -78,107 +59,54 @@ namespace VEPROMS this.muLocText = new DevComponents.Editors.ComboItem(); this.muLocID = new DevComponents.Editors.ComboItem(); this.lblWatermarkS = new DevComponents.DotNetBar.LabelX(); - this.btnWaterMarkOff = new DevComponents.DotNetBar.ButtonX(); - this.btnChgBarOff = new DevComponents.DotNetBar.ButtonX(); - this.btnDuplxOff = new DevComponents.DotNetBar.ButtonX(); - this.lblAutoDuplexing = new DevComponents.DotNetBar.LabelX(); - this.btnDuplxOn = new DevComponents.DotNetBar.ButtonX(); - this.btnWaterMarkOn = new DevComponents.DotNetBar.ButtonX(); this.cbxWaterMark = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.lblChgBars = new DevComponents.DotNetBar.LabelX(); - this.btnChgBarOn = new DevComponents.DotNetBar.ButtonX(); - this.tbSettings = new DevComponents.DotNetBar.TabItem(this.components); - this.cbxPROMSVersion = new System.Windows.Forms.CheckBox(); this.btnCreatePDF = new DevComponents.DotNetBar.ButtonX(); this.btnCancel = new DevComponents.DotNetBar.ButtonX(); this.DlgBrowseFolder = new System.Windows.Forms.FolderBrowserDialog(); this.cbxDebug = new System.Windows.Forms.CheckBox(); this.cbxOrPgBrk = new System.Windows.Forms.CheckBox(); this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); - this.cbxBlankPgsForDuplex = new System.Windows.Forms.CheckBox(); - this.cbxGeneratePlacekeeper = new System.Windows.Forms.CheckBox(); - this.cbxPDFLinks = new System.Windows.Forms.CheckBox(); this.cbxRemoveManualPageBreaks = new System.Windows.Forms.CheckBox(); this.cbxGenerateConActSum = new System.Windows.Forms.CheckBox(); - ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit(); - this.tabControl1.SuspendLayout(); - this.tabControlPanel3.SuspendLayout(); + this.labelX5 = new DevComponents.DotNetBar.LabelX(); + this.ppGpbxUserSpecCB = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.ppGpbxUserSpecTxt = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.label14 = new System.Windows.Forms.Label(); + this.ppTxbxChangeBarUserMsgTwo = new System.Windows.Forms.RichTextBox(); + this.label15 = new System.Windows.Forms.Label(); + this.ppTxbxChangeBarUserMsgOne = new System.Windows.Forms.RichTextBox(); + this.ppCmbxChgBarTxtType = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.lblCbTxtType = new System.Windows.Forms.Label(); + this.cbxOvrrideDefChgBars = new System.Windows.Forms.CheckBox(); + this.lblGeneratePlacekeeper = new DevComponents.DotNetBar.LabelX(); + this.swtbtnChgBar = new DevComponents.DotNetBar.Controls.SwitchButton(); + this.swtbtnWaterMark = new DevComponents.DotNetBar.Controls.SwitchButton(); + this.swtbtnGeneratePlacekeeper = new DevComponents.DotNetBar.Controls.SwitchButton(); + this.labelX3 = new DevComponents.DotNetBar.LabelX(); + this.swtbtnPROMSVersion = new DevComponents.DotNetBar.Controls.SwitchButton(); + this.labelX2 = new DevComponents.DotNetBar.LabelX(); + this.swtbtnBlankPgsForDuplex = new DevComponents.DotNetBar.Controls.SwitchButton(); + this.labelX1 = new DevComponents.DotNetBar.LabelX(); + this.swtbtnPDFLinks = new DevComponents.DotNetBar.Controls.SwitchButton(); + this.expandableSplitter1 = new DevComponents.DotNetBar.ExpandableSplitter(); + this.panelEx2 = new DevComponents.DotNetBar.PanelEx(); + this.expPrnSetting = new DevComponents.DotNetBar.ExpandablePanel(); this.gpnlDebug.SuspendLayout(); this.grpDateSelector.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).BeginInit(); - this.tabControlPanel2.SuspendLayout(); - this.ppGpbxCBType.SuspendLayout(); this.ppGpbxUserSpecCB.SuspendLayout(); this.ppGpbxUserSpecTxt.SuspendLayout(); - this.tabControlPanel1.SuspendLayout(); + this.panelEx2.SuspendLayout(); + this.expPrnSetting.SuspendLayout(); this.SuspendLayout(); // - // 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))); - 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.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"; - this.tabControl1.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold); - this.tabControl1.SelectedTabIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(619, 269); - this.tabControl1.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Document; - this.tabControl1.TabIndex = 0; - this.tabControl1.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; - this.tabControl1.Tabs.Add(this.tbGeneral); - this.tabControl1.Tabs.Add(this.tbSettings); - this.tabControl1.Tabs.Add(this.tbChangeBars); - this.tabControl1.Text = "tabControl1"; - // - // tabControlPanel3 - // - this.tabControlPanel3.AutoScroll = true; - this.tabControlPanel3.Controls.Add(this.btnPdfLocation); - this.tabControlPanel3.Controls.Add(this.gpnlDebug); - this.tabControlPanel3.Controls.Add(this.grpDateSelector); - this.tabControlPanel3.Controls.Add(this.txbReviewDate); - this.tabControlPanel3.Controls.Add(this.txbRevDate); - this.tabControlPanel3.Controls.Add(this.txbPDFLocation); - this.tabControlPanel3.Controls.Add(this.cbxOpenAfterCreate2); - this.tabControlPanel3.Controls.Add(this.cbxOverwritePDF2); - this.tabControlPanel3.Controls.Add(this.txbRevNum); - this.tabControlPanel3.Controls.Add(this.lblReviewDate); - this.tabControlPanel3.Controls.Add(this.lblRevDate); - this.tabControlPanel3.Controls.Add(this.lblRevNum); - this.tabControlPanel3.Controls.Add(this.txbPDFName); - this.tabControlPanel3.Controls.Add(this.lblPDFFileName); - this.tabControlPanel3.Controls.Add(this.lblPDFLoc); - this.tabControlPanel3.DisabledBackColor = System.Drawing.Color.Empty; - this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel3.Location = new System.Drawing.Point(0, 22); - this.tabControlPanel3.Margin = new System.Windows.Forms.Padding(2); - this.tabControlPanel3.Name = "tabControlPanel3"; - this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel3.Size = new System.Drawing.Size(619, 247); - this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); - 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))); - this.tabControlPanel3.Style.GradientAngle = 90; - this.tabControlPanel3.TabIndex = 3; - this.tabControlPanel3.TabItem = this.tbGeneral; - // // 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(594, 8); + this.btnPdfLocation.Location = new System.Drawing.Point(575, 29); this.btnPdfLocation.Name = "btnPdfLocation"; this.btnPdfLocation.Size = new System.Drawing.Size(20, 19); this.btnPdfLocation.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; @@ -194,7 +122,7 @@ namespace VEPROMS this.gpnlDebug.Controls.Add(this.cbxDebugText); this.gpnlDebug.Controls.Add(this.cbxDebugPagination); this.gpnlDebug.DisabledBackColor = System.Drawing.Color.Empty; - this.gpnlDebug.Location = new System.Drawing.Point(401, 75); + this.gpnlDebug.Location = new System.Drawing.Point(469, 126); this.gpnlDebug.Margin = new System.Windows.Forms.Padding(2); this.gpnlDebug.Name = "gpnlDebug"; this.gpnlDebug.Size = new System.Drawing.Size(90, 97); @@ -271,9 +199,8 @@ namespace VEPROMS this.grpDateSelector.CanvasColor = System.Drawing.SystemColors.Control; this.grpDateSelector.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.grpDateSelector.Controls.Add(this.calDateSelector); - this.grpDateSelector.Controls.Add(this.pbPDFsStatus); this.grpDateSelector.DisabledBackColor = System.Drawing.Color.Empty; - this.grpDateSelector.Location = new System.Drawing.Point(197, 75); + this.grpDateSelector.Location = new System.Drawing.Point(235, 92); this.grpDateSelector.Margin = new System.Windows.Forms.Padding(2); this.grpDateSelector.Name = "grpDateSelector"; this.grpDateSelector.Size = new System.Drawing.Size(195, 154); @@ -350,13 +277,15 @@ namespace VEPROMS // // pbPDFsStatus // + this.pbPDFsStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); // // // this.pbPDFsStatus.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.pbPDFsStatus.Location = new System.Drawing.Point(-197, 123); + this.pbPDFsStatus.Location = new System.Drawing.Point(8, 238); this.pbPDFsStatus.Name = "pbPDFsStatus"; - this.pbPDFsStatus.Size = new System.Drawing.Size(539, 23); + this.pbPDFsStatus.Size = new System.Drawing.Size(575, 23); this.pbPDFsStatus.TabIndex = 87; this.pbPDFsStatus.Text = "Procedures Converted to PDF"; this.pbPDFsStatus.Visible = false; @@ -368,7 +297,7 @@ namespace VEPROMS // this.txbReviewDate.Border.Class = "TextBoxBorder"; this.txbReviewDate.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txbReviewDate.Location = new System.Drawing.Point(102, 140); + this.txbReviewDate.Location = new System.Drawing.Point(115, 153); this.txbReviewDate.Margin = new System.Windows.Forms.Padding(2); this.txbReviewDate.Name = "txbReviewDate"; this.txbReviewDate.Size = new System.Drawing.Size(91, 20); @@ -383,7 +312,7 @@ namespace VEPROMS // this.txbRevDate.Border.Class = "TextBoxBorder"; this.txbRevDate.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txbRevDate.Location = new System.Drawing.Point(102, 107); + this.txbRevDate.Location = new System.Drawing.Point(115, 120); this.txbRevDate.Margin = new System.Windows.Forms.Padding(2); this.txbRevDate.Name = "txbRevDate"; this.txbRevDate.Size = new System.Drawing.Size(91, 20); @@ -400,24 +329,25 @@ namespace VEPROMS // this.txbPDFLocation.Border.Class = "TextBoxBorder"; this.txbPDFLocation.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txbPDFLocation.Location = new System.Drawing.Point(102, 8); + this.txbPDFLocation.Location = new System.Drawing.Point(30, 28); this.txbPDFLocation.Margin = new System.Windows.Forms.Padding(2); this.txbPDFLocation.Name = "txbPDFLocation"; - this.txbPDFLocation.Size = new System.Drawing.Size(487, 20); + this.txbPDFLocation.Size = new System.Drawing.Size(529, 20); this.txbPDFLocation.TabIndex = 81; this.txbPDFLocation.WatermarkText = "PDF Location"; this.txbPDFLocation.Leave += new System.EventHandler(this.txbPDFLocation_Leave); // // cbxOpenAfterCreate2 // + this.cbxOpenAfterCreate2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cbxOpenAfterCreate2.AutoSize = true; this.cbxOpenAfterCreate2.BackColor = System.Drawing.Color.Transparent; this.cbxOpenAfterCreate2.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysViewPDFAfterCreate", true)); - this.cbxOpenAfterCreate2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxOpenAfterCreate2.Location = new System.Drawing.Point(7, 220); + this.cbxOpenAfterCreate2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxOpenAfterCreate2.Location = new System.Drawing.Point(440, 92); this.cbxOpenAfterCreate2.Margin = new System.Windows.Forms.Padding(2); this.cbxOpenAfterCreate2.Name = "cbxOpenAfterCreate2"; - this.cbxOpenAfterCreate2.Size = new System.Drawing.Size(145, 19); + this.cbxOpenAfterCreate2.Size = new System.Drawing.Size(159, 20); this.cbxOpenAfterCreate2.TabIndex = 80; this.cbxOpenAfterCreate2.Text = "View PDF After Create"; this.cbxOpenAfterCreate2.UseVisualStyleBackColor = false; @@ -432,12 +362,12 @@ namespace VEPROMS this.cbxOverwritePDF2.AutoSize = true; this.cbxOverwritePDF2.BackColor = System.Drawing.Color.Transparent; this.cbxOverwritePDF2.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysOverwritePDF", true)); - this.cbxOverwritePDF2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxOverwritePDF2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cbxOverwritePDF2.ForeColor = System.Drawing.SystemColors.ControlText; - this.cbxOverwritePDF2.Location = new System.Drawing.Point(475, 39); + this.cbxOverwritePDF2.Location = new System.Drawing.Point(440, 61); this.cbxOverwritePDF2.Margin = new System.Windows.Forms.Padding(2); this.cbxOverwritePDF2.Name = "cbxOverwritePDF2"; - this.cbxOverwritePDF2.Size = new System.Drawing.Size(127, 19); + this.cbxOverwritePDF2.Size = new System.Drawing.Size(138, 20); this.cbxOverwritePDF2.TabIndex = 79; this.cbxOverwritePDF2.Text = "Overwrite PDF File"; this.cbxOverwritePDF2.UseVisualStyleBackColor = false; @@ -449,7 +379,7 @@ namespace VEPROMS // this.txbRevNum.Border.Class = "TextBoxBorder"; this.txbRevNum.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txbRevNum.Location = new System.Drawing.Point(102, 75); + this.txbRevNum.Location = new System.Drawing.Point(115, 88); this.txbRevNum.Margin = new System.Windows.Forms.Padding(2); this.txbRevNum.Name = "txbRevNum"; this.txbRevNum.Size = new System.Drawing.Size(91, 20); @@ -463,11 +393,11 @@ namespace VEPROMS // // this.lblReviewDate.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.lblReviewDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblReviewDate.Location = new System.Drawing.Point(7, 140); + this.lblReviewDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblReviewDate.Location = new System.Drawing.Point(8, 152); this.lblReviewDate.Margin = new System.Windows.Forms.Padding(2); this.lblReviewDate.Name = "lblReviewDate"; - this.lblReviewDate.Size = new System.Drawing.Size(86, 19); + this.lblReviewDate.Size = new System.Drawing.Size(103, 19); this.lblReviewDate.TabIndex = 72; this.lblReviewDate.Text = "Review Date"; this.lblReviewDate.TextAlignment = System.Drawing.StringAlignment.Far; @@ -479,11 +409,11 @@ namespace VEPROMS // // this.lblRevDate.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.lblRevDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblRevDate.Location = new System.Drawing.Point(7, 107); + this.lblRevDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblRevDate.Location = new System.Drawing.Point(8, 119); this.lblRevDate.Margin = new System.Windows.Forms.Padding(2); this.lblRevDate.Name = "lblRevDate"; - this.lblRevDate.Size = new System.Drawing.Size(86, 19); + this.lblRevDate.Size = new System.Drawing.Size(103, 19); this.lblRevDate.TabIndex = 71; this.lblRevDate.Text = "Revision Date"; this.lblRevDate.TextAlignment = System.Drawing.StringAlignment.Far; @@ -495,11 +425,11 @@ namespace VEPROMS // // this.lblRevNum.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.lblRevNum.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblRevNum.Location = new System.Drawing.Point(7, 75); + this.lblRevNum.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblRevNum.Location = new System.Drawing.Point(-2, 87); this.lblRevNum.Margin = new System.Windows.Forms.Padding(2); this.lblRevNum.Name = "lblRevNum"; - this.lblRevNum.Size = new System.Drawing.Size(86, 19); + this.lblRevNum.Size = new System.Drawing.Size(113, 19); this.lblRevNum.TabIndex = 70; this.lblRevNum.Text = "Revision Number"; this.lblRevNum.TextAlignment = System.Drawing.StringAlignment.Far; @@ -513,9 +443,9 @@ namespace VEPROMS // this.txbPDFName.Border.Class = "TextBoxBorder"; this.txbPDFName.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txbPDFName.Location = new System.Drawing.Point(102, 39); + this.txbPDFName.Location = new System.Drawing.Point(116, 61); this.txbPDFName.Name = "txbPDFName"; - this.txbPDFName.Size = new System.Drawing.Size(331, 20); + this.txbPDFName.Size = new System.Drawing.Size(314, 20); this.txbPDFName.TabIndex = 8; // // lblPDFFileName @@ -525,10 +455,10 @@ namespace VEPROMS // // this.lblPDFFileName.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.lblPDFFileName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblPDFFileName.Location = new System.Drawing.Point(7, 34); + this.lblPDFFileName.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblPDFFileName.Location = new System.Drawing.Point(11, 58); this.lblPDFFileName.Name = "lblPDFFileName"; - this.lblPDFFileName.Size = new System.Drawing.Size(86, 19); + this.lblPDFFileName.Size = new System.Drawing.Size(100, 19); this.lblPDFFileName.TabIndex = 7; this.lblPDFFileName.Text = "PDF Name"; this.lblPDFFileName.TextAlignment = System.Drawing.StringAlignment.Far; @@ -540,127 +470,238 @@ namespace VEPROMS // // this.lblPDFLoc.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.lblPDFLoc.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblPDFLoc.Location = new System.Drawing.Point(7, 3); + this.lblPDFLoc.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblPDFLoc.Location = new System.Drawing.Point(2, 8); this.lblPDFLoc.Margin = new System.Windows.Forms.Padding(2); this.lblPDFLoc.Name = "lblPDFLoc"; this.lblPDFLoc.Size = new System.Drawing.Size(86, 19); this.lblPDFLoc.TabIndex = 4; this.lblPDFLoc.Text = "PDF Location"; - this.lblPDFLoc.TextAlignment = System.Drawing.StringAlignment.Far; // - // tbGeneral + // lblMultiunitPdfLocation // - this.tbGeneral.AttachedControl = this.tabControlPanel3; - this.tbGeneral.Name = "tbGeneral"; - this.tbGeneral.Text = "General"; - // - // tabControlPanel2 - // - this.tabControlPanel2.Controls.Add(this.ppGpbxCBType); - this.tabControlPanel2.Controls.Add(this.ppGpbxUserSpecCB); - this.tabControlPanel2.DisabledBackColor = System.Drawing.Color.Empty; - this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel2.Location = new System.Drawing.Point(0, 22); - this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(2); - this.tabControlPanel2.Name = "tabControlPanel2"; - this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel2.Size = new System.Drawing.Size(619, 247); - this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); - 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))); - this.tabControlPanel2.Style.GradientAngle = 90; - this.tabControlPanel2.TabIndex = 2; - this.tabControlPanel2.TabItem = this.tbChangeBars; - // - // ppGpbxCBType - // - this.ppGpbxCBType.BackColor = System.Drawing.Color.Transparent; - this.ppGpbxCBType.CanvasColor = System.Drawing.SystemColors.Control; - this.ppGpbxCBType.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.ppGpbxCBType.Controls.Add(this.rbCustom); - this.ppGpbxCBType.Controls.Add(this.rbFormatDefault); - this.ppGpbxCBType.DisabledBackColor = System.Drawing.Color.Empty; - this.ppGpbxCBType.Location = new System.Drawing.Point(41, 10); - this.ppGpbxCBType.Margin = new System.Windows.Forms.Padding(2); - this.ppGpbxCBType.Name = "ppGpbxCBType"; - this.ppGpbxCBType.Size = new System.Drawing.Size(426, 45); + this.lblMultiunitPdfLocation.BackColor = System.Drawing.Color.Transparent; // // // - this.ppGpbxCBType.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.ppGpbxCBType.Style.BackColorGradientAngle = 90; - this.ppGpbxCBType.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.ppGpbxCBType.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxCBType.Style.BorderBottomWidth = 1; - this.ppGpbxCBType.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.ppGpbxCBType.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxCBType.Style.BorderLeftWidth = 1; - this.ppGpbxCBType.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxCBType.Style.BorderRightWidth = 1; - this.ppGpbxCBType.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxCBType.Style.BorderTopWidth = 1; - this.ppGpbxCBType.Style.CornerDiameter = 4; - this.ppGpbxCBType.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.ppGpbxCBType.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.ppGpbxCBType.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.ppGpbxCBType.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + this.lblMultiunitPdfLocation.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.lblMultiunitPdfLocation.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblMultiunitPdfLocation.Location = new System.Drawing.Point(8, 180); + this.lblMultiunitPdfLocation.Margin = new System.Windows.Forms.Padding(2); + this.lblMultiunitPdfLocation.Name = "lblMultiunitPdfLocation"; + this.lblMultiunitPdfLocation.Size = new System.Drawing.Size(156, 19); + this.lblMultiunitPdfLocation.TabIndex = 108; + this.lblMultiunitPdfLocation.Text = "Multi Unit PDF Location"; + this.lblMultiunitPdfLocation.Visible = false; + // + // cbxMultiunitPdfLocation + // + this.cbxMultiunitPdfLocation.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.docVersionConfigBindingSource, "Print_Watermark", true)); + this.cbxMultiunitPdfLocation.DisplayMember = "Text"; + this.cbxMultiunitPdfLocation.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.cbxMultiunitPdfLocation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbxMultiunitPdfLocation.FormattingEnabled = true; + this.cbxMultiunitPdfLocation.ItemHeight = 14; + this.cbxMultiunitPdfLocation.Items.AddRange(new object[] { + this.muLocNone, + this.muLocName, + this.muLocNumber, + this.muLocText, + this.muLocID}); + this.cbxMultiunitPdfLocation.Location = new System.Drawing.Point(44, 203); + this.cbxMultiunitPdfLocation.Margin = new System.Windows.Forms.Padding(2); + this.cbxMultiunitPdfLocation.Name = "cbxMultiunitPdfLocation"; + this.cbxMultiunitPdfLocation.Size = new System.Drawing.Size(319, 20); + this.cbxMultiunitPdfLocation.TabIndex = 107; + this.cbxMultiunitPdfLocation.Visible = false; + 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 PFD Unit Based Location"; + // + // muLocNone + // + this.muLocNone.Text = "None"; + // + // muLocName + // + this.muLocName.Text = "Unit Name"; + // + // muLocNumber + // + this.muLocNumber.Text = "Unit Number"; + // + // muLocText + // + this.muLocText.Text = "Unit Text"; + // + // muLocID + // + this.muLocID.Text = "Unit ID"; + // + // lblWatermarkS + // + this.lblWatermarkS.BackColor = System.Drawing.Color.Transparent; // // // - this.ppGpbxCBType.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.lblWatermarkS.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.lblWatermarkS.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblWatermarkS.Location = new System.Drawing.Point(93, 96); + this.lblWatermarkS.Margin = new System.Windows.Forms.Padding(2); + this.lblWatermarkS.Name = "lblWatermarkS"; + this.lblWatermarkS.Size = new System.Drawing.Size(79, 23); + this.lblWatermarkS.TabIndex = 106; + this.lblWatermarkS.Text = "Watermark"; + // + // 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.ItemHeight = 17; + this.cbxWaterMark.Location = new System.Drawing.Point(181, 99); + this.cbxWaterMark.Margin = new System.Windows.Forms.Padding(2); + this.cbxWaterMark.Name = "cbxWaterMark"; + this.cbxWaterMark.Size = new System.Drawing.Size(157, 23); + 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"; + // + // btnCreatePDF + // + this.btnCreatePDF.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + 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(11, 327); + this.btnCreatePDF.Margin = new System.Windows.Forms.Padding(2); + this.btnCreatePDF.Name = "btnCreatePDF"; + this.btnCreatePDF.Size = new System.Drawing.Size(133, 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.Top | 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(471, 327); + this.btnCancel.Margin = new System.Windows.Forms.Padding(2); + this.btnCancel.Name = "btnCancel"; + this.btnCancel.Size = new System.Drawing.Size(122, 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.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", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxDebug.ForeColor = System.Drawing.SystemColors.ControlText; + this.cbxDebug.Location = new System.Drawing.Point(11, 299); + this.cbxDebug.Margin = new System.Windows.Forms.Padding(2); + this.cbxDebug.Name = "cbxDebug"; + this.cbxDebug.Size = new System.Drawing.Size(113, 20); + 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.Bottom) + | 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.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxOrPgBrk.ForeColor = System.Drawing.SystemColors.ControlText; + this.cbxOrPgBrk.Location = new System.Drawing.Point(79, 254); + this.cbxOrPgBrk.Margin = new System.Windows.Forms.Padding(2); + this.cbxOrPgBrk.Name = "cbxOrPgBrk"; + this.cbxOrPgBrk.Size = new System.Drawing.Size(167, 19); + this.cbxOrPgBrk.TabIndex = 99; + this.cbxOrPgBrk.Text = "Use Original Page Breaks"; + this.cbxOrPgBrk.UseVisualStyleBackColor = false; + // + // superTooltip1 + // + this.superTooltip1.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray); + this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; + // + // cbxRemoveManualPageBreaks + // + this.cbxRemoveManualPageBreaks.AutoSize = true; + this.cbxRemoveManualPageBreaks.BackColor = System.Drawing.Color.Transparent; + this.cbxRemoveManualPageBreaks.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxRemoveManualPageBreaks.ForeColor = System.Drawing.SystemColors.ControlText; + this.cbxRemoveManualPageBreaks.Location = new System.Drawing.Point(144, 299); + this.cbxRemoveManualPageBreaks.Margin = new System.Windows.Forms.Padding(2); + this.cbxRemoveManualPageBreaks.Name = "cbxRemoveManualPageBreaks"; + this.cbxRemoveManualPageBreaks.Size = new System.Drawing.Size(350, 20); + this.cbxRemoveManualPageBreaks.TabIndex = 101; + this.cbxRemoveManualPageBreaks.Text = "Remove Trailing Hard Returns && Manual Page Breaks"; + this.cbxRemoveManualPageBreaks.UseVisualStyleBackColor = false; + // + // cbxGenerateConActSum + // + this.cbxGenerateConActSum.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Right))); + this.cbxGenerateConActSum.AutoSize = true; + this.cbxGenerateConActSum.BackColor = System.Drawing.Color.Transparent; + this.cbxGenerateConActSum.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxGenerateConActSum.ForeColor = System.Drawing.SystemColors.ControlText; + this.cbxGenerateConActSum.Location = new System.Drawing.Point(243, 256); + this.cbxGenerateConActSum.Margin = new System.Windows.Forms.Padding(2); + this.cbxGenerateConActSum.Name = "cbxGenerateConActSum"; + this.cbxGenerateConActSum.Size = new System.Drawing.Size(284, 17); + this.cbxGenerateConActSum.TabIndex = 102; + this.cbxGenerateConActSum.Text = "Generate Contiuous Action Summary (hidden but used)"; + this.cbxGenerateConActSum.UseVisualStyleBackColor = false; + this.cbxGenerateConActSum.Visible = false; + // + // labelX5 + // + this.labelX5.BackColor = System.Drawing.Color.Transparent; // // // - this.ppGpbxCBType.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.ppGpbxCBType.TabIndex = 54; - this.ppGpbxCBType.Text = "Type"; - // - // rbCustom - // - this.rbCustom.AutoSize = true; - this.rbCustom.Location = new System.Drawing.Point(197, 4); - this.rbCustom.Margin = new System.Windows.Forms.Padding(2); - this.rbCustom.Name = "rbCustom"; - this.rbCustom.Size = new System.Drawing.Size(175, 17); - this.rbCustom.TabIndex = 1; - this.rbCustom.TabStop = true; - this.rbCustom.Text = "Override Change Bar Text Type"; - this.rbCustom.UseVisualStyleBackColor = true; - this.rbCustom.Click += new System.EventHandler(this.rbCustom_Click); - // - // rbFormatDefault - // - this.rbFormatDefault.AutoSize = true; - this.rbFormatDefault.Location = new System.Drawing.Point(26, 4); - this.rbFormatDefault.Margin = new System.Windows.Forms.Padding(2); - this.rbFormatDefault.Name = "rbFormatDefault"; - this.rbFormatDefault.Size = new System.Drawing.Size(94, 17); - this.rbFormatDefault.TabIndex = 0; - this.rbFormatDefault.TabStop = true; - this.rbFormatDefault.Text = "Format Default"; - this.rbFormatDefault.UseVisualStyleBackColor = true; - this.rbFormatDefault.CheckedChanged += new System.EventHandler(this.rbFormatDefault_CheckedChanged); - this.rbFormatDefault.Click += new System.EventHandler(this.rbFormatDefault_Click); + this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.labelX5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.labelX5.Location = new System.Drawing.Point(92, 187); + this.labelX5.Name = "labelX5"; + this.labelX5.Size = new System.Drawing.Size(152, 23); + this.labelX5.TabIndex = 110; + this.labelX5.Text = "Change Bars"; // // ppGpbxUserSpecCB // + this.ppGpbxUserSpecCB.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.ppGpbxUserSpecCB.BackColor = System.Drawing.Color.Transparent; this.ppGpbxUserSpecCB.CanvasColor = System.Drawing.SystemColors.Control; this.ppGpbxUserSpecCB.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.ppGpbxUserSpecCB.Controls.Add(this.ppGpbxUserSpecTxt); - this.ppGpbxUserSpecCB.Controls.Add(this.ppCmbxChgBarPos); - this.ppGpbxUserSpecCB.Controls.Add(this.label12); this.ppGpbxUserSpecCB.Controls.Add(this.ppCmbxChgBarTxtType); - this.ppGpbxUserSpecCB.Controls.Add(this.label13); + this.ppGpbxUserSpecCB.Controls.Add(this.lblCbTxtType); + this.ppGpbxUserSpecCB.Controls.Add(this.cbxOvrrideDefChgBars); this.ppGpbxUserSpecCB.DisabledBackColor = System.Drawing.Color.Empty; - this.ppGpbxUserSpecCB.Location = new System.Drawing.Point(41, 68); + this.ppGpbxUserSpecCB.Enabled = false; + this.ppGpbxUserSpecCB.Location = new System.Drawing.Point(14, 215); this.ppGpbxUserSpecCB.Margin = new System.Windows.Forms.Padding(2); this.ppGpbxUserSpecCB.Name = "ppGpbxUserSpecCB"; - this.ppGpbxUserSpecCB.Size = new System.Drawing.Size(426, 130); + this.ppGpbxUserSpecCB.Size = new System.Drawing.Size(386, 148); // // // @@ -690,7 +731,7 @@ namespace VEPROMS // this.ppGpbxUserSpecCB.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ppGpbxUserSpecCB.TabIndex = 53; - this.ppGpbxUserSpecCB.Text = "Override Change Bar Text Type"; + this.ppGpbxUserSpecCB.Text = "Change Bar Settings"; // // ppGpbxUserSpecTxt // @@ -701,10 +742,11 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.Controls.Add(this.label15); this.ppGpbxUserSpecTxt.Controls.Add(this.ppTxbxChangeBarUserMsgOne); this.ppGpbxUserSpecTxt.DisabledBackColor = System.Drawing.Color.Empty; - this.ppGpbxUserSpecTxt.Location = new System.Drawing.Point(242, 14); + this.ppGpbxUserSpecTxt.Enabled = false; + this.ppGpbxUserSpecTxt.Location = new System.Drawing.Point(204, 31); this.ppGpbxUserSpecTxt.Margin = new System.Windows.Forms.Padding(2); this.ppGpbxUserSpecTxt.Name = "ppGpbxUserSpecTxt"; - this.ppGpbxUserSpecTxt.Size = new System.Drawing.Size(158, 85); + this.ppGpbxUserSpecTxt.Size = new System.Drawing.Size(174, 85); // // // @@ -742,7 +784,7 @@ namespace VEPROMS this.label14.Location = new System.Drawing.Point(34, 11); this.label14.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(48, 13); + this.label14.Size = new System.Drawing.Size(59, 16); this.label14.TabIndex = 4; this.label14.Text = "Line one"; // @@ -763,7 +805,7 @@ namespace VEPROMS this.label15.Location = new System.Drawing.Point(37, 41); this.label15.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(47, 13); + this.label15.Size = new System.Drawing.Size(56, 16); this.label15.TabIndex = 5; this.label15.Text = "Line two"; // @@ -778,493 +820,319 @@ namespace VEPROMS this.ppTxbxChangeBarUserMsgOne.TabIndex = 1; this.ppTxbxChangeBarUserMsgOne.Text = ""; // - // ppCmbxChgBarPos - // - this.ppCmbxChgBarPos.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.docVersionConfigBindingSource, "Print_ChangeBarLoc", true)); - this.ppCmbxChgBarPos.DisplayMember = "Text"; - this.ppCmbxChgBarPos.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.ppCmbxChgBarPos.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.ppCmbxChgBarPos.FormattingEnabled = true; - this.ppCmbxChgBarPos.ItemHeight = 14; - this.ppCmbxChgBarPos.Location = new System.Drawing.Point(82, 80); - this.ppCmbxChgBarPos.Margin = new System.Windows.Forms.Padding(2); - this.ppCmbxChgBarPos.Name = "ppCmbxChgBarPos"; - this.ppCmbxChgBarPos.Size = new System.Drawing.Size(135, 20); - this.ppCmbxChgBarPos.TabIndex = 48; - this.ppCmbxChgBarPos.Visible = false; - this.ppCmbxChgBarPos.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.ppCmbxChgBarPos.WatermarkText = "select change bar position"; - // - // label12 - // - this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(34, 82); - this.label12.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(44, 13); - this.label12.TabIndex = 9; - this.label12.Text = "Position"; - this.label12.Visible = false; - // // ppCmbxChgBarTxtType // this.ppCmbxChgBarTxtType.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.docVersionConfigBindingSource, "Print_ChangeBarText", true)); this.ppCmbxChgBarTxtType.DisplayMember = "Text"; this.ppCmbxChgBarTxtType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ppCmbxChgBarTxtType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ppCmbxChgBarTxtType.Enabled = false; this.ppCmbxChgBarTxtType.FormattingEnabled = true; - this.ppCmbxChgBarTxtType.ItemHeight = 14; - this.ppCmbxChgBarTxtType.Location = new System.Drawing.Point(82, 40); + this.ppCmbxChgBarTxtType.ItemHeight = 17; + this.ppCmbxChgBarTxtType.Location = new System.Drawing.Point(3, 64); this.ppCmbxChgBarTxtType.Margin = new System.Windows.Forms.Padding(2); this.ppCmbxChgBarTxtType.Name = "ppCmbxChgBarTxtType"; - this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(140, 20); + this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(185, 23); this.ppCmbxChgBarTxtType.TabIndex = 48; this.ppCmbxChgBarTxtType.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.ppCmbxChgBarTxtType.WatermarkText = "select change bar text type"; this.ppCmbxChgBarTxtType.SelectedIndexChanged += new System.EventHandler(this.ppCmbxChgBarTxtType_SelectedIndexChanged); // - // label13 - // - this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(25, 41); - this.label13.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(55, 13); - this.label13.TabIndex = 8; - this.label13.Text = "Text Type"; - // - // tbChangeBars - // - this.tbChangeBars.AttachedControl = this.tabControlPanel2; - this.tbChangeBars.Name = "tbChangeBars"; - this.tbChangeBars.Text = "Change Bars"; - this.tbChangeBars.Visible = false; - // - // tabControlPanel1 - // - this.tabControlPanel1.Controls.Add(this.lblMultiunitPdfLocation); - this.tabControlPanel1.Controls.Add(this.cbxMultiunitPdfLocation); - this.tabControlPanel1.Controls.Add(this.lblWatermarkS); - this.tabControlPanel1.Controls.Add(this.btnWaterMarkOff); - this.tabControlPanel1.Controls.Add(this.btnChgBarOff); - this.tabControlPanel1.Controls.Add(this.btnDuplxOff); - this.tabControlPanel1.Controls.Add(this.lblAutoDuplexing); - this.tabControlPanel1.Controls.Add(this.btnDuplxOn); - this.tabControlPanel1.Controls.Add(this.btnWaterMarkOn); - this.tabControlPanel1.Controls.Add(this.cbxWaterMark); - this.tabControlPanel1.Controls.Add(this.lblChgBars); - this.tabControlPanel1.Controls.Add(this.btnChgBarOn); - this.tabControlPanel1.DisabledBackColor = System.Drawing.Color.Empty; - 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); - this.tabControlPanel1.Name = "tabControlPanel1"; - this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel1.Size = new System.Drawing.Size(619, 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))); - this.tabControlPanel1.Style.GradientAngle = 90; - this.tabControlPanel1.TabIndex = 5; - this.tabControlPanel1.TabItem = this.tbSettings; - // - // lblMultiunitPdfLocation - // - this.lblMultiunitPdfLocation.BackColor = System.Drawing.Color.Transparent; - // - // - // - 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(26, 17); - 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 - // - this.cbxMultiunitPdfLocation.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.docVersionConfigBindingSource, "Print_Watermark", true)); - this.cbxMultiunitPdfLocation.DisplayMember = "Text"; - this.cbxMultiunitPdfLocation.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.cbxMultiunitPdfLocation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbxMultiunitPdfLocation.FormattingEnabled = true; - this.cbxMultiunitPdfLocation.ItemHeight = 14; - this.cbxMultiunitPdfLocation.Items.AddRange(new object[] { - this.muLocNone, - this.muLocName, - this.muLocNumber, - this.muLocText, - this.muLocID}); - this.cbxMultiunitPdfLocation.Location = new System.Drawing.Point(160, 17); - this.cbxMultiunitPdfLocation.Margin = new System.Windows.Forms.Padding(2); - this.cbxMultiunitPdfLocation.Name = "cbxMultiunitPdfLocation"; - this.cbxMultiunitPdfLocation.Size = new System.Drawing.Size(298, 20); - this.cbxMultiunitPdfLocation.TabIndex = 107; - this.cbxMultiunitPdfLocation.Visible = false; - 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"; - // - // muLocNone - // - this.muLocNone.Text = "None"; - // - // muLocName - // - this.muLocName.Text = "Unit Name"; - // - // muLocNumber - // - this.muLocNumber.Text = "Unit Number"; - // - // muLocText - // - this.muLocText.Text = "Unit Text"; - // - // muLocID - // - 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(26, 71); - 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; - // - // 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(160, 71); - 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(160, 45); - 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(160, 98); - 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(26, 98); - 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(119, 98); - 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(119, 71); - 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.ItemHeight = 14; - this.cbxWaterMark.Location = new System.Drawing.Point(198, 71); - this.cbxWaterMark.Margin = new System.Windows.Forms.Padding(2); - this.cbxWaterMark.Name = "cbxWaterMark"; - this.cbxWaterMark.Size = new System.Drawing.Size(138, 20); - 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(26, 45); - 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(119, 45); - 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"; - // - // cbxPROMSVersion - // - this.cbxPROMSVersion.Anchor = System.Windows.Forms.AnchorStyles.Bottom; - this.cbxPROMSVersion.AutoSize = true; - this.cbxPROMSVersion.BackColor = System.Drawing.Color.Transparent; - this.cbxPROMSVersion.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysOverwritePDF", true)); - this.cbxPROMSVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold); - this.cbxPROMSVersion.ForeColor = System.Drawing.SystemColors.ControlText; - this.cbxPROMSVersion.Location = new System.Drawing.Point(143, 349); - this.cbxPROMSVersion.Margin = new System.Windows.Forms.Padding(2); - this.cbxPROMSVersion.Name = "cbxPROMSVersion"; - this.cbxPROMSVersion.Size = new System.Drawing.Size(213, 19); - this.cbxPROMSVersion.TabIndex = 101; - this.cbxPROMSVersion.Text = "Show Proms Version Number"; - this.cbxPROMSVersion.UseVisualStyleBackColor = false; - // - // 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(2, 326); - 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(519, 326); - this.btnCancel.Margin = new System.Windows.Forms.Padding(2); - this.btnCancel.Name = "btnCancel"; - this.btnCancel.Size = new System.Drawing.Size(102, 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(8, 292); - 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(427, 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.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray); - this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; - // - // 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(143, 330); - this.cbxBlankPgsForDuplex.Margin = new System.Windows.Forms.Padding(2); - this.cbxBlankPgsForDuplex.Name = "cbxBlankPgsForDuplex"; - this.cbxBlankPgsForDuplex.Size = new System.Drawing.Size(262, 19); - this.cbxBlankPgsForDuplex.TabIndex = 101; - this.cbxBlankPgsForDuplex.Text = "Add Blank Pages For Duplex Printing\r\n"; - this.cbxBlankPgsForDuplex.UseVisualStyleBackColor = false; - // - // cbxGeneratePlacekeeper - // - this.cbxGeneratePlacekeeper.Anchor = System.Windows.Forms.AnchorStyles.Bottom; - this.cbxGeneratePlacekeeper.AutoSize = true; - this.cbxGeneratePlacekeeper.BackColor = System.Drawing.Color.Transparent; - this.cbxGeneratePlacekeeper.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxGeneratePlacekeeper.ForeColor = System.Drawing.SystemColors.ControlText; - this.cbxGeneratePlacekeeper.Location = new System.Drawing.Point(143, 273); - this.cbxGeneratePlacekeeper.Margin = new System.Windows.Forms.Padding(2); - this.cbxGeneratePlacekeeper.Name = "cbxGeneratePlacekeeper"; - this.cbxGeneratePlacekeeper.Size = new System.Drawing.Size(169, 19); - this.cbxGeneratePlacekeeper.TabIndex = 101; - this.cbxGeneratePlacekeeper.Text = "Generate Placekeeper"; - this.cbxGeneratePlacekeeper.UseVisualStyleBackColor = false; - // - // cbxPDFLinks - // - this.cbxPDFLinks.Anchor = System.Windows.Forms.AnchorStyles.Bottom; - this.cbxPDFLinks.AutoSize = true; - this.cbxPDFLinks.BackColor = System.Drawing.Color.Transparent; - this.cbxPDFLinks.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxPDFLinks.ForeColor = System.Drawing.SystemColors.ControlText; - this.cbxPDFLinks.Location = new System.Drawing.Point(143, 311); - this.cbxPDFLinks.Margin = new System.Windows.Forms.Padding(2); - this.cbxPDFLinks.Name = "cbxPDFLinks"; - this.cbxPDFLinks.Size = new System.Drawing.Size(91, 19); - this.cbxPDFLinks.TabIndex = 101; - this.cbxPDFLinks.Text = "PDF Links"; - this.cbxPDFLinks.UseVisualStyleBackColor = false; - // - // cbxRemoveManualPageBreaks - // - this.cbxRemoveManualPageBreaks.Anchor = System.Windows.Forms.AnchorStyles.Bottom; - this.cbxRemoveManualPageBreaks.AutoSize = true; - this.cbxRemoveManualPageBreaks.BackColor = System.Drawing.Color.Transparent; - this.cbxRemoveManualPageBreaks.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxRemoveManualPageBreaks.ForeColor = System.Drawing.SystemColors.ControlText; - this.cbxRemoveManualPageBreaks.Location = new System.Drawing.Point(143, 292); - this.cbxRemoveManualPageBreaks.Margin = new System.Windows.Forms.Padding(2); - this.cbxRemoveManualPageBreaks.Name = "cbxRemoveManualPageBreaks"; - this.cbxRemoveManualPageBreaks.Size = new System.Drawing.Size(370, 19); - this.cbxRemoveManualPageBreaks.TabIndex = 101; - this.cbxRemoveManualPageBreaks.Text = "Remove Trailing Hard Returns && Manual Page Breaks"; - this.cbxRemoveManualPageBreaks.UseVisualStyleBackColor = false; - // - // cbxGenerateConActSum - // - this.cbxGenerateConActSum.Anchor = System.Windows.Forms.AnchorStyles.Bottom; - this.cbxGenerateConActSum.AutoSize = true; - this.cbxGenerateConActSum.BackColor = System.Drawing.Color.Transparent; - this.cbxGenerateConActSum.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxGenerateConActSum.ForeColor = System.Drawing.SystemColors.ControlText; - this.cbxGenerateConActSum.Location = new System.Drawing.Point(248, 292); - this.cbxGenerateConActSum.Margin = new System.Windows.Forms.Padding(2); - this.cbxGenerateConActSum.Name = "cbxGenerateConActSum"; - this.cbxGenerateConActSum.Size = new System.Drawing.Size(260, 19); - this.cbxGenerateConActSum.TabIndex = 102; - this.cbxGenerateConActSum.Text = "Generate Contiuous Action Summary"; - this.cbxGenerateConActSum.UseVisualStyleBackColor = false; - this.cbxGenerateConActSum.Visible = false; + // lblCbTxtType + // + this.lblCbTxtType.AutoSize = true; + this.lblCbTxtType.Enabled = false; + this.lblCbTxtType.Location = new System.Drawing.Point(2, 43); + this.lblCbTxtType.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.lblCbTxtType.Name = "lblCbTxtType"; + this.lblCbTxtType.Size = new System.Drawing.Size(72, 16); + this.lblCbTxtType.TabIndex = 8; + this.lblCbTxtType.Text = "Text Type:"; + this.lblCbTxtType.TextAlign = System.Drawing.ContentAlignment.BottomLeft; + // + // cbxOvrrideDefChgBars + // + this.cbxOvrrideDefChgBars.AutoSize = true; + this.cbxOvrrideDefChgBars.BackColor = System.Drawing.Color.Transparent; + this.cbxOvrrideDefChgBars.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cbxOvrrideDefChgBars.ForeColor = System.Drawing.SystemColors.ControlText; + this.cbxOvrrideDefChgBars.Location = new System.Drawing.Point(5, 6); + this.cbxOvrrideDefChgBars.Margin = new System.Windows.Forms.Padding(2); + this.cbxOvrrideDefChgBars.Name = "cbxOvrrideDefChgBars"; + this.cbxOvrrideDefChgBars.Size = new System.Drawing.Size(221, 20); + this.cbxOvrrideDefChgBars.TabIndex = 79; + this.cbxOvrrideDefChgBars.Text = "Overwrite Change Bar Text Type"; + this.cbxOvrrideDefChgBars.UseVisualStyleBackColor = false; + this.cbxOvrrideDefChgBars.CheckStateChanged += new System.EventHandler(this.cbxOvrrideDefChgBars_CheckStateChanged); + // + // lblGeneratePlacekeeper + // + this.lblGeneratePlacekeeper.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.lblGeneratePlacekeeper.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.lblGeneratePlacekeeper.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblGeneratePlacekeeper.Location = new System.Drawing.Point(93, 155); + this.lblGeneratePlacekeeper.Name = "lblGeneratePlacekeeper"; + this.lblGeneratePlacekeeper.Size = new System.Drawing.Size(152, 23); + this.lblGeneratePlacekeeper.TabIndex = 110; + this.lblGeneratePlacekeeper.Text = "Generate Placekeeper"; + this.lblGeneratePlacekeeper.Visible = false; + // + // swtbtnChgBar + // + // + // + // + this.swtbtnChgBar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.swtbtnChgBar.Location = new System.Drawing.Point(19, 187); + this.swtbtnChgBar.Name = "swtbtnChgBar"; + this.swtbtnChgBar.Size = new System.Drawing.Size(66, 22); + this.swtbtnChgBar.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.swtbtnChgBar.SwitchClickTogglesValue = true; + this.swtbtnChgBar.TabIndex = 109; + this.swtbtnChgBar.ValueChanged += new System.EventHandler(this.swtbtnChgBar_ValueChanged); + // + // swtbtnWaterMark + // + // + // + // + this.swtbtnWaterMark.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.swtbtnWaterMark.Location = new System.Drawing.Point(20, 97); + this.swtbtnWaterMark.Name = "swtbtnWaterMark"; + this.swtbtnWaterMark.Size = new System.Drawing.Size(66, 22); + this.swtbtnWaterMark.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.swtbtnWaterMark.SwitchClickTogglesValue = true; + this.swtbtnWaterMark.TabIndex = 109; + this.swtbtnWaterMark.ValueChanged += new System.EventHandler(this.swtbtnWaterMark_ValueChanged); + // + // swtbtnGeneratePlacekeeper + // + // + // + // + this.swtbtnGeneratePlacekeeper.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.swtbtnGeneratePlacekeeper.Location = new System.Drawing.Point(20, 156); + this.swtbtnGeneratePlacekeeper.Name = "swtbtnGeneratePlacekeeper"; + this.swtbtnGeneratePlacekeeper.Size = new System.Drawing.Size(66, 22); + this.swtbtnGeneratePlacekeeper.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.swtbtnGeneratePlacekeeper.SwitchClickTogglesValue = true; + this.swtbtnGeneratePlacekeeper.TabIndex = 109; + this.swtbtnGeneratePlacekeeper.Visible = false; + // + // labelX3 + // + this.labelX3.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.labelX3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.labelX3.Location = new System.Drawing.Point(93, 126); + this.labelX3.Name = "labelX3"; + this.labelX3.Size = new System.Drawing.Size(245, 23); + this.labelX3.TabIndex = 110; + this.labelX3.Text = "Show PROMS Version Number"; + // + // swtbtnPROMSVersion + // + // + // + // + this.swtbtnPROMSVersion.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.swtbtnPROMSVersion.Location = new System.Drawing.Point(20, 126); + this.swtbtnPROMSVersion.Name = "swtbtnPROMSVersion"; + this.swtbtnPROMSVersion.Size = new System.Drawing.Size(66, 22); + this.swtbtnPROMSVersion.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.swtbtnPROMSVersion.SwitchClickTogglesValue = true; + this.swtbtnPROMSVersion.TabIndex = 109; + // + // labelX2 + // + this.labelX2.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.labelX2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.labelX2.Location = new System.Drawing.Point(93, 68); + this.labelX2.Name = "labelX2"; + this.labelX2.Size = new System.Drawing.Size(245, 23); + this.labelX2.TabIndex = 110; + this.labelX2.Text = "Add Blank Pages For Duplex Printing"; + // + // swtbtnBlankPgsForDuplex + // + // + // + // + this.swtbtnBlankPgsForDuplex.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.swtbtnBlankPgsForDuplex.Location = new System.Drawing.Point(20, 68); + this.swtbtnBlankPgsForDuplex.Name = "swtbtnBlankPgsForDuplex"; + this.swtbtnBlankPgsForDuplex.Size = new System.Drawing.Size(66, 22); + this.swtbtnBlankPgsForDuplex.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.swtbtnBlankPgsForDuplex.SwitchClickTogglesValue = true; + this.swtbtnBlankPgsForDuplex.TabIndex = 109; + // + // labelX1 + // + this.labelX1.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.labelX1.Location = new System.Drawing.Point(93, 39); + this.labelX1.Name = "labelX1"; + this.labelX1.Size = new System.Drawing.Size(112, 23); + this.labelX1.TabIndex = 108; + this.labelX1.Text = "PDF Links"; + // + // swtbtnPDFLinks + // + // + // + // + this.swtbtnPDFLinks.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.swtbtnPDFLinks.Location = new System.Drawing.Point(20, 39); + this.swtbtnPDFLinks.Name = "swtbtnPDFLinks"; + this.swtbtnPDFLinks.Size = new System.Drawing.Size(66, 22); + this.swtbtnPDFLinks.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.swtbtnPDFLinks.SwitchClickTogglesValue = true; + this.swtbtnPDFLinks.TabIndex = 107; + // + // expandableSplitter1 + // + this.expandableSplitter1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); + this.expandableSplitter1.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.expandableSplitter1.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.expandableSplitter1.Dock = System.Windows.Forms.DockStyle.Right; + this.expandableSplitter1.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); + this.expandableSplitter1.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.expandableSplitter1.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.expandableSplitter1.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; + this.expandableSplitter1.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.expandableSplitter1.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; + this.expandableSplitter1.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); + this.expandableSplitter1.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; + this.expandableSplitter1.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61))))); + this.expandableSplitter1.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94))))); + this.expandableSplitter1.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2; + this.expandableSplitter1.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground; + this.expandableSplitter1.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); + this.expandableSplitter1.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.expandableSplitter1.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.expandableSplitter1.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; + this.expandableSplitter1.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); + this.expandableSplitter1.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.expandableSplitter1.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); + this.expandableSplitter1.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; + this.expandableSplitter1.Location = new System.Drawing.Point(604, 0); + this.expandableSplitter1.Name = "expandableSplitter1"; + this.expandableSplitter1.Size = new System.Drawing.Size(6, 374); + this.expandableSplitter1.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; + this.expandableSplitter1.TabIndex = 107; + this.expandableSplitter1.TabStop = false; + // + // panelEx2 + // + this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control; + this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.panelEx2.Controls.Add(this.gpnlDebug); + this.panelEx2.Controls.Add(this.cbxMultiunitPdfLocation); + this.panelEx2.Controls.Add(this.pbPDFsStatus); + this.panelEx2.Controls.Add(this.lblMultiunitPdfLocation); + this.panelEx2.Controls.Add(this.btnPdfLocation); + this.panelEx2.Controls.Add(this.grpDateSelector); + this.panelEx2.Controls.Add(this.txbReviewDate); + this.panelEx2.Controls.Add(this.btnCreatePDF); + this.panelEx2.Controls.Add(this.txbPDFLocation); + this.panelEx2.Controls.Add(this.txbRevDate); + this.panelEx2.Controls.Add(this.cbxGenerateConActSum); + this.panelEx2.Controls.Add(this.lblPDFLoc); + this.panelEx2.Controls.Add(this.cbxOpenAfterCreate2); + this.panelEx2.Controls.Add(this.txbPDFName); + this.panelEx2.Controls.Add(this.btnCancel); + this.panelEx2.Controls.Add(this.cbxOrPgBrk); + this.panelEx2.Controls.Add(this.txbRevNum); + this.panelEx2.Controls.Add(this.cbxOverwritePDF2); + this.panelEx2.Controls.Add(this.lblReviewDate); + this.panelEx2.Controls.Add(this.cbxDebug); + this.panelEx2.Controls.Add(this.lblPDFFileName); + this.panelEx2.Controls.Add(this.lblRevDate); + this.panelEx2.Controls.Add(this.lblRevNum); + this.panelEx2.Controls.Add(this.cbxRemoveManualPageBreaks); + this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty; + this.panelEx2.Dock = System.Windows.Forms.DockStyle.Fill; + this.panelEx2.Location = new System.Drawing.Point(0, 0); + this.panelEx2.Name = "panelEx2"; + this.panelEx2.Size = new System.Drawing.Size(604, 374); + this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center; + this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.panelEx2.Style.GradientAngle = 90; + this.panelEx2.TabIndex = 108; + // + // expPrnSetting + // + this.expPrnSetting.CanvasColor = System.Drawing.SystemColors.Control; + this.expPrnSetting.CollapseDirection = DevComponents.DotNetBar.eCollapseDirection.LeftToRight; + this.expPrnSetting.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.expPrnSetting.Controls.Add(this.ppGpbxUserSpecCB); + this.expPrnSetting.Controls.Add(this.labelX5); + this.expPrnSetting.Controls.Add(this.cbxWaterMark); + this.expPrnSetting.Controls.Add(this.lblGeneratePlacekeeper); + this.expPrnSetting.Controls.Add(this.swtbtnChgBar); + this.expPrnSetting.Controls.Add(this.swtbtnWaterMark); + this.expPrnSetting.Controls.Add(this.lblWatermarkS); + this.expPrnSetting.Controls.Add(this.swtbtnGeneratePlacekeeper); + this.expPrnSetting.Controls.Add(this.labelX3); + this.expPrnSetting.Controls.Add(this.swtbtnPDFLinks); + this.expPrnSetting.Controls.Add(this.swtbtnPROMSVersion); + this.expPrnSetting.Controls.Add(this.labelX1); + this.expPrnSetting.Controls.Add(this.labelX2); + this.expPrnSetting.Controls.Add(this.swtbtnBlankPgsForDuplex); + this.expPrnSetting.DisabledBackColor = System.Drawing.Color.Empty; + this.expPrnSetting.Dock = System.Windows.Forms.DockStyle.Right; + this.expPrnSetting.ExpandOnTitleClick = true; + this.expPrnSetting.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.expPrnSetting.HideControlsWhenCollapsed = true; + this.expPrnSetting.Location = new System.Drawing.Point(610, 0); + this.expPrnSetting.Name = "expPrnSetting"; + this.expPrnSetting.Size = new System.Drawing.Size(411, 374); + this.expPrnSetting.Style.Alignment = System.Drawing.StringAlignment.Center; + this.expPrnSetting.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.expPrnSetting.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.expPrnSetting.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.expPrnSetting.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder; + this.expPrnSetting.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; + this.expPrnSetting.Style.GradientAngle = 90; + this.expPrnSetting.TabIndex = 112; + this.expPrnSetting.TitleStyle.Alignment = System.Drawing.StringAlignment.Center; + this.expPrnSetting.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.expPrnSetting.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.expPrnSetting.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.RaisedInner; + this.expPrnSetting.TitleStyle.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.expPrnSetting.TitleStyle.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.expPrnSetting.TitleStyle.GradientAngle = 90; + this.expPrnSetting.TitleText = "Additional Settings"; + this.expPrnSetting.ExpandedChanging += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.expPrnSetting_ExpandedChanging); + this.expPrnSetting.ExpandedChanged += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.expPrnSetting_ExpandedChanged); // // 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(623, 367); - this.Controls.Add(this.cbxPROMSVersion); - this.Controls.Add(this.cbxGenerateConActSum); - this.Controls.Add(this.cbxGeneratePlacekeeper); - this.Controls.Add(this.cbxPDFLinks); - this.Controls.Add(this.cbxRemoveManualPageBreaks); - this.Controls.Add(this.cbxBlankPgsForDuplex); - 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.ClientSize = new System.Drawing.Size(1021, 374); + this.Controls.Add(this.panelEx2); + this.Controls.Add(this.expandableSplitter1); + this.Controls.Add(this.expPrnSetting); this.DoubleBuffered = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Margin = new System.Windows.Forms.Padding(2); @@ -1275,37 +1143,26 @@ namespace VEPROMS this.Text = "Create PDF"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.DlgPrintProcedure_FormClosed); this.Load += new System.EventHandler(this.DlgPrintProcedure_Load); - ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit(); - this.tabControl1.ResumeLayout(false); - this.tabControlPanel3.ResumeLayout(false); - this.tabControlPanel3.PerformLayout(); this.gpnlDebug.ResumeLayout(false); this.gpnlDebug.PerformLayout(); this.grpDateSelector.ResumeLayout(false); this.grpDateSelector.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).EndInit(); - this.tabControlPanel2.ResumeLayout(false); - this.ppGpbxCBType.ResumeLayout(false); - this.ppGpbxCBType.PerformLayout(); this.ppGpbxUserSpecCB.ResumeLayout(false); this.ppGpbxUserSpecCB.PerformLayout(); this.ppGpbxUserSpecTxt.ResumeLayout(false); this.ppGpbxUserSpecTxt.PerformLayout(); - this.tabControlPanel1.ResumeLayout(false); + this.panelEx2.ResumeLayout(false); + this.panelEx2.PerformLayout(); + this.expPrnSetting.ResumeLayout(false); this.ResumeLayout(false); - this.PerformLayout(); } #endregion - private DevComponents.DotNetBar.TabControl tabControl1; private DevComponents.DotNetBar.ButtonX btnCreatePDF; - private DevComponents.DotNetBar.TabControlPanel tabControlPanel2; - private DevComponents.DotNetBar.TabItem tbChangeBars; private DevComponents.DotNetBar.ButtonX btnCancel; - private DevComponents.DotNetBar.TabControlPanel tabControlPanel3; - private DevComponents.DotNetBar.TabItem tbGeneral; private DevComponents.DotNetBar.LabelX lblPDFLoc; private System.Windows.Forms.FolderBrowserDialog DlgBrowseFolder; private DevComponents.DotNetBar.Controls.TextBoxX txbRevNum; @@ -1316,38 +1173,15 @@ namespace VEPROMS private DevComponents.DotNetBar.LabelX lblPDFFileName; private System.Windows.Forms.CheckBox cbxOverwritePDF2; private System.Windows.Forms.CheckBox cbxOpenAfterCreate2; - private DevComponents.DotNetBar.TabControlPanel tabControlPanel1; - private DevComponents.DotNetBar.ButtonX btnWaterMarkOff; - private DevComponents.DotNetBar.ButtonX btnChgBarOff; - private DevComponents.DotNetBar.ButtonX btnDuplxOff; - private DevComponents.DotNetBar.LabelX lblAutoDuplexing; - private DevComponents.DotNetBar.ButtonX btnDuplxOn; - private DevComponents.DotNetBar.ButtonX btnWaterMarkOn; private DevComponents.DotNetBar.Controls.ComboBoxEx cbxWaterMark; - private DevComponents.DotNetBar.LabelX lblChgBars; - private DevComponents.DotNetBar.ButtonX btnChgBarOn; - private DevComponents.DotNetBar.TabItem tbSettings; - private DevComponents.DotNetBar.Controls.GroupPanel ppGpbxUserSpecCB; - private DevComponents.DotNetBar.Controls.GroupPanel ppGpbxUserSpecTxt; - private System.Windows.Forms.Label label14; - private System.Windows.Forms.RichTextBox ppTxbxChangeBarUserMsgTwo; - private System.Windows.Forms.Label label15; - private System.Windows.Forms.RichTextBox ppTxbxChangeBarUserMsgOne; - private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxChgBarPos; - private System.Windows.Forms.Label label12; - private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxChgBarTxtType; private System.Windows.Forms.BindingSource docVersionConfigBindingSource; private DevComponents.DotNetBar.Controls.TextBoxX txbPDFLocation; private System.Windows.Forms.CheckBox cbxDebug; private DevComponents.DotNetBar.Controls.TextBoxX txbRevDate; private DevComponents.DotNetBar.Controls.TextBoxX txbReviewDate; private DevComponents.DotNetBar.LabelX lblWatermarkS; - private DevComponents.DotNetBar.Controls.GroupPanel ppGpbxCBType; - private System.Windows.Forms.RadioButton rbCustom; - private System.Windows.Forms.RadioButton rbFormatDefault; private DevComponents.Editors.DateTimeAdv.MonthCalendarAdv calDateSelector; private DevComponents.DotNetBar.Controls.GroupPanel grpDateSelector; - private System.Windows.Forms.Label label13; private DevComponents.DotNetBar.Controls.GroupPanel gpnlDebug; private System.Windows.Forms.CheckBox cbxDebugText; private System.Windows.Forms.CheckBox cbxDebugPagination; @@ -1361,13 +1195,32 @@ namespace VEPROMS private DevComponents.Editors.ComboItem muLocText; private DevComponents.Editors.ComboItem muLocID; private DevComponents.DotNetBar.Controls.ProgressBarX pbPDFsStatus; - private System.Windows.Forms.CheckBox cbxBlankPgsForDuplex; - private System.Windows.Forms.CheckBox cbxGeneratePlacekeeper; - private System.Windows.Forms.CheckBox cbxPDFLinks; private System.Windows.Forms.CheckBox cbxRemoveManualPageBreaks; private DevComponents.DotNetBar.ButtonX btnPdfLocation; private System.Windows.Forms.CheckBox cbxGenerateConActSum; - private System.Windows.Forms.CheckBox cbxMetaFile; - private System.Windows.Forms.CheckBox cbxPROMSVersion; + private System.Windows.Forms.CheckBox cbxMetaFile; + private DevComponents.DotNetBar.ExpandableSplitter expandableSplitter1; + private DevComponents.DotNetBar.PanelEx panelEx2; + private DevComponents.DotNetBar.Controls.GroupPanel ppGpbxUserSpecCB; + private DevComponents.DotNetBar.Controls.GroupPanel ppGpbxUserSpecTxt; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.RichTextBox ppTxbxChangeBarUserMsgTwo; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.RichTextBox ppTxbxChangeBarUserMsgOne; + private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxChgBarTxtType; + private System.Windows.Forms.Label lblCbTxtType; + private DevComponents.DotNetBar.LabelX labelX5; + private DevComponents.DotNetBar.LabelX lblGeneratePlacekeeper; + private DevComponents.DotNetBar.Controls.SwitchButton swtbtnChgBar; + private DevComponents.DotNetBar.Controls.SwitchButton swtbtnWaterMark; + private DevComponents.DotNetBar.Controls.SwitchButton swtbtnGeneratePlacekeeper; + private DevComponents.DotNetBar.LabelX labelX3; + private DevComponents.DotNetBar.Controls.SwitchButton swtbtnPROMSVersion; + private DevComponents.DotNetBar.LabelX labelX2; + private DevComponents.DotNetBar.Controls.SwitchButton swtbtnBlankPgsForDuplex; + private DevComponents.DotNetBar.LabelX labelX1; + private DevComponents.DotNetBar.Controls.SwitchButton swtbtnPDFLinks; + private System.Windows.Forms.CheckBox cbxOvrrideDefChgBars; + private DevComponents.DotNetBar.ExpandablePanel expPrnSetting; } } diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs index 9313ce0b..d3bb5bc5 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs @@ -17,7 +17,10 @@ namespace VEPROMS { public bool SaveLinks { - get { return cbxPDFLinks.Checked; } + get + { + return swtbtnPDFLinks.Value; + } } public bool RemoveTrailingHardReturnsAndManualPageBreaks { @@ -132,13 +135,14 @@ namespace VEPROMS MyProcedure = dvi.Procedures[0].MyProcedure; // B2017-188: Don't allow user to uncheck the checkbox for printing blank pages if procedure has supplemental information // This change was made to each of the DlgPrintProcedure methods. - if (_MyProcedure!=null && _MyProcedure.ProcHasSupInfoData) cbxBlankPgsForDuplex.Enabled = false; + if (_MyProcedure != null && _MyProcedure.ProcHasSupInfoData) swtbtnBlankPgsForDuplex.Enabled = false; btnCreatePDF.Text = "Create PDFs"; HandleDocVersionSettings(); PrepForAllOrOne(false); Rtf2iTextSharp.DoingComparison = cbxDebug.Checked; // RHM20150506 Multiline ItemID TextBox // don't open all PDFs if doing All Procedures //cbxOpenAfterCreate2.Checked = dvi.DocVersionConfig.Print_AlwaysViewPDFAfterCreate; + expPrnSetting.Expanded = swtbtnBlankPgsForDuplex.Value || swtbtnChgBar.Value || swtbtnGeneratePlacekeeper.Value || swtbtnPDFLinks.Value || swtbtnPROMSVersion.Value || swtbtnWaterMark.Value; } public DlgPrintProcedure(DocVersionInfo dvi) { @@ -147,14 +151,14 @@ namespace VEPROMS _AllProcedures = true; _DocVersionConfig = dvi.DocVersionConfig; _DocVersionInfo = dvi; - cbxBlankPgsForDuplex.Checked = dvi.DocVersionConfig.Print_AddBlankPagesWhenUsingDuplexFoldouts; + swtbtnBlankPgsForDuplex.Value = dvi.DocVersionConfig.Print_AddBlankPagesWhenUsingDuplexFoldouts; MyProcedure = dvi.Procedures[0].MyProcedure; - if (_MyProcedure != null && _MyProcedure.ProcHasSupInfoData) cbxBlankPgsForDuplex.Enabled = false; + if (_MyProcedure != null && _MyProcedure.ProcHasSupInfoData) swtbtnBlankPgsForDuplex.Enabled = false; btnCreatePDF.Text = "Create PDFs"; HandleDocVersionSettings(); PrepForAllOrOne(false); // don't open all PDFs if doing All Procedures - //cbxOpenAfterCreate2.Checked = dvi.DocVersionConfig.Print_AlwaysViewPDFAfterCreate; + expPrnSetting.Expanded = swtbtnBlankPgsForDuplex.Value || swtbtnChgBar.Value || swtbtnGeneratePlacekeeper.Value || swtbtnPDFLinks.Value || swtbtnPROMSVersion.Value || swtbtnWaterMark.Value; } private void PrepForAllOrOne(bool oneProcedure) { @@ -167,9 +171,9 @@ namespace VEPROMS cbxOverwritePDF2.Visible = oneProcedure; cbxOverwritePDF2.Checked = true; gpnlDebug.Visible = Volian.Base.Library.VlnSettings.DebugMode; - cbxGeneratePlacekeeper.Checked = false; + swtbtnGeneratePlacekeeper.Value = false; cbxGenerateConActSum.Checked = false; - cbxGeneratePlacekeeper.Visible = oneProcedure && + swtbtnGeneratePlacekeeper.Visible = lblGeneratePlacekeeper.Visible = oneProcedure && ((MyProcedure.ActiveFormat.PlantFormat.FormatData.PurchaseOptions & E_PurchaseOptions.AutoPlacekeeper) == E_PurchaseOptions.AutoPlacekeeper); } private string _UnitNumber; @@ -184,18 +188,21 @@ namespace VEPROMS get { return _UnitIndex; } set { _UnitIndex = value; } } + + // C2018-012 - Code Cleanup - redesigned the Print Dialog to include a sliding panel and remplaced check boxes with ON/OFF switches public DlgPrintProcedure(ProcedureInfo pi) { InitializeComponent(); _AllProcedures = false; _DocVersionConfig = pi.MyDocVersion.DocVersionConfig; - cbxBlankPgsForDuplex.Checked = pi.MyDocVersion.DocVersionConfig.Print_AddBlankPagesWhenUsingDuplexFoldouts; + swtbtnBlankPgsForDuplex.Value = pi.MyDocVersion.DocVersionConfig.Print_AddBlankPagesWhenUsingDuplexFoldouts; MyProcedure = pi; - if (_MyProcedure != null && _MyProcedure.ProcHasSupInfoData) cbxBlankPgsForDuplex.Enabled = false; + if (_MyProcedure != null && _MyProcedure.ProcHasSupInfoData) swtbtnBlankPgsForDuplex.Enabled = false; btnCreatePDF.Text = "Create PDF"; HandleDocVersionSettings(); PrepForAllOrOne(true); cbxOpenAfterCreate2.Checked = pi.MyDocVersion.DocVersionConfig.Print_AlwaysViewPDFAfterCreate; + expPrnSetting.Expanded = swtbtnBlankPgsForDuplex.Value || swtbtnChgBar.Value || swtbtnGeneratePlacekeeper.Value || swtbtnPDFLinks.Value || swtbtnPROMSVersion.Value || swtbtnWaterMark.Value; } public DlgPrintProcedure(ProcedureInfo pi, bool automatic) // RHM20150506 Multiline ItemID TextBox { @@ -204,13 +211,14 @@ namespace VEPROMS Rtf2iTextSharp.DoingComparison = cbxDebug.Checked; _AllProcedures = false; _DocVersionConfig = pi.MyDocVersion.DocVersionConfig; - cbxBlankPgsForDuplex.Checked = pi.MyDocVersion.DocVersionConfig.Print_AddBlankPagesWhenUsingDuplexFoldouts; + swtbtnBlankPgsForDuplex.Value = pi.MyDocVersion.DocVersionConfig.Print_AddBlankPagesWhenUsingDuplexFoldouts; MyProcedure = pi; - if (_MyProcedure != null && _MyProcedure.ProcHasSupInfoData) cbxBlankPgsForDuplex.Enabled = false; + if (_MyProcedure != null && _MyProcedure.ProcHasSupInfoData) swtbtnBlankPgsForDuplex.Enabled = false; btnCreatePDF.Text = "Create PDF"; HandleDocVersionSettings(); PrepForAllOrOne(true); cbxOpenAfterCreate2.Checked = pi.MyDocVersion.DocVersionConfig.Print_AlwaysViewPDFAfterCreate; + expPrnSetting.Expanded = swtbtnBlankPgsForDuplex.Value || swtbtnChgBar.Value || swtbtnGeneratePlacekeeper.Value || swtbtnPDFLinks.Value || swtbtnPROMSVersion.Value || swtbtnWaterMark.Value; } /// /// RHM 20120925 Added so that the dialog would center over the PROMS window @@ -231,26 +239,13 @@ namespace VEPROMS if (txbPDFLocation.Text == null || txbPDFLocation.Text.Length == 0 || !Directory.Exists(txbPDFLocation.Text)) txbPDFLocation.Text = VlnSettings.TemporaryFolder; SetCompareVisibility(); - // if the default setting is 'SelectBeforePrinting', put up a message box to determine whether the user - // wants change bars. If not, 'Change Bar' on the Setting tab is 'OFF' and no Change bar tab. - // If yes, the Change bar tab is the selected tab. + // if the default setting is 'SelectBeforePrinting', expand the Additional Print Settings panel if (_DocVersionConfig.Print_ChangeBar == PrintChangeBar.SelectBeforePrinting) { - DialogResult dr = DialogResult.Yes; - if(!Automatic) - dr = MessageBox.Show("Do you want change bars?", "Change Bars", MessageBoxButtons.YesNo); - if (dr == DialogResult.Yes) - { - btnChgBarOn.PerformClick(); - if(!Automatic) tabControl1.SelectedTab = tbChangeBars; - rbFormatDefault.PerformClick(); - rbFormatDefault.Checked = true; // default to 'Format Default' + swtbtnChgBar.Value = false; + cbxOvrrideDefChgBars.Checked = false; + expPrnSetting.Expanded = true; } - else - { - btnChgBarOff.PerformClick(); - } - } } private void GetDocVersionSettings() @@ -265,32 +260,33 @@ namespace VEPROMS cbxOpenAfterCreate2.Checked = _DocVersionConfig.Print_AlwaysViewPDFAfterCreate; // Changebars on/off if (_DocVersionConfig.Print_ChangeBar == PrintChangeBar.Without) - btnChgBarOff.PerformClick(); + swtbtnChgBar.Value = false; else - btnChgBarOn.PerformClick(); + swtbtnChgBar.Value = true; // Watermark on/off if (_DocVersionConfig.Print_Watermark == PrintWatermark.None) - btnWaterMarkOff.PerformClick(); + swtbtnWaterMark.Value = false; else - btnWaterMarkOn.PerformClick(); - // Auto Duplexing on/off + swtbtnWaterMark.Value = true; + // Auto Duplexing on/off - Auto duplex was used only by Point Beach formats These buttons were removed from the dialog + // There was not print coding to support this format flag - if ((_MyProcedure.ActiveParent as DocVersionInfo).ActiveFormat.PlantFormat.FormatData.PrintData.AllowDuplex) - { - lblAutoDuplexing.Visible = true; - btnDuplxOff.Visible = true; - btnDuplxOn.Visible = true; - if (_DocVersionConfig.Print_DisableDuplex) - btnDuplxOff.PerformClick(); - else - btnDuplxOn.PerformClick(); - } - else - { - lblAutoDuplexing.Visible = false; - btnDuplxOff.Visible = false; - btnDuplxOn.Visible = false; - } + //if ((_MyProcedure.ActiveParent as DocVersionInfo).ActiveFormat.PlantFormat.FormatData.PrintData.AllowDuplex) + //{ + // lblAutoDuplexing.Visible = true; + // btnDuplxOff.Visible = true; + // btnDuplxOn.Visible = true; + // if (_DocVersionConfig.Print_DisableDuplex) + // btnDuplxOff.PerformClick(); + // else + // btnDuplxOn.PerformClick(); + //} + //else + //{ + // lblAutoDuplexing.Visible = false; + // btnDuplxOff.Visible = false; + // btnDuplxOn.Visible = false; + //} SetCompareVisibility(); // default to using OriginalPageBreaks (16bit page breaks) if App.config is set @@ -427,73 +423,30 @@ namespace VEPROMS this.Close(); } - private void btnAvChgBarOn_Click(object sender, EventArgs e) + private void swtbtnChgBar_ValueChanged(object sender, EventArgs e) { - if (!btnChgBarOn.Checked) + if (swtbtnChgBar.Value) { - btnChgBarOn.Checked = true; - btnChgBarOff.Checked = false; - tbChangeBars.Visible = true; - // to set which radio button (Format default or Custom) is checked, look at config data + ppGpbxUserSpecCB.Enabled = true; switch (_DocVersionConfig.Print_ChangeBar) { case PrintChangeBar.WithUserSpecified: - rbCustom.Checked = true; + cbxOvrrideDefChgBars.Checked = true; break; case PrintChangeBar.SelectBeforePrinting: case PrintChangeBar.WithDefault: default: - rbFormatDefault.Checked = true; + cbxOvrrideDefChgBars.Checked = false; break; } } - } - private void btnAvChgBarOff_Click(object sender, EventArgs e) - { - if (!btnChgBarOff.Checked) - { - btnChgBarOff.Checked = true; - btnChgBarOn.Checked = false; - tbChangeBars.Visible = false; - } + else + ppGpbxUserSpecCB.Enabled = false; } - private void btnAdvDuplxOn_Click(object sender, EventArgs e) + private void swtbtnWaterMark_ValueChanged(object sender, EventArgs e) { - if (!btnDuplxOn.Checked) - { - btnDuplxOn.Checked = true; - btnDuplxOff.Checked = false; - } - } - - private void btnAdvDuplxOff_Click(object sender, EventArgs e) - { - if (!btnDuplxOff.Checked) - { - btnDuplxOff.Checked = true; ; - btnDuplxOn.Checked = false; - } - } - - private void btnAdvWaterMarkOn_Click(object sender, EventArgs e) - { - if (!btnWaterMarkOn.Checked) - { - btnWaterMarkOn.Checked = true; - btnWaterMarkOff.Checked = false; - cbxWaterMark.Visible = true; - } - } - - private void btnAdvWaterMarkOff_Click(object sender, EventArgs e) - { - if (!btnWaterMarkOff.Checked) - { - btnWaterMarkOff.Checked = true; - btnWaterMarkOn.Checked = false; - cbxWaterMark.Visible = false; - } + cbxWaterMark.Visible = swtbtnWaterMark.Value; } private void txbPDFLocation_Leave(object sender, EventArgs e) @@ -540,7 +493,7 @@ namespace VEPROMS _MyProcedure = value; // if procedure has supplemental information, the automatially check the add blank pages for duplex printing if (_MyProcedure.ProcHasSupInfoData) - cbxBlankPgsForDuplex.Checked = true; + swtbtnBlankPgsForDuplex.Value = true; } } private int _SelectedSlave = 0; @@ -581,7 +534,7 @@ namespace VEPROMS CreateDebugFiles(); // If file exists, determine if overwrite checkbox allows overwrite, if not prompt. Volian.Print.Library.Rtf2Pdf.PdfDebug = cbxDebug.Checked; - PrintWatermark pw = (btnWaterMarkOn.Checked) ? (PrintWatermark)cbxWaterMark.SelectedValue : PrintWatermark.None; + PrintWatermark pw = (swtbtnWaterMark.Value) ? (PrintWatermark)cbxWaterMark.SelectedValue : PrintWatermark.None; // Determine change bar settings. First get from config & then see if override from dialog. // Also check that format allows override. ChangeBarDefinition cbd = DetermineChangeBarSettings(); @@ -609,7 +562,7 @@ namespace VEPROMS // 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), - cbxBlankPgsForDuplex.Checked, _AllProcedures || Automatic, Prefix, SaveLinks, RemoveTrailingHardReturnsAndManualPageBreaks, cbxPROMSVersion.Checked);//C2018-009 print PROMS version + swtbtnBlankPgsForDuplex.Value, _AllProcedures || Automatic, Prefix, SaveLinks, RemoveTrailingHardReturnsAndManualPageBreaks, swtbtnPROMSVersion.Value);//C2018-009 print PROMS version frmStatus.CloseWhenDone = true; Application.DoEvents(); frmStatus.CancelStop = true; @@ -632,7 +585,7 @@ namespace VEPROMS // B2016-249 Output Procedure to folder associated with Parent Child frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNumAndDate, pw.ToString(), cbxDebug.Checked, cbxOrPgBrk.Checked, cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, GetMultiunitPDFPath(), cbd, txbPDFName.Text, new Point(Left, Bottom - 50), - cbxBlankPgsForDuplex.Checked, _AllProcedures || Automatic, Prefix, SaveLinks, RemoveTrailingHardReturnsAndManualPageBreaks, cbxPROMSVersion.Checked);//C2018-009 print PROMS version + swtbtnBlankPgsForDuplex.Value, _AllProcedures || Automatic, Prefix, SaveLinks, RemoveTrailingHardReturnsAndManualPageBreaks, swtbtnPROMSVersion.Value);//C2018-009 print PROMS version frmStatus.CloseWhenDone = true; Application.DoEvents(); frmStatus.CancelStop = true; @@ -658,7 +611,7 @@ namespace VEPROMS // B2016-249 Output Procedure to folder associated with Parent Child frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNumAndDate, pw.ToString(), cbxDebug.Checked, cbxOrPgBrk.Checked, cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, GetMultiunitPDFPath(), cbd, txbPDFName.Text, - new Point(Left, Bottom - 50), cbxBlankPgsForDuplex.Checked, _AllProcedures || Automatic, Prefix, SaveLinks, RemoveTrailingHardReturnsAndManualPageBreaks, cbxPROMSVersion.Checked);//C2018-009 print PROMS version + new Point(Left, Bottom - 50), swtbtnBlankPgsForDuplex.Value, _AllProcedures || Automatic, Prefix, SaveLinks, RemoveTrailingHardReturnsAndManualPageBreaks, swtbtnPROMSVersion.Value);//C2018-009 print PROMS version frmStatus.CloseWhenDone = true; Application.DoEvents(); frmStatus.CancelStop = true; @@ -734,7 +687,7 @@ namespace VEPROMS // If file exists, determine if overwrite checkbox allows overwrite, if not prompt. Volian.Print.Library.Rtf2Pdf.PdfDebug = cbxDebug.Checked; - PrintWatermark pw = (btnWaterMarkOn.Checked) ? (PrintWatermark)cbxWaterMark.SelectedValue : PrintWatermark.None; + PrintWatermark pw = (swtbtnWaterMark.Value) ? (PrintWatermark)cbxWaterMark.SelectedValue : PrintWatermark.None; // Determine change bar settings. First get from config & then see if override from dialog. // Also check that format allows override. ChangeBarDefinition cbd = DetermineChangeBarSettings(); @@ -748,8 +701,8 @@ namespace VEPROMS // B2016-249 Output Procedure to folder associated with Parent Child frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNumAndDate, pw.ToString(), cbxDebug.Checked, cbxOrPgBrk.Checked, cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, GetMultiunitPDFPath(), cbd, txbPDFName.Text, new Point(Left, Bottom - 50), - cbxBlankPgsForDuplex.Checked, _AllProcedures || Automatic,Prefix,SaveLinks,RemoveTrailingHardReturnsAndManualPageBreaks,cbxPROMSVersion.Checked); //C2018-009 print PROMS version - frmStatus.MakePlaceKeeper = cbxGeneratePlacekeeper.Checked; + swtbtnBlankPgsForDuplex.Value, _AllProcedures || Automatic,Prefix,SaveLinks,RemoveTrailingHardReturnsAndManualPageBreaks,swtbtnPROMSVersion.Value); //C2018-009 print PROMS version + frmStatus.MakePlaceKeeper = swtbtnGeneratePlacekeeper.Value; frmStatus.MakeContinuousActionSummary = cbxGenerateConActSum.Checked; if (Automatic && cbxGenerateConActSum.Checked) frmStatus.OnlyShowContinuousActionSummary = true; @@ -775,7 +728,7 @@ namespace VEPROMS ChangeBarDefinition cbd = new ChangeBarDefinition(); // if the dialog has 'without change bar' selected, then just set without and return - if (btnChgBarOff.Checked) + if (!swtbtnChgBar.Value) { cbd.MyChangeBarType = PrintChangeBar.Without; return cbd; @@ -783,7 +736,7 @@ namespace VEPROMS // Get settings from dialog because these are used to set the initial dialog values and // any changes from user overrides the initial settings. ChangeBarData changeBarData = MyProcedure.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData; - if (rbFormatDefault.Checked || _DocVersionConfig == null || _DocVersionConfig.Print_ChangeBar == PrintChangeBar.WithDefault) + if (!cbxOvrrideDefChgBars.Checked || _DocVersionConfig == null || _DocVersionConfig.Print_ChangeBar == PrintChangeBar.WithDefault) { cbd.MyChangeBarType = PrintChangeBar.WithDefault; cbd.MyChangeBarText = changeBarData.ChangeBarMessage == "ChgID" ? PrintChangeBarText.ChgID : @@ -791,7 +744,7 @@ namespace VEPROMS changeBarData.ChangeBarMessage == "None" ? PrintChangeBarText.None : changeBarData.ChangeBarMessage == "RevNum" ? PrintChangeBarText.RevNum : PrintChangeBarText.UserDef; } - else if (rbCustom.Checked || _DocVersionConfig.Print_ChangeBar == PrintChangeBar.WithUserSpecified) + else if (cbxOvrrideDefChgBars.Checked || _DocVersionConfig.Print_ChangeBar == PrintChangeBar.WithUserSpecified) { cbd.MyChangeBarLoc = _DocVersionConfig.Print_ChangeBarLoc; // (PrintChangeBarLoc)ppCmbxChgBarPos.SelectedIndex; cbd.MyChangeBarText = (PrintChangeBarText)ppCmbxChgBarTxtType.SelectedIndex; @@ -873,11 +826,15 @@ namespace VEPROMS private void SetCustomControls(bool enabled) { - ppCmbxChgBarPos.Enabled = enabled; ppCmbxChgBarTxtType.Enabled = enabled; + lblCbTxtType.Enabled = enabled; ppTxbxChangeBarUserMsgOne.Enabled = enabled; ppTxbxChangeBarUserMsgTwo.Enabled = enabled; } + private void cbxOvrrideDefChgBars_CheckStateChanged(object sender, EventArgs e) + { + SetCustomControls(cbxOvrrideDefChgBars.Checked); + } private void rbCustom_Click(object sender, EventArgs e) { @@ -972,6 +929,29 @@ namespace VEPROMS itm.Save(); } } + + private void expPrnSetting_ExpandedChanged(object sender, DevComponents.DotNetBar.ExpandedChangeEventArgs e) + { + if (expPrnSetting.Expanded) + this.Size = new Size(this.Size.Width + (expPrnSetting.Size.Width - expPrnSetting.TitlePanel.Size.Height), this.Size.Height); + //else + // this.Size = new Size(this.Size.Width-(expPrnSetting.Size.Width-expPrnSetting.TitlePanel.Size.Height), this.Size.Height); + //Refresh(); + } + + private void expPrnSetting_ExpandedChanging(object sender, DevComponents.DotNetBar.ExpandedChangeEventArgs e) + { + if (expPrnSetting.Expanded) + //this.Size = new Size(this.Size.Width+(expPrnSetting.Size.Width-expPrnSetting.TitlePanel.Size.Height), this.Size.Height); + //else + this.Size = new Size(this.Size.Width-(expPrnSetting.Size.Width-expPrnSetting.TitlePanel.Size.Height), this.Size.Height); + //Refresh(); + + } + + + + //private void cbxDebug_CheckedChanged(object sender, EventArgs e) //{ // cbxCmpPRMSpfd.Visible = cbxDebug.Checked; diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx b/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx index bfc08f3e..51dd39e6 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx @@ -134,15 +134,15 @@ 321, 17 - - 321, 17 - 153, 17 549, 17 + + 40 + AAABAA4AMDAQAAEABABoBgAA5gAAACAgEAABAAQA6AIAAE4HAAAYGBAAAQAEAOgBAAA2CgAAEBAQAAEA @@ -2056,4 +2056,4 @@ AACAAwAAgAMAAIADAACAAwAAgAMAAIADAACAAwAAgAMAAIADAAA= - + \ No newline at end of file