diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs b/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs index 9f572719..dbdc5c68 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs @@ -32,6 +32,7 @@ namespace VEPROMS System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DlgPrintProcedure)); this.tabControl1 = new DevComponents.DotNetBar.TabControl(); this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); + this.btnPdfLocation = new DevComponents.DotNetBar.ButtonX(); this.pbPDFsStatus = new DevComponents.DotNetBar.Controls.ProgressBarX(); this.gpnlDebug = new DevComponents.DotNetBar.Controls.GroupPanel(); this.cbxDebugText = new System.Windows.Forms.CheckBox(); @@ -52,6 +53,25 @@ namespace VEPROMS this.lblPDFFileName = new DevComponents.DotNetBar.LabelX(); this.lblPDFLoc = new DevComponents.DotNetBar.LabelX(); this.tbGeneral = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel(); + this.lblMultiunitPdfLocation = new DevComponents.DotNetBar.LabelX(); + this.cbxMultiunitPdfLocation = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.muLocNone = new DevComponents.Editors.ComboItem(); + this.muLocName = new DevComponents.Editors.ComboItem(); + this.muLocNumber = new DevComponents.Editors.ComboItem(); + this.muLocText = new DevComponents.Editors.ComboItem(); + this.muLocID = new DevComponents.Editors.ComboItem(); + this.lblWatermarkS = new DevComponents.DotNetBar.LabelX(); + this.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.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel(); this.ppGpbxCBType = new DevComponents.DotNetBar.Controls.GroupPanel(); this.rbCustom = new System.Windows.Forms.RadioButton(); @@ -67,28 +87,6 @@ namespace VEPROMS 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(); - this.muLocName = new DevComponents.Editors.ComboItem(); - this.muLocNumber = new DevComponents.Editors.ComboItem(); - this.muLocText = new DevComponents.Editors.ComboItem(); - this.muLocID = new DevComponents.Editors.ComboItem(); - this.lblWatermarkS = new DevComponents.DotNetBar.LabelX(); - this.txbPdfLocationS = new DevComponents.DotNetBar.Controls.TextBoxX(); - this.btnPdfLocation = new DevComponents.DotNetBar.ButtonX(); - this.lblPdfLocS = 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.btnCreatePDF = new DevComponents.DotNetBar.ButtonX(); this.btnCancel = new DevComponents.DotNetBar.ButtonX(); this.DlgBrowseFolder = new System.Windows.Forms.FolderBrowserDialog(); @@ -104,29 +102,29 @@ namespace VEPROMS this.gpnlDebug.SuspendLayout(); this.grpDateSelector.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).BeginInit(); + this.tabControlPanel1.SuspendLayout(); this.tabControlPanel2.SuspendLayout(); this.ppGpbxCBType.SuspendLayout(); this.ppGpbxUserSpecCB.SuspendLayout(); this.ppGpbxUserSpecTxt.SuspendLayout(); - this.tabControlPanel1.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.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.tabControlPanel1); this.tabControl1.Controls.Add(this.tabControlPanel2); - this.tabControl1.Location = new System.Drawing.Point(2, 0); - this.tabControl1.Margin = new System.Windows.Forms.Padding(2); + this.tabControl1.Location = new System.Drawing.Point(3, 0); + this.tabControl1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 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(613, 271); + this.tabControl1.Size = new System.Drawing.Size(817, 334); this.tabControl1.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Document; this.tabControl1.TabIndex = 0; this.tabControl1.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; @@ -138,6 +136,7 @@ namespace VEPROMS // tabControlPanel3 // this.tabControlPanel3.AutoScroll = true; + this.tabControlPanel3.Controls.Add(this.btnPdfLocation); this.tabControlPanel3.Controls.Add(this.pbPDFsStatus); this.tabControlPanel3.Controls.Add(this.gpnlDebug); this.tabControlPanel3.Controls.Add(this.grpDateSelector); @@ -154,30 +153,45 @@ namespace VEPROMS this.tabControlPanel3.Controls.Add(this.lblPDFFileName); this.tabControlPanel3.Controls.Add(this.lblPDFLoc); 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.Location = new System.Drawing.Point(0, 24); + this.tabControlPanel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tabControlPanel3.Name = "tabControlPanel3"; this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel3.Size = new System.Drawing.Size(613, 249); + this.tabControlPanel3.Size = new System.Drawing.Size(817, 310); 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.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(770, 9); + this.btnPdfLocation.Margin = new System.Windows.Forms.Padding(4); + this.btnPdfLocation.Name = "btnPdfLocation"; + this.btnPdfLocation.Size = new System.Drawing.Size(27, 23); + this.btnPdfLocation.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnPdfLocation.TabIndex = 100; + this.btnPdfLocation.Click += new System.EventHandler(this.btnPdfLocation_Click); + // // pbPDFsStatus // // // // this.pbPDFsStatus.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.pbPDFsStatus.Location = new System.Drawing.Point(7, 220); + this.pbPDFsStatus.Location = new System.Drawing.Point(9, 271); + this.pbPDFsStatus.Margin = new System.Windows.Forms.Padding(4); this.pbPDFsStatus.Name = "pbPDFsStatus"; - this.pbPDFsStatus.Size = new System.Drawing.Size(539, 23); + this.pbPDFsStatus.Size = new System.Drawing.Size(719, 28); this.pbPDFsStatus.TabIndex = 87; this.pbPDFsStatus.Text = "Procedures Converted to PDF"; this.pbPDFsStatus.Visible = false; @@ -189,10 +203,10 @@ namespace VEPROMS this.gpnlDebug.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.gpnlDebug.Controls.Add(this.cbxDebugText); this.gpnlDebug.Controls.Add(this.cbxDebugPagination); - this.gpnlDebug.Location = new System.Drawing.Point(401, 75); - this.gpnlDebug.Margin = new System.Windows.Forms.Padding(2); + this.gpnlDebug.Location = new System.Drawing.Point(535, 92); + this.gpnlDebug.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.gpnlDebug.Name = "gpnlDebug"; - this.gpnlDebug.Size = new System.Drawing.Size(90, 74); + this.gpnlDebug.Size = new System.Drawing.Size(120, 91); // // // @@ -228,10 +242,10 @@ namespace VEPROMS // this.cbxDebugText.AutoSize = true; this.cbxDebugText.BackColor = System.Drawing.Color.Transparent; - this.cbxDebugText.Location = new System.Drawing.Point(8, 30); - this.cbxDebugText.Margin = new System.Windows.Forms.Padding(2); + this.cbxDebugText.Location = new System.Drawing.Point(11, 37); + this.cbxDebugText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cbxDebugText.Name = "cbxDebugText"; - this.cbxDebugText.Size = new System.Drawing.Size(47, 17); + this.cbxDebugText.Size = new System.Drawing.Size(57, 21); this.cbxDebugText.TabIndex = 1; this.cbxDebugText.Text = "Text"; this.cbxDebugText.UseVisualStyleBackColor = false; @@ -240,10 +254,10 @@ namespace VEPROMS // this.cbxDebugPagination.AutoSize = true; this.cbxDebugPagination.BackColor = System.Drawing.Color.Transparent; - this.cbxDebugPagination.Location = new System.Drawing.Point(9, 7); - this.cbxDebugPagination.Margin = new System.Windows.Forms.Padding(2); + this.cbxDebugPagination.Location = new System.Drawing.Point(12, 9); + this.cbxDebugPagination.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cbxDebugPagination.Name = "cbxDebugPagination"; - this.cbxDebugPagination.Size = new System.Drawing.Size(76, 17); + this.cbxDebugPagination.Size = new System.Drawing.Size(97, 21); this.cbxDebugPagination.TabIndex = 0; this.cbxDebugPagination.Text = "Pagination"; this.cbxDebugPagination.UseVisualStyleBackColor = false; @@ -254,10 +268,10 @@ namespace VEPROMS this.grpDateSelector.CanvasColor = System.Drawing.SystemColors.Control; this.grpDateSelector.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.grpDateSelector.Controls.Add(this.calDateSelector); - this.grpDateSelector.Location = new System.Drawing.Point(197, 75); - this.grpDateSelector.Margin = new System.Windows.Forms.Padding(2); + this.grpDateSelector.Location = new System.Drawing.Point(263, 92); + this.grpDateSelector.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.grpDateSelector.Name = "grpDateSelector"; - this.grpDateSelector.Size = new System.Drawing.Size(195, 154); + this.grpDateSelector.Size = new System.Drawing.Size(260, 190); // // // @@ -314,8 +328,8 @@ namespace VEPROMS this.calDateSelector.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.calDateSelector.ContainerControlProcessDialogKey = true; this.calDateSelector.DisplayMonth = new System.DateTime(2010, 8, 1, 0, 0, 0, 0); - this.calDateSelector.Location = new System.Drawing.Point(10, 2); - this.calDateSelector.Margin = new System.Windows.Forms.Padding(2); + this.calDateSelector.Location = new System.Drawing.Point(13, 2); + this.calDateSelector.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.calDateSelector.MarkedDates = new System.DateTime[0]; this.calDateSelector.MonthlyMarkedDates = new System.DateTime[0]; this.calDateSelector.Name = "calDateSelector"; @@ -340,13 +354,13 @@ 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.Margin = new System.Windows.Forms.Padding(2); + this.txbReviewDate.Location = new System.Drawing.Point(136, 172); + this.txbReviewDate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.txbReviewDate.Name = "txbReviewDate"; - this.txbReviewDate.Size = new System.Drawing.Size(91, 20); + this.txbReviewDate.Size = new System.Drawing.Size(121, 22); this.txbReviewDate.TabIndex = 83; - this.txbReviewDate.Leave += new System.EventHandler(this.txbReviewDate_Leave); this.txbReviewDate.Enter += new System.EventHandler(this.txbReviewDate_Enter); + this.txbReviewDate.Leave += new System.EventHandler(this.txbReviewDate_Leave); // // txbRevDate // @@ -355,29 +369,28 @@ 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.Margin = new System.Windows.Forms.Padding(2); + this.txbRevDate.Location = new System.Drawing.Point(136, 132); + this.txbRevDate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.txbRevDate.Name = "txbRevDate"; - this.txbRevDate.Size = new System.Drawing.Size(91, 20); + this.txbRevDate.Size = new System.Drawing.Size(121, 22); this.txbRevDate.TabIndex = 82; - this.txbRevDate.Leave += new System.EventHandler(this.txbRevDate_Leave); this.txbRevDate.Enter += new System.EventHandler(this.txbRevDate_Enter); + this.txbRevDate.Leave += new System.EventHandler(this.txbRevDate_Leave); // // txbPDFLocation // - this.txbPDFLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + this.txbPDFLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); // // // this.txbPDFLocation.Border.Class = "TextBoxBorder"; this.txbPDFLocation.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txbPDFLocation.Enabled = false; - this.txbPDFLocation.Location = new System.Drawing.Point(102, 8); - this.txbPDFLocation.Margin = new System.Windows.Forms.Padding(2); + this.txbPDFLocation.Location = new System.Drawing.Point(136, 10); + this.txbPDFLocation.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.txbPDFLocation.Name = "txbPDFLocation"; - this.txbPDFLocation.ShortcutsEnabled = false; - this.txbPDFLocation.Size = new System.Drawing.Size(499, 20); + //this.txbPDFLocation.ShortcutsEnabled = false; + this.txbPDFLocation.Size = new System.Drawing.Size(618, 22); this.txbPDFLocation.TabIndex = 81; this.txbPDFLocation.WatermarkText = "PDF Location"; this.txbPDFLocation.Leave += new System.EventHandler(this.txbPDFLocation_Leave); @@ -388,10 +401,10 @@ namespace VEPROMS 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.Margin = new System.Windows.Forms.Padding(2); + this.cbxOpenAfterCreate2.Location = new System.Drawing.Point(9, 271); + this.cbxOpenAfterCreate2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cbxOpenAfterCreate2.Name = "cbxOpenAfterCreate2"; - this.cbxOpenAfterCreate2.Size = new System.Drawing.Size(145, 19); + this.cbxOpenAfterCreate2.Size = new System.Drawing.Size(177, 22); this.cbxOpenAfterCreate2.TabIndex = 80; this.cbxOpenAfterCreate2.Text = "View PDF After Create"; this.cbxOpenAfterCreate2.UseVisualStyleBackColor = false; @@ -408,10 +421,10 @@ namespace VEPROMS 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.ForeColor = System.Drawing.SystemColors.ControlText; - this.cbxOverwritePDF2.Location = new System.Drawing.Point(453, 39); - this.cbxOverwritePDF2.Margin = new System.Windows.Forms.Padding(2); + this.cbxOverwritePDF2.Location = new System.Drawing.Point(619, 48); + this.cbxOverwritePDF2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cbxOverwritePDF2.Name = "cbxOverwritePDF2"; - this.cbxOverwritePDF2.Size = new System.Drawing.Size(127, 19); + this.cbxOverwritePDF2.Size = new System.Drawing.Size(154, 22); this.cbxOverwritePDF2.TabIndex = 79; this.cbxOverwritePDF2.Text = "Overwrite PDF File"; this.cbxOverwritePDF2.UseVisualStyleBackColor = false; @@ -423,10 +436,10 @@ 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.Margin = new System.Windows.Forms.Padding(2); + this.txbRevNum.Location = new System.Drawing.Point(136, 92); + this.txbRevNum.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.txbRevNum.Name = "txbRevNum"; - this.txbRevNum.Size = new System.Drawing.Size(91, 20); + this.txbRevNum.Size = new System.Drawing.Size(121, 22); this.txbRevNum.TabIndex = 73; this.txbRevNum.Leave += new System.EventHandler(this.txbRevNum_Leave); // @@ -438,10 +451,10 @@ 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.Margin = new System.Windows.Forms.Padding(2); + this.lblReviewDate.Location = new System.Drawing.Point(9, 172); + this.lblReviewDate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.lblReviewDate.Name = "lblReviewDate"; - this.lblReviewDate.Size = new System.Drawing.Size(86, 19); + this.lblReviewDate.Size = new System.Drawing.Size(115, 23); this.lblReviewDate.TabIndex = 72; this.lblReviewDate.Text = "Review Date"; this.lblReviewDate.TextAlignment = System.Drawing.StringAlignment.Far; @@ -454,10 +467,10 @@ 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.Margin = new System.Windows.Forms.Padding(2); + this.lblRevDate.Location = new System.Drawing.Point(9, 132); + this.lblRevDate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.lblRevDate.Name = "lblRevDate"; - this.lblRevDate.Size = new System.Drawing.Size(86, 19); + this.lblRevDate.Size = new System.Drawing.Size(115, 23); this.lblRevDate.TabIndex = 71; this.lblRevDate.Text = "Revision Date"; this.lblRevDate.TextAlignment = System.Drawing.StringAlignment.Far; @@ -470,26 +483,27 @@ 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.Margin = new System.Windows.Forms.Padding(2); + this.lblRevNum.Location = new System.Drawing.Point(9, 92); + this.lblRevNum.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.lblRevNum.Name = "lblRevNum"; - this.lblRevNum.Size = new System.Drawing.Size(86, 19); + this.lblRevNum.Size = new System.Drawing.Size(115, 23); this.lblRevNum.TabIndex = 70; this.lblRevNum.Text = "Revision Number"; this.lblRevNum.TextAlignment = System.Drawing.StringAlignment.Far; // // txbPDFName // - this.txbPDFName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + this.txbPDFName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); // // // 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(136, 48); + this.txbPDFName.Margin = new System.Windows.Forms.Padding(4); this.txbPDFName.Name = "txbPDFName"; - this.txbPDFName.Size = new System.Drawing.Size(308, 20); + this.txbPDFName.Size = new System.Drawing.Size(411, 22); this.txbPDFName.TabIndex = 8; // // lblPDFFileName @@ -500,9 +514,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.Location = new System.Drawing.Point(9, 42); + this.lblPDFFileName.Margin = new System.Windows.Forms.Padding(4); this.lblPDFFileName.Name = "lblPDFFileName"; - this.lblPDFFileName.Size = new System.Drawing.Size(86, 19); + this.lblPDFFileName.Size = new System.Drawing.Size(115, 23); this.lblPDFFileName.TabIndex = 7; this.lblPDFFileName.Text = "PDF Name"; this.lblPDFFileName.TextAlignment = System.Drawing.StringAlignment.Far; @@ -515,10 +530,10 @@ 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.Margin = new System.Windows.Forms.Padding(2); + this.lblPDFLoc.Location = new System.Drawing.Point(9, 4); + this.lblPDFLoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.lblPDFLoc.Name = "lblPDFLoc"; - this.lblPDFLoc.Size = new System.Drawing.Size(86, 19); + this.lblPDFLoc.Size = new System.Drawing.Size(115, 23); this.lblPDFLoc.TabIndex = 4; this.lblPDFLoc.Text = "PDF Location"; this.lblPDFLoc.TextAlignment = System.Drawing.StringAlignment.Far; @@ -529,22 +544,262 @@ namespace VEPROMS this.tbGeneral.Name = "tbGeneral"; this.tbGeneral.Text = "General"; // + // 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.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControlPanel1.Location = new System.Drawing.Point(0, 24); + this.tabControlPanel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tabControlPanel1.Name = "tabControlPanel1"; + this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanel1.Size = new System.Drawing.Size(817, 310); + 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(34, 21); + this.lblMultiunitPdfLocation.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.lblMultiunitPdfLocation.Name = "lblMultiunitPdfLocation"; + this.lblMultiunitPdfLocation.Size = new System.Drawing.Size(169, 23); + 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.Items.AddRange(new object[] { + this.muLocNone, + this.muLocName, + this.muLocNumber, + this.muLocText, + this.muLocID}); + this.cbxMultiunitPdfLocation.Location = new System.Drawing.Point(214, 21); + this.cbxMultiunitPdfLocation.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxMultiunitPdfLocation.Name = "cbxMultiunitPdfLocation"; + this.cbxMultiunitPdfLocation.Size = new System.Drawing.Size(396, 23); + 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(35, 87); + this.lblWatermarkS.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.lblWatermarkS.Name = "lblWatermarkS"; + this.lblWatermarkS.Size = new System.Drawing.Size(115, 23); + 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(214, 87); + this.btnWaterMarkOff.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnWaterMarkOff.Name = "btnWaterMarkOff"; + this.btnWaterMarkOff.Size = new System.Drawing.Size(45, 23); + 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(214, 55); + this.btnChgBarOff.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnChgBarOff.Name = "btnChgBarOff"; + this.btnChgBarOff.Size = new System.Drawing.Size(45, 23); + 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(214, 121); + this.btnDuplxOff.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnDuplxOff.Name = "btnDuplxOff"; + this.btnDuplxOff.Size = new System.Drawing.Size(44, 23); + 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(35, 121); + this.lblAutoDuplexing.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.lblAutoDuplexing.Name = "lblAutoDuplexing"; + this.lblAutoDuplexing.Size = new System.Drawing.Size(115, 23); + 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(159, 121); + this.btnDuplxOn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnDuplxOn.Name = "btnDuplxOn"; + this.btnDuplxOn.Size = new System.Drawing.Size(45, 23); + 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(159, 87); + this.btnWaterMarkOn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnWaterMarkOn.Name = "btnWaterMarkOn"; + this.btnWaterMarkOn.Size = new System.Drawing.Size(45, 23); + this.btnWaterMarkOn.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnWaterMarkOn.TabIndex = 88; + this.btnWaterMarkOn.Text = "ON"; + this.btnWaterMarkOn.Click += new System.EventHandler(this.btnAdvWaterMarkOn_Click); + // + // cbxWaterMark + // + this.cbxWaterMark.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.docVersionConfigBindingSource, "Print_Watermark", true)); + this.cbxWaterMark.DisplayMember = "Text"; + this.cbxWaterMark.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.cbxWaterMark.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbxWaterMark.FormattingEnabled = true; + this.cbxWaterMark.Location = new System.Drawing.Point(264, 87); + this.cbxWaterMark.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxWaterMark.Name = "cbxWaterMark"; + this.cbxWaterMark.Size = new System.Drawing.Size(183, 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"; + // + // 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(35, 55); + this.lblChgBars.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.lblChgBars.Name = "lblChgBars"; + this.lblChgBars.Size = new System.Drawing.Size(115, 23); + 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(159, 55); + this.btnChgBarOn.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnChgBarOn.Name = "btnChgBarOn"; + this.btnChgBarOn.Size = new System.Drawing.Size(45, 23); + 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"; + // // tabControlPanel2 // this.tabControlPanel2.Controls.Add(this.ppGpbxCBType); this.tabControlPanel2.Controls.Add(this.ppGpbxUserSpecCB); 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.Location = new System.Drawing.Point(0, 24); + this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tabControlPanel2.Name = "tabControlPanel2"; this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel2.Size = new System.Drawing.Size(613, 249); + this.tabControlPanel2.Size = new System.Drawing.Size(817, 310); 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.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; @@ -556,10 +811,10 @@ namespace VEPROMS this.ppGpbxCBType.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.ppGpbxCBType.Controls.Add(this.rbCustom); this.ppGpbxCBType.Controls.Add(this.rbFormatDefault); - this.ppGpbxCBType.Location = new System.Drawing.Point(41, 10); - this.ppGpbxCBType.Margin = new System.Windows.Forms.Padding(2); + this.ppGpbxCBType.Location = new System.Drawing.Point(55, 12); + this.ppGpbxCBType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppGpbxCBType.Name = "ppGpbxCBType"; - this.ppGpbxCBType.Size = new System.Drawing.Size(426, 45); + this.ppGpbxCBType.Size = new System.Drawing.Size(568, 55); // // // @@ -594,10 +849,10 @@ namespace VEPROMS // 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.Location = new System.Drawing.Point(263, 5); + this.rbCustom.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.rbCustom.Name = "rbCustom"; - this.rbCustom.Size = new System.Drawing.Size(143, 17); + this.rbCustom.Size = new System.Drawing.Size(230, 21); this.rbCustom.TabIndex = 1; this.rbCustom.TabStop = true; this.rbCustom.Text = "Override Change Bar Text Type"; @@ -607,16 +862,16 @@ namespace VEPROMS // 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.Location = new System.Drawing.Point(35, 5); + this.rbFormatDefault.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.rbFormatDefault.Name = "rbFormatDefault"; - this.rbFormatDefault.Size = new System.Drawing.Size(94, 17); + this.rbFormatDefault.Size = new System.Drawing.Size(122, 21); this.rbFormatDefault.TabIndex = 0; this.rbFormatDefault.TabStop = true; this.rbFormatDefault.Text = "Format Default"; this.rbFormatDefault.UseVisualStyleBackColor = true; - this.rbFormatDefault.Click += new System.EventHandler(this.rbFormatDefault_Click); this.rbFormatDefault.CheckedChanged += new System.EventHandler(this.rbFormatDefault_CheckedChanged); + this.rbFormatDefault.Click += new System.EventHandler(this.rbFormatDefault_Click); // // ppGpbxUserSpecCB // @@ -628,10 +883,10 @@ namespace VEPROMS this.ppGpbxUserSpecCB.Controls.Add(this.label12); this.ppGpbxUserSpecCB.Controls.Add(this.ppCmbxChgBarTxtType); this.ppGpbxUserSpecCB.Controls.Add(this.label13); - this.ppGpbxUserSpecCB.Location = new System.Drawing.Point(41, 68); - this.ppGpbxUserSpecCB.Margin = new System.Windows.Forms.Padding(2); + this.ppGpbxUserSpecCB.Location = new System.Drawing.Point(55, 84); + this.ppGpbxUserSpecCB.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppGpbxUserSpecCB.Name = "ppGpbxUserSpecCB"; - this.ppGpbxUserSpecCB.Size = new System.Drawing.Size(426, 130); + this.ppGpbxUserSpecCB.Size = new System.Drawing.Size(568, 160); // // // @@ -671,10 +926,10 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.Controls.Add(this.ppTxbxChangeBarUserMsgTwo); this.ppGpbxUserSpecTxt.Controls.Add(this.label15); this.ppGpbxUserSpecTxt.Controls.Add(this.ppTxbxChangeBarUserMsgOne); - this.ppGpbxUserSpecTxt.Location = new System.Drawing.Point(242, 14); - this.ppGpbxUserSpecTxt.Margin = new System.Windows.Forms.Padding(2); + this.ppGpbxUserSpecTxt.Location = new System.Drawing.Point(323, 17); + this.ppGpbxUserSpecTxt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppGpbxUserSpecTxt.Name = "ppGpbxUserSpecTxt"; - this.ppGpbxUserSpecTxt.Size = new System.Drawing.Size(158, 85); + this.ppGpbxUserSpecTxt.Size = new System.Drawing.Size(211, 105); // // // @@ -709,42 +964,40 @@ namespace VEPROMS // label14 // this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(34, 11); - this.label14.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label14.Location = new System.Drawing.Point(45, 14); this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(48, 13); + this.label14.Size = new System.Drawing.Size(63, 17); this.label14.TabIndex = 4; this.label14.Text = "Line one"; // // ppTxbxChangeBarUserMsgTwo // this.ppTxbxChangeBarUserMsgTwo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Print_UserCBMess2", true)); - this.ppTxbxChangeBarUserMsgTwo.Location = new System.Drawing.Point(89, 38); - this.ppTxbxChangeBarUserMsgTwo.Margin = new System.Windows.Forms.Padding(2); + this.ppTxbxChangeBarUserMsgTwo.Location = new System.Drawing.Point(119, 47); + this.ppTxbxChangeBarUserMsgTwo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppTxbxChangeBarUserMsgTwo.Multiline = false; this.ppTxbxChangeBarUserMsgTwo.Name = "ppTxbxChangeBarUserMsgTwo"; - this.ppTxbxChangeBarUserMsgTwo.Size = new System.Drawing.Size(44, 20); + this.ppTxbxChangeBarUserMsgTwo.Size = new System.Drawing.Size(57, 24); this.ppTxbxChangeBarUserMsgTwo.TabIndex = 2; this.ppTxbxChangeBarUserMsgTwo.Text = ""; // // label15 // this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(37, 41); - this.label15.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label15.Location = new System.Drawing.Point(49, 50); this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(47, 13); + this.label15.Size = new System.Drawing.Size(60, 17); this.label15.TabIndex = 5; this.label15.Text = "Line two"; // // ppTxbxChangeBarUserMsgOne // this.ppTxbxChangeBarUserMsgOne.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Print_UserCBMess1", true)); - this.ppTxbxChangeBarUserMsgOne.Location = new System.Drawing.Point(89, 9); - this.ppTxbxChangeBarUserMsgOne.Margin = new System.Windows.Forms.Padding(2); + this.ppTxbxChangeBarUserMsgOne.Location = new System.Drawing.Point(119, 11); + this.ppTxbxChangeBarUserMsgOne.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppTxbxChangeBarUserMsgOne.Multiline = false; this.ppTxbxChangeBarUserMsgOne.Name = "ppTxbxChangeBarUserMsgOne"; - this.ppTxbxChangeBarUserMsgOne.Size = new System.Drawing.Size(44, 20); + this.ppTxbxChangeBarUserMsgOne.Size = new System.Drawing.Size(57, 24); this.ppTxbxChangeBarUserMsgOne.TabIndex = 1; this.ppTxbxChangeBarUserMsgOne.Text = ""; // @@ -755,10 +1008,10 @@ namespace VEPROMS this.ppCmbxChgBarPos.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ppCmbxChgBarPos.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxChgBarPos.FormattingEnabled = true; - this.ppCmbxChgBarPos.Location = new System.Drawing.Point(82, 80); - this.ppCmbxChgBarPos.Margin = new System.Windows.Forms.Padding(2); + this.ppCmbxChgBarPos.Location = new System.Drawing.Point(109, 98); + this.ppCmbxChgBarPos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxChgBarPos.Name = "ppCmbxChgBarPos"; - this.ppCmbxChgBarPos.Size = new System.Drawing.Size(135, 21); + this.ppCmbxChgBarPos.Size = new System.Drawing.Size(179, 23); 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))); @@ -767,10 +1020,9 @@ namespace VEPROMS // 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.Location = new System.Drawing.Point(45, 101); this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(44, 13); + this.label12.Size = new System.Drawing.Size(58, 17); this.label12.TabIndex = 9; this.label12.Text = "Position"; this.label12.Visible = false; @@ -782,10 +1034,10 @@ namespace VEPROMS this.ppCmbxChgBarTxtType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ppCmbxChgBarTxtType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxChgBarTxtType.FormattingEnabled = true; - this.ppCmbxChgBarTxtType.Location = new System.Drawing.Point(82, 40); - this.ppCmbxChgBarTxtType.Margin = new System.Windows.Forms.Padding(2); + this.ppCmbxChgBarTxtType.Location = new System.Drawing.Point(109, 49); + this.ppCmbxChgBarTxtType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxChgBarTxtType.Name = "ppCmbxChgBarTxtType"; - this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(140, 21); + 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"; @@ -794,10 +1046,9 @@ namespace VEPROMS // 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.Location = new System.Drawing.Point(33, 50); this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(55, 13); + this.label13.Size = new System.Drawing.Size(71, 17); this.label13.TabIndex = 8; this.label13.Text = "Text Type"; // @@ -808,296 +1059,6 @@ namespace VEPROMS 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.txbPdfLocationS); - this.tabControlPanel1.Controls.Add(this.btnPdfLocation); - this.tabControlPanel1.Controls.Add(this.lblPdfLocS); - 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.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(613, 249); - 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(29, 30); - this.lblMultiunitPdfLocation.Margin = new System.Windows.Forms.Padding(2); - this.lblMultiunitPdfLocation.Name = "lblMultiunitPdfLocation"; - this.lblMultiunitPdfLocation.Size = new System.Drawing.Size(127, 19); - this.lblMultiunitPdfLocation.TabIndex = 108; - this.lblMultiunitPdfLocation.Text = "Multi Unit PDF Location"; - this.lblMultiunitPdfLocation.TextAlignment = System.Drawing.StringAlignment.Far; - this.lblMultiunitPdfLocation.Visible = false; - // - // cbxMultiunitPdfLocation - // - 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.Items.AddRange(new object[] { - this.muLocNone, - this.muLocName, - this.muLocNumber, - this.muLocText, - this.muLocID}); - this.cbxMultiunitPdfLocation.Location = new System.Drawing.Point(164, 30); - this.cbxMultiunitPdfLocation.Margin = new System.Windows.Forms.Padding(2); - this.cbxMultiunitPdfLocation.Name = "cbxMultiunitPdfLocation"; - this.cbxMultiunitPdfLocation.Size = new System.Drawing.Size(298, 21); - 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(30, 84); - this.lblWatermarkS.Margin = new System.Windows.Forms.Padding(2); - this.lblWatermarkS.Name = "lblWatermarkS"; - this.lblWatermarkS.Size = new System.Drawing.Size(86, 19); - this.lblWatermarkS.TabIndex = 106; - this.lblWatermarkS.Text = "Watermark"; - this.lblWatermarkS.TextAlignment = System.Drawing.StringAlignment.Far; - // - // txbPdfLocationS - // - this.txbPdfLocationS.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - // - // - // - this.txbPdfLocationS.Border.Class = "TextBoxBorder"; - this.txbPdfLocationS.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txbPdfLocationS.Location = new System.Drawing.Point(94, 3); - this.txbPdfLocationS.Margin = new System.Windows.Forms.Padding(2); - this.txbPdfLocationS.Name = "txbPdfLocationS"; - this.txbPdfLocationS.ShortcutsEnabled = false; - this.txbPdfLocationS.Size = new System.Drawing.Size(484, 20); - this.txbPdfLocationS.TabIndex = 98; - this.txbPdfLocationS.WatermarkText = "PDF Location"; - // - // btnPdfLocation - // - this.btnPdfLocation.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnPdfLocation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.btnPdfLocation.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnPdfLocation.Image = ((System.Drawing.Image)(resources.GetObject("btnPdfLocation.Image"))); - this.btnPdfLocation.Location = new System.Drawing.Point(582, 3); - this.btnPdfLocation.Name = "btnPdfLocation"; - this.btnPdfLocation.Size = new System.Drawing.Size(20, 19); - this.btnPdfLocation.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnPdfLocation.TabIndex = 99; - this.btnPdfLocation.Click += new System.EventHandler(this.btnPdfLocation_Click); - // - // lblPdfLocS - // - this.lblPdfLocS.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.lblPdfLocS.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.lblPdfLocS.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblPdfLocS.Location = new System.Drawing.Point(7, 3); - this.lblPdfLocS.Margin = new System.Windows.Forms.Padding(2); - this.lblPdfLocS.Name = "lblPdfLocS"; - this.lblPdfLocS.Size = new System.Drawing.Size(86, 19); - this.lblPdfLocS.TabIndex = 97; - this.lblPdfLocS.Text = "PDF Location"; - this.lblPdfLocS.TextAlignment = System.Drawing.StringAlignment.Far; - // - // btnWaterMarkOff - // - this.btnWaterMarkOff.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnWaterMarkOff.Checked = true; - this.btnWaterMarkOff.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnWaterMarkOff.Location = new System.Drawing.Point(164, 84); - this.btnWaterMarkOff.Margin = new System.Windows.Forms.Padding(2); - this.btnWaterMarkOff.Name = "btnWaterMarkOff"; - this.btnWaterMarkOff.Size = new System.Drawing.Size(34, 19); - this.btnWaterMarkOff.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnWaterMarkOff.TabIndex = 93; - this.btnWaterMarkOff.Text = "OFF"; - this.btnWaterMarkOff.Click += new System.EventHandler(this.btnAdvWaterMarkOff_Click); - // - // btnChgBarOff - // - this.btnChgBarOff.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnChgBarOff.Checked = true; - this.btnChgBarOff.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnChgBarOff.Location = new System.Drawing.Point(164, 58); - this.btnChgBarOff.Margin = new System.Windows.Forms.Padding(2); - this.btnChgBarOff.Name = "btnChgBarOff"; - this.btnChgBarOff.Size = new System.Drawing.Size(34, 19); - this.btnChgBarOff.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnChgBarOff.TabIndex = 92; - this.btnChgBarOff.Text = "OFF"; - this.btnChgBarOff.Click += new System.EventHandler(this.btnAvChgBarOff_Click); - // - // btnDuplxOff - // - this.btnDuplxOff.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnDuplxOff.Checked = true; - this.btnDuplxOff.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnDuplxOff.Location = new System.Drawing.Point(164, 111); - this.btnDuplxOff.Margin = new System.Windows.Forms.Padding(2); - this.btnDuplxOff.Name = "btnDuplxOff"; - this.btnDuplxOff.Size = new System.Drawing.Size(33, 19); - this.btnDuplxOff.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnDuplxOff.TabIndex = 91; - this.btnDuplxOff.Text = "OFF"; - this.btnDuplxOff.Click += new System.EventHandler(this.btnAdvDuplxOff_Click); - // - // lblAutoDuplexing - // - this.lblAutoDuplexing.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.lblAutoDuplexing.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.lblAutoDuplexing.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblAutoDuplexing.Location = new System.Drawing.Point(30, 111); - this.lblAutoDuplexing.Margin = new System.Windows.Forms.Padding(2); - this.lblAutoDuplexing.Name = "lblAutoDuplexing"; - this.lblAutoDuplexing.Size = new System.Drawing.Size(86, 19); - this.lblAutoDuplexing.TabIndex = 90; - this.lblAutoDuplexing.Text = "Auto Duplexing"; - this.lblAutoDuplexing.TextAlignment = System.Drawing.StringAlignment.Far; - // - // btnDuplxOn - // - this.btnDuplxOn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnDuplxOn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnDuplxOn.Location = new System.Drawing.Point(123, 111); - this.btnDuplxOn.Margin = new System.Windows.Forms.Padding(2); - this.btnDuplxOn.Name = "btnDuplxOn"; - this.btnDuplxOn.Size = new System.Drawing.Size(34, 19); - this.btnDuplxOn.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnDuplxOn.TabIndex = 89; - this.btnDuplxOn.Text = "ON"; - this.btnDuplxOn.Click += new System.EventHandler(this.btnAdvDuplxOn_Click); - // - // btnWaterMarkOn - // - this.btnWaterMarkOn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnWaterMarkOn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnWaterMarkOn.Location = new System.Drawing.Point(123, 84); - this.btnWaterMarkOn.Margin = new System.Windows.Forms.Padding(2); - this.btnWaterMarkOn.Name = "btnWaterMarkOn"; - this.btnWaterMarkOn.Size = new System.Drawing.Size(34, 19); - this.btnWaterMarkOn.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnWaterMarkOn.TabIndex = 88; - this.btnWaterMarkOn.Text = "ON"; - this.btnWaterMarkOn.Click += new System.EventHandler(this.btnAdvWaterMarkOn_Click); - // - // cbxWaterMark - // - this.cbxWaterMark.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.docVersionConfigBindingSource, "Print_Watermark", true)); - this.cbxWaterMark.DisplayMember = "Text"; - this.cbxWaterMark.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.cbxWaterMark.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbxWaterMark.FormattingEnabled = true; - this.cbxWaterMark.Location = new System.Drawing.Point(202, 84); - this.cbxWaterMark.Margin = new System.Windows.Forms.Padding(2); - this.cbxWaterMark.Name = "cbxWaterMark"; - this.cbxWaterMark.Size = new System.Drawing.Size(138, 21); - this.cbxWaterMark.TabIndex = 87; - this.cbxWaterMark.Visible = false; - this.cbxWaterMark.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cbxWaterMark.WatermarkText = "select watermark option"; - // - // lblChgBars - // - this.lblChgBars.BackColor = System.Drawing.Color.Transparent; - // - // - // - this.lblChgBars.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.lblChgBars.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblChgBars.Location = new System.Drawing.Point(30, 58); - this.lblChgBars.Margin = new System.Windows.Forms.Padding(2); - this.lblChgBars.Name = "lblChgBars"; - this.lblChgBars.Size = new System.Drawing.Size(86, 19); - this.lblChgBars.TabIndex = 85; - this.lblChgBars.Text = "Change Bars"; - this.lblChgBars.TextAlignment = System.Drawing.StringAlignment.Far; - // - // btnChgBarOn - // - this.btnChgBarOn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnChgBarOn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnChgBarOn.Location = new System.Drawing.Point(123, 58); - this.btnChgBarOn.Margin = new System.Windows.Forms.Padding(2); - this.btnChgBarOn.Name = "btnChgBarOn"; - this.btnChgBarOn.Size = new System.Drawing.Size(34, 19); - this.btnChgBarOn.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnChgBarOn.TabIndex = 84; - this.btnChgBarOn.Text = "ON"; - this.btnChgBarOn.Click += new System.EventHandler(this.btnAvChgBarOn_Click); - // - // tbSettings - // - this.tbSettings.AttachedControl = this.tabControlPanel1; - this.tbSettings.Name = "tbSettings"; - this.tbSettings.Text = "Settings"; - this.tbSettings.Click += new System.EventHandler(this.tbSettings_Click); - // // btnCreatePDF // this.btnCreatePDF.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; @@ -1105,10 +1066,10 @@ namespace VEPROMS 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, 287); - this.btnCreatePDF.Margin = new System.Windows.Forms.Padding(2); + this.btnCreatePDF.Location = new System.Drawing.Point(3, 353); + this.btnCreatePDF.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnCreatePDF.Name = "btnCreatePDF"; - this.btnCreatePDF.Size = new System.Drawing.Size(113, 37); + this.btnCreatePDF.Size = new System.Drawing.Size(151, 46); this.btnCreatePDF.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnCreatePDF.TabIndex = 1; this.btnCreatePDF.Text = "Create PDF"; @@ -1122,10 +1083,10 @@ namespace VEPROMS 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(513, 287); - this.btnCancel.Margin = new System.Windows.Forms.Padding(2); + this.btnCancel.Location = new System.Drawing.Point(684, 353); + this.btnCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnCancel.Name = "btnCancel"; - this.btnCancel.Size = new System.Drawing.Size(102, 37); + this.btnCancel.Size = new System.Drawing.Size(136, 46); this.btnCancel.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnCancel.TabIndex = 2; this.btnCancel.Text = "Cancel"; @@ -1141,10 +1102,10 @@ namespace VEPROMS 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(155, 275); - this.cbxDebug.Margin = new System.Windows.Forms.Padding(2); + this.cbxDebug.Location = new System.Drawing.Point(207, 339); + this.cbxDebug.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cbxDebug.Name = "cbxDebug"; - this.cbxDebug.Size = new System.Drawing.Size(115, 19); + this.cbxDebug.Size = new System.Drawing.Size(137, 22); this.cbxDebug.TabIndex = 98; this.cbxDebug.Text = "Compare PDF"; this.cbxDebug.UseVisualStyleBackColor = false; @@ -1157,10 +1118,10 @@ namespace VEPROMS 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(283, 275); - this.cbxOrPgBrk.Margin = new System.Windows.Forms.Padding(2); + this.cbxOrPgBrk.Location = new System.Drawing.Point(377, 339); + this.cbxOrPgBrk.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cbxOrPgBrk.Name = "cbxOrPgBrk"; - this.cbxOrPgBrk.Size = new System.Drawing.Size(191, 19); + this.cbxOrPgBrk.Size = new System.Drawing.Size(224, 22); this.cbxOrPgBrk.TabIndex = 99; this.cbxOrPgBrk.Text = "Use Original Page Breaks"; this.cbxOrPgBrk.UseVisualStyleBackColor = false; @@ -1177,10 +1138,10 @@ namespace VEPROMS 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(155, 321); - this.cbxBlankPgsForDuplex.Margin = new System.Windows.Forms.Padding(2); + this.cbxBlankPgsForDuplex.Location = new System.Drawing.Point(207, 396); + this.cbxBlankPgsForDuplex.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cbxBlankPgsForDuplex.Name = "cbxBlankPgsForDuplex"; - this.cbxBlankPgsForDuplex.Size = new System.Drawing.Size(323, 19); + this.cbxBlankPgsForDuplex.Size = new System.Drawing.Size(380, 22); this.cbxBlankPgsForDuplex.TabIndex = 101; this.cbxBlankPgsForDuplex.Text = "Add Blank Pages When Using Duplex Foldouts"; this.cbxBlankPgsForDuplex.UseVisualStyleBackColor = false; @@ -1192,10 +1153,10 @@ namespace VEPROMS 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(155, 298); - this.cbxGeneratePlacekeeper.Margin = new System.Windows.Forms.Padding(2); + this.cbxGeneratePlacekeeper.Location = new System.Drawing.Point(207, 368); + this.cbxGeneratePlacekeeper.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cbxGeneratePlacekeeper.Name = "cbxGeneratePlacekeeper"; - this.cbxGeneratePlacekeeper.Size = new System.Drawing.Size(169, 19); + this.cbxGeneratePlacekeeper.Size = new System.Drawing.Size(197, 22); this.cbxGeneratePlacekeeper.TabIndex = 101; this.cbxGeneratePlacekeeper.Text = "Generate Placekeeper"; this.cbxGeneratePlacekeeper.UseVisualStyleBackColor = false; @@ -1207,20 +1168,20 @@ namespace VEPROMS 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(350, 298); - this.cbxPDFLinks.Margin = new System.Windows.Forms.Padding(2); + this.cbxPDFLinks.Location = new System.Drawing.Point(467, 368); + this.cbxPDFLinks.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cbxPDFLinks.Name = "cbxPDFLinks"; - this.cbxPDFLinks.Size = new System.Drawing.Size(169, 19); + this.cbxPDFLinks.Size = new System.Drawing.Size(108, 22); this.cbxPDFLinks.TabIndex = 101; this.cbxPDFLinks.Text = "PDF Links"; this.cbxPDFLinks.UseVisualStyleBackColor = false; // // DlgPrintProcedure // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; - this.ClientSize = new System.Drawing.Size(617, 339); + this.ClientSize = new System.Drawing.Size(823, 417); this.Controls.Add(this.cbxGeneratePlacekeeper); this.Controls.Add(this.cbxPDFLinks); this.Controls.Add(this.cbxBlankPgsForDuplex); @@ -1229,15 +1190,16 @@ namespace VEPROMS this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCreatePDF); this.Controls.Add(this.tabControl1); + this.DoubleBuffered = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(2); + this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "DlgPrintProcedure"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Create PDF"; - this.Load += new System.EventHandler(this.DlgPrintProcedure_Load); 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); @@ -1247,6 +1209,7 @@ namespace VEPROMS this.grpDateSelector.ResumeLayout(false); this.grpDateSelector.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).EndInit(); + this.tabControlPanel1.ResumeLayout(false); this.tabControlPanel2.ResumeLayout(false); this.ppGpbxCBType.ResumeLayout(false); this.ppGpbxCBType.PerformLayout(); @@ -1254,7 +1217,6 @@ namespace VEPROMS this.ppGpbxUserSpecCB.PerformLayout(); this.ppGpbxUserSpecTxt.ResumeLayout(false); this.ppGpbxUserSpecTxt.PerformLayout(); - this.tabControlPanel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -1302,9 +1264,6 @@ namespace VEPROMS private System.Windows.Forms.BindingSource docVersionConfigBindingSource; private DevComponents.DotNetBar.Controls.TextBoxX txbPDFLocation; private System.Windows.Forms.CheckBox cbxDebug; - private DevComponents.DotNetBar.Controls.TextBoxX txbPdfLocationS; - private DevComponents.DotNetBar.ButtonX btnPdfLocation; - private DevComponents.DotNetBar.LabelX lblPdfLocS; private DevComponents.DotNetBar.Controls.TextBoxX txbRevDate; private DevComponents.DotNetBar.Controls.TextBoxX txbReviewDate; private DevComponents.DotNetBar.LabelX lblWatermarkS; @@ -1330,5 +1289,6 @@ namespace VEPROMS private System.Windows.Forms.CheckBox cbxBlankPgsForDuplex; private System.Windows.Forms.CheckBox cbxGeneratePlacekeeper; private System.Windows.Forms.CheckBox cbxPDFLinks; + private DevComponents.DotNetBar.ButtonX btnPdfLocation; } } \ No newline at end of file diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs index 4b20f251..a031355a 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs @@ -110,11 +110,6 @@ namespace VEPROMS get { return txbReviewDate.Text; } set { txbReviewDate.Text = value; } } - public string PDFPathSetting - { - get { return txbPdfLocationS.Text; } - set { txbPdfLocationS.Text = value; } - } public DlgPrintProcedure(DocVersionInfo dvi, bool automatic) { _Automatic = automatic; @@ -816,27 +811,14 @@ namespace VEPROMS } } private bool _Initializing = false; - private void tbSettings_Click(object sender, EventArgs e) - { - // Fill in the settings from the config. This tab is used - // to update the settings for PdfLocation, RevNum, RevDate and ReviewDate - _Initializing = true; - txbPdfLocationS.Text = txbPDFLocation.Text; - _Initializing = false; - } - private void btnPdfLocation_Click(object sender, EventArgs e) { - DlgBrowseFolder.SelectedPath = PDFPathSetting; + DlgBrowseFolder.SelectedPath = PDFPath; DialogResult drslt = DlgBrowseFolder.ShowDialog(); if (drslt == DialogResult.OK) { - //cbxPDFloc.Text = DlgBrowseFolder.SelectedPath; - txbPdfLocationS.Text = DlgBrowseFolder.SelectedPath; - txbPDFLocation.Text = txbPdfLocationS.Text; - //lblCurPDFLoc.Text = cbxPDFloc.Text; - //UpdateDropDown2(); + txbPDFLocation.Text = DlgBrowseFolder.SelectedPath; } } diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx b/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx index 4e24c29d..18700c33 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx @@ -117,26 +117,26 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 321, 17 - - - 321, 17 - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAASdAAA - EnQB3mYfeAAAAVlJREFUOE+l098rQ2EYwPHHteIfsMiSWhqh3Sjzo9xJKYVQaBfcrKQoicQuyIk77im5 - oCQd+W1bGDmbGXcuaKYWF+/Zzs7s1OM8K9ZY6t3e+ty89X2e9+bNQ0TI6QQWLYKOZUD3+TrIhBYnlz8s - N8jau4SJt9MfWvgKQ4dzqn++VtAV6OC31IAla0S9H0L1biDFb8N4YApfxWnV56hh/xDAv1AnK9ddGHU2 - p7haUPF0oOobw8TzTtrrvl+qfXhRmqliIM1aZMXVhpE9UzqxEqPH9ag4W1Fxt/8Rk+x4M2lmcDlRLQfX - GvFltZRLcL0JPeMVDC5GTUwL72I2qAWXvZwlQpsY8/ZwoYZaOB8uY59PKxg9s3Khhlo4sRlZ/NGBEdHM - hRpq4ai/hKm3IyhvG7hQQy0c9BYzxd2HbKOQCzXUwn63QR8wiPKWkQs11ILYWSToWJaE5I/KxRd5GZ5M - Xbgb9AAAAABJRU5ErkJggg== + YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAScQAA + EnEB89x6jgAAAVlJREFUOE+l088rw2EcwPHPXfEPWGRJLY3QLsr8KDcppRAK7cBlJUVJJHYg37hxp+RA + SZr8ti2MfDczbg40U4vD892++8539fF8Lt81k3rm8Lo8Pe9Pn556ABH/BcJLNoljv6DzAo7u5DAGPK40 + KukPGfX3M0M6do3Ro3kttFAncYUc/JQZsGyPaw/DqN0PZoQcmApP45t7Rgu6atkfJAgt1ivqTTcmPC0Z + 3lZU/Z2oBcdRf9nN2s7Y8jOA8mw1A3nOpqjedozvW7K5qzBx0oCqpw1VX0eOpOzE2ykrg6vJGiWy3oSv + a2VCIhvN6J+oZHA5ZmHp2B5/OHHUgtdZwfToFiYDvUKooRYuRsrZ1/MqJs7tQqihFk4dZpZ6cvFHswqh + hlo4Hihl2t0oKjsmIdRQC4d9JUz19SPbLBJCDbVw0GPiA4ZQ2TYLoYZacHcVSxzLk2R8ivwgfAOkg8se + rIQcQAAAAABJRU5ErkJggg== + + 321, 17 + + + 321, 17 + 153, 17 diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 26be8367..5668ab6d 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -762,7 +762,15 @@ namespace VEPROMS } void MyStepTabRibbon_PrintRequest(object sender, StepTabRibbonEventArgs args) { + // Fix for B2013-173: + // if the user did the print by using the shortcut keys 'Ctrl-P' the arguments sent in + // is the first opened procedure rather than the active procedure. So check for this + // and if they are not the same, use the CurrentItem from the main frmVEPROMS. + ProcedureInfo piThis = null; + if (_CurrentItem != null) piThis = _CurrentItem.MyProcedure; ProcedureInfo pi = args.Proc as ProcedureInfo; + if (piThis != null && pi.ItemID != piThis.ItemID) pi = piThis; + //added by jcb 20130718 to support create pdf button when multiunit and user selects a unit pi.MyDocVersion.DocVersionConfig.SelectedSlave = pi.ProcedureConfig.SelectedSlave; //end added by jcb 20130718