diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs b/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs index dbdc5c68..110e7a0e 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs @@ -53,6 +53,21 @@ namespace VEPROMS 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(); @@ -72,21 +87,6 @@ namespace VEPROMS 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(); - 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.btnCreatePDF = new DevComponents.DotNetBar.ButtonX(); this.btnCancel = new DevComponents.DotNetBar.ButtonX(); this.DlgBrowseFolder = new System.Windows.Forms.FolderBrowserDialog(); @@ -96,17 +96,18 @@ namespace VEPROMS this.cbxBlankPgsForDuplex = new System.Windows.Forms.CheckBox(); this.cbxGeneratePlacekeeper = new System.Windows.Forms.CheckBox(); this.cbxPDFLinks = 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.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 @@ -117,14 +118,14 @@ namespace VEPROMS 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(3, 0); - this.tabControl1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + 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(817, 334); + this.tabControl1.Size = new System.Drawing.Size(613, 285); this.tabControl1.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Document; this.tabControl1.TabIndex = 0; this.tabControl1.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; @@ -152,12 +153,13 @@ namespace VEPROMS 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, 24); - this.tabControlPanel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + 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(817, 310); + this.tabControlPanel3.Size = new System.Drawing.Size(613, 263); 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; @@ -174,10 +176,9 @@ namespace VEPROMS 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.Location = new System.Drawing.Point(578, 7); this.btnPdfLocation.Name = "btnPdfLocation"; - this.btnPdfLocation.Size = new System.Drawing.Size(27, 23); + this.btnPdfLocation.Size = new System.Drawing.Size(20, 19); this.btnPdfLocation.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnPdfLocation.TabIndex = 100; this.btnPdfLocation.Click += new System.EventHandler(this.btnPdfLocation_Click); @@ -188,10 +189,9 @@ namespace VEPROMS // // this.pbPDFsStatus.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.pbPDFsStatus.Location = new System.Drawing.Point(9, 271); - this.pbPDFsStatus.Margin = new System.Windows.Forms.Padding(4); + this.pbPDFsStatus.Location = new System.Drawing.Point(7, 220); this.pbPDFsStatus.Name = "pbPDFsStatus"; - this.pbPDFsStatus.Size = new System.Drawing.Size(719, 28); + this.pbPDFsStatus.Size = new System.Drawing.Size(539, 23); this.pbPDFsStatus.TabIndex = 87; this.pbPDFsStatus.Text = "Procedures Converted to PDF"; this.pbPDFsStatus.Visible = false; @@ -203,10 +203,11 @@ 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(535, 92); - this.gpnlDebug.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.gpnlDebug.DisabledBackColor = System.Drawing.Color.Empty; + this.gpnlDebug.Location = new System.Drawing.Point(401, 75); + this.gpnlDebug.Margin = new System.Windows.Forms.Padding(2); this.gpnlDebug.Name = "gpnlDebug"; - this.gpnlDebug.Size = new System.Drawing.Size(120, 91); + this.gpnlDebug.Size = new System.Drawing.Size(90, 74); // // // @@ -242,10 +243,10 @@ namespace VEPROMS // this.cbxDebugText.AutoSize = true; this.cbxDebugText.BackColor = System.Drawing.Color.Transparent; - this.cbxDebugText.Location = new System.Drawing.Point(11, 37); - this.cbxDebugText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxDebugText.Location = new System.Drawing.Point(8, 30); + this.cbxDebugText.Margin = new System.Windows.Forms.Padding(2); this.cbxDebugText.Name = "cbxDebugText"; - this.cbxDebugText.Size = new System.Drawing.Size(57, 21); + this.cbxDebugText.Size = new System.Drawing.Size(47, 17); this.cbxDebugText.TabIndex = 1; this.cbxDebugText.Text = "Text"; this.cbxDebugText.UseVisualStyleBackColor = false; @@ -254,10 +255,10 @@ namespace VEPROMS // this.cbxDebugPagination.AutoSize = true; this.cbxDebugPagination.BackColor = System.Drawing.Color.Transparent; - this.cbxDebugPagination.Location = new System.Drawing.Point(12, 9); - this.cbxDebugPagination.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxDebugPagination.Location = new System.Drawing.Point(9, 7); + this.cbxDebugPagination.Margin = new System.Windows.Forms.Padding(2); this.cbxDebugPagination.Name = "cbxDebugPagination"; - this.cbxDebugPagination.Size = new System.Drawing.Size(97, 21); + this.cbxDebugPagination.Size = new System.Drawing.Size(76, 17); this.cbxDebugPagination.TabIndex = 0; this.cbxDebugPagination.Text = "Pagination"; this.cbxDebugPagination.UseVisualStyleBackColor = false; @@ -268,10 +269,11 @@ 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(263, 92); - this.grpDateSelector.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.grpDateSelector.DisabledBackColor = System.Drawing.Color.Empty; + this.grpDateSelector.Location = new System.Drawing.Point(197, 75); + this.grpDateSelector.Margin = new System.Windows.Forms.Padding(2); this.grpDateSelector.Name = "grpDateSelector"; - this.grpDateSelector.Size = new System.Drawing.Size(260, 190); + this.grpDateSelector.Size = new System.Drawing.Size(195, 154); // // // @@ -306,7 +308,6 @@ namespace VEPROMS // // calDateSelector // - this.calDateSelector.AnnuallyMarkedDates = new System.DateTime[0]; this.calDateSelector.AutoSize = true; // // @@ -328,10 +329,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(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.Location = new System.Drawing.Point(10, 2); + this.calDateSelector.Margin = new System.Windows.Forms.Padding(2); this.calDateSelector.Name = "calDateSelector"; // // @@ -344,7 +343,6 @@ namespace VEPROMS this.calDateSelector.TabIndex = 84; this.calDateSelector.Text = "monthCalendarAdv1"; this.calDateSelector.Visible = false; - this.calDateSelector.WeeklyMarkedDays = new System.DayOfWeek[0]; this.calDateSelector.DateSelected += new System.Windows.Forms.DateRangeEventHandler(this.calDateSelector_DateSelected); // // txbReviewDate @@ -354,10 +352,10 @@ namespace VEPROMS // this.txbReviewDate.Border.Class = "TextBoxBorder"; this.txbReviewDate.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txbReviewDate.Location = new System.Drawing.Point(136, 172); - this.txbReviewDate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.txbReviewDate.Location = new System.Drawing.Point(102, 140); + this.txbReviewDate.Margin = new System.Windows.Forms.Padding(2); this.txbReviewDate.Name = "txbReviewDate"; - this.txbReviewDate.Size = new System.Drawing.Size(121, 22); + this.txbReviewDate.Size = new System.Drawing.Size(91, 20); this.txbReviewDate.TabIndex = 83; this.txbReviewDate.Enter += new System.EventHandler(this.txbReviewDate_Enter); this.txbReviewDate.Leave += new System.EventHandler(this.txbReviewDate_Leave); @@ -369,10 +367,10 @@ namespace VEPROMS // this.txbRevDate.Border.Class = "TextBoxBorder"; this.txbRevDate.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txbRevDate.Location = new System.Drawing.Point(136, 132); - this.txbRevDate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.txbRevDate.Location = new System.Drawing.Point(102, 107); + this.txbRevDate.Margin = new System.Windows.Forms.Padding(2); this.txbRevDate.Name = "txbRevDate"; - this.txbRevDate.Size = new System.Drawing.Size(121, 22); + this.txbRevDate.Size = new System.Drawing.Size(91, 20); this.txbRevDate.TabIndex = 82; this.txbRevDate.Enter += new System.EventHandler(this.txbRevDate_Enter); this.txbRevDate.Leave += new System.EventHandler(this.txbRevDate_Leave); @@ -386,11 +384,10 @@ namespace VEPROMS // this.txbPDFLocation.Border.Class = "TextBoxBorder"; this.txbPDFLocation.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txbPDFLocation.Location = new System.Drawing.Point(136, 10); - this.txbPDFLocation.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.txbPDFLocation.Location = new System.Drawing.Point(102, 8); + this.txbPDFLocation.Margin = new System.Windows.Forms.Padding(2); this.txbPDFLocation.Name = "txbPDFLocation"; - //this.txbPDFLocation.ShortcutsEnabled = false; - this.txbPDFLocation.Size = new System.Drawing.Size(618, 22); + this.txbPDFLocation.Size = new System.Drawing.Size(464, 20); this.txbPDFLocation.TabIndex = 81; this.txbPDFLocation.WatermarkText = "PDF Location"; this.txbPDFLocation.Leave += new System.EventHandler(this.txbPDFLocation_Leave); @@ -401,10 +398,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(9, 271); - this.cbxOpenAfterCreate2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxOpenAfterCreate2.Location = new System.Drawing.Point(7, 220); + this.cbxOpenAfterCreate2.Margin = new System.Windows.Forms.Padding(2); this.cbxOpenAfterCreate2.Name = "cbxOpenAfterCreate2"; - this.cbxOpenAfterCreate2.Size = new System.Drawing.Size(177, 22); + this.cbxOpenAfterCreate2.Size = new System.Drawing.Size(145, 19); this.cbxOpenAfterCreate2.TabIndex = 80; this.cbxOpenAfterCreate2.Text = "View PDF After Create"; this.cbxOpenAfterCreate2.UseVisualStyleBackColor = false; @@ -421,10 +418,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(619, 48); - this.cbxOverwritePDF2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxOverwritePDF2.Location = new System.Drawing.Point(452, 39); + this.cbxOverwritePDF2.Margin = new System.Windows.Forms.Padding(2); this.cbxOverwritePDF2.Name = "cbxOverwritePDF2"; - this.cbxOverwritePDF2.Size = new System.Drawing.Size(154, 22); + this.cbxOverwritePDF2.Size = new System.Drawing.Size(127, 19); this.cbxOverwritePDF2.TabIndex = 79; this.cbxOverwritePDF2.Text = "Overwrite PDF File"; this.cbxOverwritePDF2.UseVisualStyleBackColor = false; @@ -436,10 +433,10 @@ namespace VEPROMS // this.txbRevNum.Border.Class = "TextBoxBorder"; this.txbRevNum.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txbRevNum.Location = new System.Drawing.Point(136, 92); - this.txbRevNum.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.txbRevNum.Location = new System.Drawing.Point(102, 75); + this.txbRevNum.Margin = new System.Windows.Forms.Padding(2); this.txbRevNum.Name = "txbRevNum"; - this.txbRevNum.Size = new System.Drawing.Size(121, 22); + this.txbRevNum.Size = new System.Drawing.Size(91, 20); this.txbRevNum.TabIndex = 73; this.txbRevNum.Leave += new System.EventHandler(this.txbRevNum_Leave); // @@ -451,10 +448,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(9, 172); - this.lblReviewDate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.lblReviewDate.Location = new System.Drawing.Point(7, 140); + this.lblReviewDate.Margin = new System.Windows.Forms.Padding(2); this.lblReviewDate.Name = "lblReviewDate"; - this.lblReviewDate.Size = new System.Drawing.Size(115, 23); + this.lblReviewDate.Size = new System.Drawing.Size(86, 19); this.lblReviewDate.TabIndex = 72; this.lblReviewDate.Text = "Review Date"; this.lblReviewDate.TextAlignment = System.Drawing.StringAlignment.Far; @@ -467,10 +464,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(9, 132); - this.lblRevDate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.lblRevDate.Location = new System.Drawing.Point(7, 107); + this.lblRevDate.Margin = new System.Windows.Forms.Padding(2); this.lblRevDate.Name = "lblRevDate"; - this.lblRevDate.Size = new System.Drawing.Size(115, 23); + this.lblRevDate.Size = new System.Drawing.Size(86, 19); this.lblRevDate.TabIndex = 71; this.lblRevDate.Text = "Revision Date"; this.lblRevDate.TextAlignment = System.Drawing.StringAlignment.Far; @@ -483,10 +480,10 @@ 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(9, 92); - this.lblRevNum.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.lblRevNum.Location = new System.Drawing.Point(7, 75); + this.lblRevNum.Margin = new System.Windows.Forms.Padding(2); this.lblRevNum.Name = "lblRevNum"; - this.lblRevNum.Size = new System.Drawing.Size(115, 23); + this.lblRevNum.Size = new System.Drawing.Size(86, 19); this.lblRevNum.TabIndex = 70; this.lblRevNum.Text = "Revision Number"; this.lblRevNum.TextAlignment = System.Drawing.StringAlignment.Far; @@ -500,10 +497,9 @@ namespace VEPROMS // this.txbPDFName.Border.Class = "TextBoxBorder"; this.txbPDFName.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txbPDFName.Location = new System.Drawing.Point(136, 48); - this.txbPDFName.Margin = new System.Windows.Forms.Padding(4); + this.txbPDFName.Location = new System.Drawing.Point(102, 39); this.txbPDFName.Name = "txbPDFName"; - this.txbPDFName.Size = new System.Drawing.Size(411, 22); + this.txbPDFName.Size = new System.Drawing.Size(308, 20); this.txbPDFName.TabIndex = 8; // // lblPDFFileName @@ -514,10 +510,9 @@ 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(9, 42); - this.lblPDFFileName.Margin = new System.Windows.Forms.Padding(4); + this.lblPDFFileName.Location = new System.Drawing.Point(7, 34); this.lblPDFFileName.Name = "lblPDFFileName"; - this.lblPDFFileName.Size = new System.Drawing.Size(115, 23); + this.lblPDFFileName.Size = new System.Drawing.Size(86, 19); this.lblPDFFileName.TabIndex = 7; this.lblPDFFileName.Text = "PDF Name"; this.lblPDFFileName.TextAlignment = System.Drawing.StringAlignment.Far; @@ -530,10 +525,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(9, 4); - this.lblPDFLoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.lblPDFLoc.Location = new System.Drawing.Point(7, 3); + this.lblPDFLoc.Margin = new System.Windows.Forms.Padding(2); this.lblPDFLoc.Name = "lblPDFLoc"; - this.lblPDFLoc.Size = new System.Drawing.Size(115, 23); + 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; @@ -544,256 +539,17 @@ 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.DisabledBackColor = System.Drawing.Color.Empty; this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel2.Location = new System.Drawing.Point(0, 24); - this.tabControlPanel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + 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(817, 310); + this.tabControlPanel2.Size = new System.Drawing.Size(613, 263); 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; @@ -811,10 +567,11 @@ 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(55, 12); - this.ppGpbxCBType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + 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(568, 55); + this.ppGpbxCBType.Size = new System.Drawing.Size(426, 45); // // // @@ -849,10 +606,10 @@ namespace VEPROMS // rbCustom // this.rbCustom.AutoSize = true; - this.rbCustom.Location = new System.Drawing.Point(263, 5); - this.rbCustom.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + 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(230, 21); + 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"; @@ -862,10 +619,10 @@ namespace VEPROMS // rbFormatDefault // this.rbFormatDefault.AutoSize = true; - this.rbFormatDefault.Location = new System.Drawing.Point(35, 5); - this.rbFormatDefault.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + 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(122, 21); + this.rbFormatDefault.Size = new System.Drawing.Size(94, 17); this.rbFormatDefault.TabIndex = 0; this.rbFormatDefault.TabStop = true; this.rbFormatDefault.Text = "Format Default"; @@ -883,10 +640,11 @@ 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(55, 84); - this.ppGpbxUserSpecCB.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppGpbxUserSpecCB.DisabledBackColor = System.Drawing.Color.Empty; + this.ppGpbxUserSpecCB.Location = new System.Drawing.Point(41, 68); + this.ppGpbxUserSpecCB.Margin = new System.Windows.Forms.Padding(2); this.ppGpbxUserSpecCB.Name = "ppGpbxUserSpecCB"; - this.ppGpbxUserSpecCB.Size = new System.Drawing.Size(568, 160); + this.ppGpbxUserSpecCB.Size = new System.Drawing.Size(426, 130); // // // @@ -926,10 +684,11 @@ 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(323, 17); - this.ppGpbxUserSpecTxt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppGpbxUserSpecTxt.DisabledBackColor = System.Drawing.Color.Empty; + this.ppGpbxUserSpecTxt.Location = new System.Drawing.Point(242, 14); + this.ppGpbxUserSpecTxt.Margin = new System.Windows.Forms.Padding(2); this.ppGpbxUserSpecTxt.Name = "ppGpbxUserSpecTxt"; - this.ppGpbxUserSpecTxt.Size = new System.Drawing.Size(211, 105); + this.ppGpbxUserSpecTxt.Size = new System.Drawing.Size(158, 85); // // // @@ -964,40 +723,42 @@ namespace VEPROMS // label14 // this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(45, 14); + 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(63, 17); + this.label14.Size = new System.Drawing.Size(48, 13); 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(119, 47); - this.ppTxbxChangeBarUserMsgTwo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppTxbxChangeBarUserMsgTwo.Location = new System.Drawing.Point(89, 38); + this.ppTxbxChangeBarUserMsgTwo.Margin = new System.Windows.Forms.Padding(2); this.ppTxbxChangeBarUserMsgTwo.Multiline = false; this.ppTxbxChangeBarUserMsgTwo.Name = "ppTxbxChangeBarUserMsgTwo"; - this.ppTxbxChangeBarUserMsgTwo.Size = new System.Drawing.Size(57, 24); + this.ppTxbxChangeBarUserMsgTwo.Size = new System.Drawing.Size(44, 20); this.ppTxbxChangeBarUserMsgTwo.TabIndex = 2; this.ppTxbxChangeBarUserMsgTwo.Text = ""; // // label15 // this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(49, 50); + 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(60, 17); + this.label15.Size = new System.Drawing.Size(47, 13); 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(119, 11); - this.ppTxbxChangeBarUserMsgOne.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppTxbxChangeBarUserMsgOne.Location = new System.Drawing.Point(89, 9); + this.ppTxbxChangeBarUserMsgOne.Margin = new System.Windows.Forms.Padding(2); this.ppTxbxChangeBarUserMsgOne.Multiline = false; this.ppTxbxChangeBarUserMsgOne.Name = "ppTxbxChangeBarUserMsgOne"; - this.ppTxbxChangeBarUserMsgOne.Size = new System.Drawing.Size(57, 24); + this.ppTxbxChangeBarUserMsgOne.Size = new System.Drawing.Size(44, 20); this.ppTxbxChangeBarUserMsgOne.TabIndex = 1; this.ppTxbxChangeBarUserMsgOne.Text = ""; // @@ -1008,10 +769,11 @@ 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(109, 98); - this.ppCmbxChgBarPos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + 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(179, 23); + 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))); @@ -1020,9 +782,10 @@ namespace VEPROMS // label12 // this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(45, 101); + 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(58, 17); + this.label12.Size = new System.Drawing.Size(44, 13); this.label12.TabIndex = 9; this.label12.Text = "Position"; this.label12.Visible = false; @@ -1034,10 +797,11 @@ 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(109, 49); - this.ppCmbxChgBarTxtType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCmbxChgBarTxtType.ItemHeight = 14; + this.ppCmbxChgBarTxtType.Location = new System.Drawing.Point(82, 40); + this.ppCmbxChgBarTxtType.Margin = new System.Windows.Forms.Padding(2); this.ppCmbxChgBarTxtType.Name = "ppCmbxChgBarTxtType"; - this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(185, 23); + this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(140, 20); 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"; @@ -1046,9 +810,10 @@ namespace VEPROMS // label13 // this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(33, 50); + 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(71, 17); + this.label13.Size = new System.Drawing.Size(55, 13); this.label13.TabIndex = 8; this.label13.Text = "Text Type"; // @@ -1059,6 +824,249 @@ 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.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(613, 263); + 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"; + // // btnCreatePDF // this.btnCreatePDF.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; @@ -1066,10 +1074,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(3, 353); - this.btnCreatePDF.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnCreatePDF.Location = new System.Drawing.Point(2, 314); + this.btnCreatePDF.Margin = new System.Windows.Forms.Padding(2); this.btnCreatePDF.Name = "btnCreatePDF"; - this.btnCreatePDF.Size = new System.Drawing.Size(151, 46); + 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"; @@ -1083,10 +1091,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(684, 353); - this.btnCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnCancel.Location = new System.Drawing.Point(513, 314); + this.btnCancel.Margin = new System.Windows.Forms.Padding(2); this.btnCancel.Name = "btnCancel"; - this.btnCancel.Size = new System.Drawing.Size(136, 46); + this.btnCancel.Size = new System.Drawing.Size(102, 37); this.btnCancel.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnCancel.TabIndex = 2; this.btnCancel.Text = "Cancel"; @@ -1102,10 +1110,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(207, 339); - this.cbxDebug.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxDebug.Location = new System.Drawing.Point(3, 289); + this.cbxDebug.Margin = new System.Windows.Forms.Padding(2); this.cbxDebug.Name = "cbxDebug"; - this.cbxDebug.Size = new System.Drawing.Size(137, 22); + this.cbxDebug.Size = new System.Drawing.Size(115, 19); this.cbxDebug.TabIndex = 98; this.cbxDebug.Text = "Compare PDF"; this.cbxDebug.UseVisualStyleBackColor = false; @@ -1118,16 +1126,17 @@ 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(377, 339); - this.cbxOrPgBrk.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxOrPgBrk.Location = new System.Drawing.Point(422, 289); + this.cbxOrPgBrk.Margin = new System.Windows.Forms.Padding(2); this.cbxOrPgBrk.Name = "cbxOrPgBrk"; - this.cbxOrPgBrk.Size = new System.Drawing.Size(224, 22); + 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 @@ -1138,10 +1147,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(207, 396); - this.cbxBlankPgsForDuplex.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxBlankPgsForDuplex.Location = new System.Drawing.Point(138, 332); + this.cbxBlankPgsForDuplex.Margin = new System.Windows.Forms.Padding(2); this.cbxBlankPgsForDuplex.Name = "cbxBlankPgsForDuplex"; - this.cbxBlankPgsForDuplex.Size = new System.Drawing.Size(380, 22); + this.cbxBlankPgsForDuplex.Size = new System.Drawing.Size(323, 19); this.cbxBlankPgsForDuplex.TabIndex = 101; this.cbxBlankPgsForDuplex.Text = "Add Blank Pages When Using Duplex Foldouts"; this.cbxBlankPgsForDuplex.UseVisualStyleBackColor = false; @@ -1153,10 +1162,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(207, 368); - this.cbxGeneratePlacekeeper.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxGeneratePlacekeeper.Location = new System.Drawing.Point(138, 289); + this.cbxGeneratePlacekeeper.Margin = new System.Windows.Forms.Padding(2); this.cbxGeneratePlacekeeper.Name = "cbxGeneratePlacekeeper"; - this.cbxGeneratePlacekeeper.Size = new System.Drawing.Size(197, 22); + this.cbxGeneratePlacekeeper.Size = new System.Drawing.Size(169, 19); this.cbxGeneratePlacekeeper.TabIndex = 101; this.cbxGeneratePlacekeeper.Text = "Generate Placekeeper"; this.cbxGeneratePlacekeeper.UseVisualStyleBackColor = false; @@ -1168,20 +1177,37 @@ 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(467, 368); - this.cbxPDFLinks.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxPDFLinks.Location = new System.Drawing.Point(138, 309); + this.cbxPDFLinks.Margin = new System.Windows.Forms.Padding(2); this.cbxPDFLinks.Name = "cbxPDFLinks"; - this.cbxPDFLinks.Size = new System.Drawing.Size(108, 22); + this.cbxPDFLinks.Size = new System.Drawing.Size(91, 19); this.cbxPDFLinks.TabIndex = 101; this.cbxPDFLinks.Text = "PDF Links"; this.cbxPDFLinks.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(243, 309); + 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; + // // DlgPrintProcedure // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + 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(823, 417); + this.ClientSize = new System.Drawing.Size(617, 359); + this.Controls.Add(this.cbxGenerateConActSum); this.Controls.Add(this.cbxGeneratePlacekeeper); this.Controls.Add(this.cbxPDFLinks); this.Controls.Add(this.cbxBlankPgsForDuplex); @@ -1192,7 +1218,7 @@ namespace VEPROMS this.Controls.Add(this.tabControl1); this.DoubleBuffered = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.Margin = new System.Windows.Forms.Padding(2); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "DlgPrintProcedure"; @@ -1209,7 +1235,6 @@ 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(); @@ -1217,6 +1242,7 @@ namespace VEPROMS this.ppGpbxUserSpecCB.PerformLayout(); this.ppGpbxUserSpecTxt.ResumeLayout(false); this.ppGpbxUserSpecTxt.PerformLayout(); + this.tabControlPanel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -1290,5 +1316,6 @@ namespace VEPROMS private System.Windows.Forms.CheckBox cbxGeneratePlacekeeper; private System.Windows.Forms.CheckBox cbxPDFLinks; private DevComponents.DotNetBar.ButtonX btnPdfLocation; + private System.Windows.Forms.CheckBox cbxGenerateConActSum; } } \ No newline at end of file diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs index a031355a..89bfea65 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs @@ -110,6 +110,11 @@ namespace VEPROMS get { return txbReviewDate.Text; } set { txbReviewDate.Text = value; } } + public bool CreateContinuousActionSummary + { + get { return cbxGenerateConActSum.Checked; } + set { cbxGenerateConActSum.Checked = value; } + } public DlgPrintProcedure(DocVersionInfo dvi, bool automatic) { _Automatic = automatic; @@ -152,6 +157,7 @@ namespace VEPROMS cbxOverwritePDF2.Checked = true; gpnlDebug.Visible = Volian.Base.Library.VlnSettings.DebugMode; cbxGeneratePlacekeeper.Checked = false; + cbxGenerateConActSum.Checked = false; cbxGeneratePlacekeeper.Visible = oneProcedure && ((MyProcedure.ActiveFormat.PlantFormat.FormatData.PurchaseOptions & E_PurchaseOptions.AutoPlacekeeper) == E_PurchaseOptions.AutoPlacekeeper); } @@ -715,6 +721,9 @@ namespace VEPROMS cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, PDFPath, cbd, txbPDFName.Text, new Point(Left, Bottom - 50), cbxBlankPgsForDuplex.Checked, _AllProcedures || Automatic,Prefix,SaveLinks); frmStatus.MakePlaceKeeper = cbxGeneratePlacekeeper.Checked; + frmStatus.MakeContinuousActionSummary = cbxGenerateConActSum.Checked; + if (Automatic && cbxGenerateConActSum.Checked) + frmStatus.OnlyShowContinuousActionSummary = true; int profileDepth3 = ProfileTimer.Push(">>>> frmStatus"); frmStatus.ShowDialog(); ProfileTimer.Pop(profileDepth3); diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx b/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx index 18700c33..d83968cc 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx @@ -134,9 +134,6 @@ 321, 17 - - 321, 17 - 153, 17 diff --git a/PROMS/VEPROMS User Interface/frmPDFStatusForm.cs b/PROMS/VEPROMS User Interface/frmPDFStatusForm.cs index aad86678..8906c848 100644 --- a/PROMS/VEPROMS User Interface/frmPDFStatusForm.cs +++ b/PROMS/VEPROMS User Interface/frmPDFStatusForm.cs @@ -66,6 +66,15 @@ namespace VEPROMS get { return _Prefix; } set { _Prefix = value; } } + // this flag is used when the Continuous Action Sumamry is printed from the tree or ribbon button + // it will prevent the temporary PDF (generated with printing - needed to get page numbers) from being displayed + // and will delete that temporary PDF file + private bool _OnlyShowContinuousActionSummary = false; + public bool OnlyShowContinuousActionSummary + { + get { return _OnlyShowContinuousActionSummary; } + set { _OnlyShowContinuousActionSummary = value; } + } public frmPDFStatusForm(ItemInfo myItem, string rev, string watermark, bool debugOutput, bool origPgBrk, bool openPDF, bool overWrite, string pdfPath, ChangeBarDefinition cbd,string pdfFile, Point newLocation,bool insertBlankPages, bool allOrAuto, string prefix, bool saveLinks) { Prefix = prefix; @@ -109,6 +118,8 @@ namespace VEPROMS { Location = _NewLocation; tmrRun.Enabled = true; + if (MakeContinuousActionSummary) + Text = Text.Replace("PDF", "Continuous Action Summary"); } private string _PdfFile; @@ -120,6 +131,15 @@ namespace VEPROMS get { return _MakePlaceKeeper; } set { _MakePlaceKeeper = value; } } + + private bool _MakeContinuousActionSummary = false; + + public bool MakeContinuousActionSummary + { + get { return _MakeContinuousActionSummary; } + set { _MakeContinuousActionSummary = value; } + } + private void tmrRun_Tick(object sender, EventArgs e) { tmrRun.Enabled = false; @@ -131,7 +151,7 @@ namespace VEPROMS do { int profileDepth = ProfileTimer.Push(">>>> MyPromsPrinter.Print"); - _PdfFile = MyPromsPrinter.Print(PDFPath, MakePlaceKeeper); + _PdfFile = MyPromsPrinter.Print(PDFPath, MakePlaceKeeper, MakeContinuousActionSummary); ProfileTimer.Pop(profileDepth); } while (_PdfFile == null && MessageBox.Show("Try Again?", "PDF Creation Failed", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes); @@ -174,11 +194,13 @@ namespace VEPROMS // - requested by Calvert Cliffs private void OpenPDFandPlacekeeper(string pdffile) { - if ((pdffile ?? "") != "") + if ((pdffile ?? "") != "" && !OnlyShowContinuousActionSummary) { System.Diagnostics.Process sdp = System.Diagnostics.Process.Start(pdffile); sdp.WaitForInputIdle(); } + if (OnlyShowContinuousActionSummary) + System.IO.File.Delete(pdffile); // remove the temporary PDF file used to create the Continuous Action Summary if (MyPromsPrinter.MyPlacekeeper != null) { // The PlacekeeperDelay is a switch that can be added to the PROMS.exe shortcut @@ -188,6 +210,19 @@ namespace VEPROMS System.Threading.Thread.Sleep(mydelay); MyPromsPrinter.MyPlacekeeper.Visible(); } + // this will display the generated Continuous Action Summary in MS Word (starting a new instance of MS Word outside of PROMS) + if (MyPromsPrinter.MyContActSummary != null) + { + string instructions = "The Coninuous Action Summary will be opened in MS Word.\n\nYou can make modifications and copy it into a PROMS Word section."; + MessageBox.Show(instructions, "Continuous Action Summary"); + // The ContActSummaryDelay is a switch that can be added to the PROMS.exe shortcut + // ex: VEPROMS.EXE /ContActSummaryDelay=2.5 will delay it 2 1/2 seconds + float delay = Volian.Base.Library.VlnSettings.GetCommandFloat("ContActSummaryDelay", 1.0f); + int mydelay = (int)(1000 * delay); + System.Threading.Thread.Sleep(mydelay); + MyPromsPrinter.MyContActSummary.Visible(); + } + } private void btnOpenFolder_Click(object sender, EventArgs e) { diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 39a96ffc..c0c3909c 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -81,10 +81,40 @@ namespace VEPROMS _SelectedStepTabPanel.MyStepTabRibbon.PrintRequest -= new StepTabRibbonEvent(MyStepTabRibbon_PrintRequest); _SelectedStepTabPanel.MyStepTabRibbon.PrintRequest += new StepTabRibbonEvent(MyStepTabRibbon_PrintRequest); _SelectedStepTabPanel.MyStepTabRibbon.ProgressBar = bottomProgBar; + _SelectedStepTabPanel.MyStepTabRibbon.ContActionSummaryRequest -= MyStepTabRibbon_ContActionSummaryRequest; + _SelectedStepTabPanel.MyStepTabRibbon.ContActionSummaryRequest += MyStepTabRibbon_ContActionSummaryRequest; } } } + void MyStepTabRibbon_ContActionSummaryRequest(object sender, StepTabRibbonEventArgs args) + { + DialogResult dr = System.Windows.Forms.DialogResult.Yes; + 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 + if (pi == null) return; + DlgPrintProcedure prnDlg = new DlgPrintProcedure(pi); + //added by jcb 20130718 to support create pdf button when multiunit and user selects a unit + prnDlg.SelectedSlave = pi.ProcedureConfig.SelectedSlave == 0 ? -1 : pi.ProcedureConfig.SelectedSlave; + prnDlg.MySessionInfo = MySessionInfo; + //end added by jcb 20130718 + prnDlg.Automatic = true; + prnDlg.CreateContinuousActionSummary = true; + prnDlg.OpenAfterCreate = (dr == System.Windows.Forms.DialogResult.Yes); + prnDlg.Prefix = "CASTMP_"; // A temporary procedure PDF is created to grab page numbers + prnDlg.SetupForProcedure(); + prnDlg.CreatePDF(); + //added by jcb 20130718 to support create pdf button when multiunit and user selects a unit + pi.MyDocVersion.DocVersionConfig.SelectedSlave = 0; + //end added by jcb 20130718 + } + public DocVersionInfo SelectedDVI { get { return _SelectedDVI; } @@ -307,7 +337,9 @@ namespace VEPROMS tv.PrintTransitionReport += new vlnTreeViewEvent(tv_PrintTransitionReport); tv.ProcessingComplete += tv_ProcessingComplete; tv.Processing += tv_Processing; + tv.CreateContinuousActionSummary += new vlnTreeViewEvent(tv_CreateContinuousActionSummary); } + private bool _SkipRefresh = false; public bool SkipRefresh { @@ -511,11 +543,13 @@ namespace VEPROMS if (pnl.ApplDisplayMode > 0) { pnl.MyStepTabPanel.MyStepTabRibbon.btnPdfCreate.Enabled = true; + pnl.MyStepTabPanel.MyStepTabRibbon.btnCASCreate.Enabled = true; btnPrint.Visible = true; } else { pnl.MyStepTabPanel.MyStepTabRibbon.btnPdfCreate.Enabled = false; + pnl.MyStepTabPanel.MyStepTabRibbon.btnCASCreate.Enabled = false; btnPrint.Visible = false; } //end added by jcb 20130718 @@ -707,6 +741,24 @@ namespace VEPROMS prnDlg.ShowDialog(this); // RHM 20120925 - Center dialog over PROMS window pi.MyDocVersion.DocVersionConfig.SelectedSlave = 0; } + void tv_CreateContinuousActionSummary(object sender, vlnTreeEventArgs args) + { + DialogResult dr = System.Windows.Forms.DialogResult.Yes; + ProcedureInfo pi = (args.Node as VETreeNode).VEObject as ProcedureInfo; + pi.MyDocVersion.DocVersionConfig.SelectedSlave = args.UnitIndex; + if (pi == null) return; + tc.SaveCurrentEditItem(pi); + DlgPrintProcedure prnDlg = new DlgPrintProcedure(pi, true); + prnDlg.MySessionInfo = MySessionInfo; + prnDlg.SelectedSlave = args.UnitIndex; + prnDlg.Automatic = true; + prnDlg.CreateContinuousActionSummary = true; + prnDlg.OpenAfterCreate = (dr == System.Windows.Forms.DialogResult.Yes); + prnDlg.Prefix = "CASTMP_"; // prefix the temporary procedure PDF file that is generated (to grab page numbers) + prnDlg.SetupForProcedure(); + prnDlg.CreatePDF(); + pi.MyDocVersion.DocVersionConfig.SelectedSlave = 0; + } void RefreshDisplayHistory(object sender) { displayHistory.RefreshChangeList(); @@ -1712,7 +1764,8 @@ namespace VEPROMS private DialogResult ShowEULA() { string eulaFile = string.Format(@"\{0}", VlnSettings.EULAfile); - string strEULA = System.Environment.CurrentDirectory + eulaFile; + string strEULA = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + eulaFile; + //string strEULA = System.Environment.CurrentDirectory + eulaFile; frmViewTextFile ViewFile = new frmViewTextFile(strEULA, RichTextBoxStreamType.PlainText); ViewFile.Text = "End-User License Agreement"; ViewFile.ButtonText = "Agree";