diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs b/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs index e91ce9e8..08ccd860 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.Designer.cs @@ -31,6 +31,21 @@ namespace VEPROMS this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DlgPrintProcedure)); this.tabControl1 = new DevComponents.DotNetBar.TabControl(); + this.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.docVersionConfigBindingSource = new System.Windows.Forms.BindingSource(this.components); + 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.tbChangeBars = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); this.grpDateSelector = new DevComponents.DotNetBar.Controls.GroupPanel(); this.calDateSelector = new DevComponents.Editors.DateTimeAdv.MonthCalendarAdv(); @@ -38,7 +53,6 @@ namespace VEPROMS this.txbRevDate = new DevComponents.DotNetBar.Controls.TextBoxX(); this.txbPDFLocation = new DevComponents.DotNetBar.Controls.TextBoxX(); this.cbxOpenAfterCreate2 = new System.Windows.Forms.CheckBox(); - this.docVersionConfigBindingSource = new System.Windows.Forms.BindingSource(this.components); this.cbxOverwritePDF2 = new System.Windows.Forms.CheckBox(); this.txbRevNum = new DevComponents.DotNetBar.Controls.TextBoxX(); this.lblReviewDate = new DevComponents.DotNetBar.LabelX(); @@ -48,21 +62,6 @@ 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.lblWatermarkS = new DevComponents.DotNetBar.LabelX(); this.txbPdfLocationS = new DevComponents.DotNetBar.Controls.TextBoxX(); @@ -82,15 +81,16 @@ namespace VEPROMS this.btnCancel = new DevComponents.DotNetBar.ButtonX(); this.DlgBrowseFolder = new System.Windows.Forms.FolderBrowserDialog(); this.cbxDebug = new System.Windows.Forms.CheckBox(); + this.label13 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit(); this.tabControl1.SuspendLayout(); - this.tabControlPanel3.SuspendLayout(); - this.grpDateSelector.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).BeginInit(); this.tabControlPanel2.SuspendLayout(); this.ppGpbxCBType.SuspendLayout(); this.ppGpbxUserSpecCB.SuspendLayout(); this.ppGpbxUserSpecTxt.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).BeginInit(); + this.tabControlPanel3.SuspendLayout(); + this.grpDateSelector.SuspendLayout(); this.tabControlPanel1.SuspendLayout(); this.SuspendLayout(); // @@ -101,9 +101,9 @@ namespace VEPROMS | System.Windows.Forms.AnchorStyles.Right))); this.tabControl1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125))))); this.tabControl1.CanReorderTabs = true; - this.tabControl1.Controls.Add(this.tabControlPanel3); this.tabControl1.Controls.Add(this.tabControlPanel2); this.tabControl1.Controls.Add(this.tabControlPanel1); + this.tabControl1.Controls.Add(this.tabControlPanel3); this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tabControl1.Name = "tabControl1"; @@ -118,6 +118,283 @@ namespace VEPROMS this.tabControl1.Tabs.Add(this.tbChangeBars); this.tabControl1.Text = "tabControl1"; // + // 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, 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(669, 275); + this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); + this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tabControlPanel2.Style.GradientAngle = 90; + this.tabControlPanel2.TabIndex = 2; + this.tabControlPanel2.TabItem = this.tbChangeBars; + // + // ppGpbxCBType + // + this.ppGpbxCBType.BackColor = System.Drawing.Color.Transparent; + this.ppGpbxCBType.CanvasColor = System.Drawing.SystemColors.Control; + this.ppGpbxCBType.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.ppGpbxCBType.Controls.Add(this.rbCustom); + this.ppGpbxCBType.Controls.Add(this.rbFormatDefault); + this.ppGpbxCBType.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(568, 55); + // + // + // + this.ppGpbxCBType.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.ppGpbxCBType.Style.BackColorGradientAngle = 90; + this.ppGpbxCBType.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.ppGpbxCBType.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxCBType.Style.BorderBottomWidth = 1; + this.ppGpbxCBType.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.ppGpbxCBType.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxCBType.Style.BorderLeftWidth = 1; + this.ppGpbxCBType.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxCBType.Style.BorderRightWidth = 1; + this.ppGpbxCBType.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxCBType.Style.BorderTopWidth = 1; + this.ppGpbxCBType.Style.Class = ""; + this.ppGpbxCBType.Style.CornerDiameter = 4; + this.ppGpbxCBType.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.ppGpbxCBType.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.ppGpbxCBType.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.ppGpbxCBType.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.ppGpbxCBType.StyleMouseDown.Class = ""; + this.ppGpbxCBType.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.ppGpbxCBType.StyleMouseOver.Class = ""; + this.ppGpbxCBType.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.ppGpbxCBType.TabIndex = 54; + this.ppGpbxCBType.Text = "Type"; + // + // rbCustom + // + this.rbCustom.AutoSize = true; + this.rbCustom.Location = new System.Drawing.Point(263, 5); + this.rbCustom.Name = "rbCustom"; + this.rbCustom.Size = new System.Drawing.Size(186, 21); + this.rbCustom.TabIndex = 1; + this.rbCustom.TabStop = true; + this.rbCustom.Text = "Custom Change Bar Text"; + this.rbCustom.UseVisualStyleBackColor = true; + this.rbCustom.Click += new System.EventHandler(this.rbCustom_Click); + // + // rbFormatDefault + // + this.rbFormatDefault.AutoSize = true; + this.rbFormatDefault.Location = new System.Drawing.Point(34, 5); + this.rbFormatDefault.Name = "rbFormatDefault"; + 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); + // + // ppGpbxUserSpecCB + // + this.ppGpbxUserSpecCB.BackColor = System.Drawing.Color.Transparent; + this.ppGpbxUserSpecCB.CanvasColor = System.Drawing.SystemColors.Control; + this.ppGpbxUserSpecCB.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.ppGpbxUserSpecCB.Controls.Add(this.ppGpbxUserSpecTxt); + this.ppGpbxUserSpecCB.Controls.Add(this.ppCmbxChgBarPos); + this.ppGpbxUserSpecCB.Controls.Add(this.label12); + this.ppGpbxUserSpecCB.Controls.Add(this.ppCmbxChgBarTxtType); + this.ppGpbxUserSpecCB.Controls.Add(this.label13); + this.ppGpbxUserSpecCB.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(568, 160); + // + // + // + this.ppGpbxUserSpecCB.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.ppGpbxUserSpecCB.Style.BackColorGradientAngle = 90; + this.ppGpbxUserSpecCB.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.ppGpbxUserSpecCB.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxUserSpecCB.Style.BorderBottomWidth = 1; + this.ppGpbxUserSpecCB.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.ppGpbxUserSpecCB.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxUserSpecCB.Style.BorderLeftWidth = 1; + this.ppGpbxUserSpecCB.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxUserSpecCB.Style.BorderRightWidth = 1; + this.ppGpbxUserSpecCB.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxUserSpecCB.Style.BorderTopWidth = 1; + this.ppGpbxUserSpecCB.Style.Class = ""; + this.ppGpbxUserSpecCB.Style.CornerDiameter = 4; + this.ppGpbxUserSpecCB.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.ppGpbxUserSpecCB.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.ppGpbxUserSpecCB.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.ppGpbxUserSpecCB.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.ppGpbxUserSpecCB.StyleMouseDown.Class = ""; + this.ppGpbxUserSpecCB.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.ppGpbxUserSpecCB.StyleMouseOver.Class = ""; + this.ppGpbxUserSpecCB.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.ppGpbxUserSpecCB.TabIndex = 53; + this.ppGpbxUserSpecCB.Text = "Custom Change Bar Text"; + // + // ppGpbxUserSpecTxt + // + this.ppGpbxUserSpecTxt.CanvasColor = System.Drawing.SystemColors.Control; + this.ppGpbxUserSpecTxt.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.ppGpbxUserSpecTxt.Controls.Add(this.label14); + 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(322, 17); + this.ppGpbxUserSpecTxt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppGpbxUserSpecTxt.Name = "ppGpbxUserSpecTxt"; + this.ppGpbxUserSpecTxt.Size = new System.Drawing.Size(211, 105); + // + // + // + this.ppGpbxUserSpecTxt.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.ppGpbxUserSpecTxt.Style.BackColorGradientAngle = 90; + this.ppGpbxUserSpecTxt.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.ppGpbxUserSpecTxt.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxUserSpecTxt.Style.BorderBottomWidth = 1; + this.ppGpbxUserSpecTxt.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.ppGpbxUserSpecTxt.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxUserSpecTxt.Style.BorderLeftWidth = 1; + this.ppGpbxUserSpecTxt.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxUserSpecTxt.Style.BorderRightWidth = 1; + this.ppGpbxUserSpecTxt.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxUserSpecTxt.Style.BorderTopWidth = 1; + this.ppGpbxUserSpecTxt.Style.Class = ""; + this.ppGpbxUserSpecTxt.Style.CornerDiameter = 4; + this.ppGpbxUserSpecTxt.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.ppGpbxUserSpecTxt.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.ppGpbxUserSpecTxt.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.ppGpbxUserSpecTxt.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.ppGpbxUserSpecTxt.StyleMouseDown.Class = ""; + this.ppGpbxUserSpecTxt.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.ppGpbxUserSpecTxt.StyleMouseOver.Class = ""; + this.ppGpbxUserSpecTxt.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.ppGpbxUserSpecTxt.TabIndex = 51; + this.ppGpbxUserSpecTxt.Text = "Custom Change Bar Text"; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Location = new System.Drawing.Point(46, 14); + this.label14.Name = "label14"; + 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(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(57, 24); + this.ppTxbxChangeBarUserMsgTwo.TabIndex = 2; + this.ppTxbxChangeBarUserMsgTwo.Text = ""; + // + // docVersionConfigBindingSource + // + this.docVersionConfigBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.DocVersionConfig); + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(49, 50); + this.label15.Name = "label15"; + 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(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(57, 24); + this.ppTxbxChangeBarUserMsgOne.TabIndex = 1; + this.ppTxbxChangeBarUserMsgOne.Text = ""; + // + // ppCmbxChgBarPos + // + this.ppCmbxChgBarPos.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.docVersionConfigBindingSource, "Print_ChangeBarLoc", true)); + this.ppCmbxChgBarPos.DisplayMember = "Text"; + this.ppCmbxChgBarPos.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.ppCmbxChgBarPos.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ppCmbxChgBarPos.FormattingEnabled = true; + this.ppCmbxChgBarPos.Location = new System.Drawing.Point(109, 99); + this.ppCmbxChgBarPos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppCmbxChgBarPos.Name = "ppCmbxChgBarPos"; + 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))); + this.ppCmbxChgBarPos.WatermarkText = "select change bar position"; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(46, 101); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(58, 17); + this.label12.TabIndex = 9; + this.label12.Text = "Position"; + this.label12.Visible = false; + // + // ppCmbxChgBarTxtType + // + this.ppCmbxChgBarTxtType.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.docVersionConfigBindingSource, "Print_ChangeBarText", true)); + this.ppCmbxChgBarTxtType.DisplayMember = "Text"; + this.ppCmbxChgBarTxtType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.ppCmbxChgBarTxtType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ppCmbxChgBarTxtType.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.Name = "ppCmbxChgBarTxtType"; + this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(186, 23); + this.ppCmbxChgBarTxtType.TabIndex = 48; + this.ppCmbxChgBarTxtType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ppCmbxChgBarTxtType.WatermarkText = "select change bar text type"; + this.ppCmbxChgBarTxtType.SelectedIndexChanged += new System.EventHandler(this.ppCmbxChgBarTxtType_SelectedIndexChanged); + // + // tbChangeBars + // + this.tbChangeBars.AttachedControl = this.tabControlPanel2; + this.tbChangeBars.Name = "tbChangeBars"; + this.tbChangeBars.Text = "Change Bars"; + this.tbChangeBars.Visible = false; + // // tabControlPanel3 // this.tabControlPanel3.AutoScroll = true; @@ -301,10 +578,6 @@ namespace VEPROMS this.cbxOpenAfterCreate2.Text = "View PDF After Create"; this.cbxOpenAfterCreate2.UseVisualStyleBackColor = false; // - // docVersionConfigBindingSource - // - this.docVersionConfigBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.DocVersionConfig); - // // cbxOverwritePDF2 // this.cbxOverwritePDF2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); @@ -441,286 +714,6 @@ namespace VEPROMS this.tbGeneral.Name = "tbGeneral"; this.tbGeneral.Text = "General"; // - // 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, 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(669, 275); - this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); - this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); - this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) - | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tabControlPanel2.Style.GradientAngle = 90; - this.tabControlPanel2.TabIndex = 2; - this.tabControlPanel2.TabItem = this.tbChangeBars; - // - // ppGpbxCBType - // - this.ppGpbxCBType.BackColor = System.Drawing.Color.Transparent; - this.ppGpbxCBType.CanvasColor = System.Drawing.SystemColors.Control; - this.ppGpbxCBType.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.ppGpbxCBType.Controls.Add(this.rbCustom); - this.ppGpbxCBType.Controls.Add(this.rbFormatDefault); - this.ppGpbxCBType.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(568, 55); - // - // - // - this.ppGpbxCBType.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.ppGpbxCBType.Style.BackColorGradientAngle = 90; - this.ppGpbxCBType.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.ppGpbxCBType.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxCBType.Style.BorderBottomWidth = 1; - this.ppGpbxCBType.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.ppGpbxCBType.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxCBType.Style.BorderLeftWidth = 1; - this.ppGpbxCBType.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxCBType.Style.BorderRightWidth = 1; - this.ppGpbxCBType.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxCBType.Style.BorderTopWidth = 1; - this.ppGpbxCBType.Style.Class = ""; - this.ppGpbxCBType.Style.CornerDiameter = 4; - this.ppGpbxCBType.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.ppGpbxCBType.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.ppGpbxCBType.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.ppGpbxCBType.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.ppGpbxCBType.StyleMouseDown.Class = ""; - this.ppGpbxCBType.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.ppGpbxCBType.StyleMouseOver.Class = ""; - this.ppGpbxCBType.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.ppGpbxCBType.TabIndex = 54; - this.ppGpbxCBType.Text = "Type"; - // - // rbCustom - // - this.rbCustom.AutoSize = true; - this.rbCustom.Location = new System.Drawing.Point(263, 5); - this.rbCustom.Name = "rbCustom"; - this.rbCustom.Size = new System.Drawing.Size(76, 21); - this.rbCustom.TabIndex = 1; - this.rbCustom.TabStop = true; - this.rbCustom.Text = "Custom"; - this.rbCustom.UseVisualStyleBackColor = true; - this.rbCustom.Click += new System.EventHandler(this.rbCustom_Click); - // - // rbFormatDefault - // - this.rbFormatDefault.AutoSize = true; - this.rbFormatDefault.Location = new System.Drawing.Point(34, 5); - this.rbFormatDefault.Name = "rbFormatDefault"; - 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); - // - // ppGpbxUserSpecCB - // - this.ppGpbxUserSpecCB.BackColor = System.Drawing.Color.Transparent; - this.ppGpbxUserSpecCB.CanvasColor = System.Drawing.SystemColors.Control; - this.ppGpbxUserSpecCB.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.ppGpbxUserSpecCB.Controls.Add(this.ppGpbxUserSpecTxt); - this.ppGpbxUserSpecCB.Controls.Add(this.ppCmbxChgBarPos); - this.ppGpbxUserSpecCB.Controls.Add(this.label12); - this.ppGpbxUserSpecCB.Controls.Add(this.ppCmbxChgBarTxtType); - this.ppGpbxUserSpecCB.Controls.Add(this.label13); - this.ppGpbxUserSpecCB.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(568, 160); - // - // - // - this.ppGpbxUserSpecCB.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.ppGpbxUserSpecCB.Style.BackColorGradientAngle = 90; - this.ppGpbxUserSpecCB.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.ppGpbxUserSpecCB.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxUserSpecCB.Style.BorderBottomWidth = 1; - this.ppGpbxUserSpecCB.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.ppGpbxUserSpecCB.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxUserSpecCB.Style.BorderLeftWidth = 1; - this.ppGpbxUserSpecCB.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxUserSpecCB.Style.BorderRightWidth = 1; - this.ppGpbxUserSpecCB.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxUserSpecCB.Style.BorderTopWidth = 1; - this.ppGpbxUserSpecCB.Style.Class = ""; - this.ppGpbxUserSpecCB.Style.CornerDiameter = 4; - this.ppGpbxUserSpecCB.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.ppGpbxUserSpecCB.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.ppGpbxUserSpecCB.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.ppGpbxUserSpecCB.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.ppGpbxUserSpecCB.StyleMouseDown.Class = ""; - this.ppGpbxUserSpecCB.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.ppGpbxUserSpecCB.StyleMouseOver.Class = ""; - this.ppGpbxUserSpecCB.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.ppGpbxUserSpecCB.TabIndex = 53; - this.ppGpbxUserSpecCB.Text = "Custom Settings"; - // - // ppGpbxUserSpecTxt - // - this.ppGpbxUserSpecTxt.CanvasColor = System.Drawing.SystemColors.Control; - this.ppGpbxUserSpecTxt.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.ppGpbxUserSpecTxt.Controls.Add(this.label14); - 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(322, 17); - this.ppGpbxUserSpecTxt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.ppGpbxUserSpecTxt.Name = "ppGpbxUserSpecTxt"; - this.ppGpbxUserSpecTxt.Size = new System.Drawing.Size(211, 105); - // - // - // - this.ppGpbxUserSpecTxt.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.ppGpbxUserSpecTxt.Style.BackColorGradientAngle = 90; - this.ppGpbxUserSpecTxt.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.ppGpbxUserSpecTxt.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxUserSpecTxt.Style.BorderBottomWidth = 1; - this.ppGpbxUserSpecTxt.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.ppGpbxUserSpecTxt.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxUserSpecTxt.Style.BorderLeftWidth = 1; - this.ppGpbxUserSpecTxt.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxUserSpecTxt.Style.BorderRightWidth = 1; - this.ppGpbxUserSpecTxt.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxUserSpecTxt.Style.BorderTopWidth = 1; - this.ppGpbxUserSpecTxt.Style.Class = ""; - this.ppGpbxUserSpecTxt.Style.CornerDiameter = 4; - this.ppGpbxUserSpecTxt.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.ppGpbxUserSpecTxt.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.ppGpbxUserSpecTxt.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.ppGpbxUserSpecTxt.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.ppGpbxUserSpecTxt.StyleMouseDown.Class = ""; - this.ppGpbxUserSpecTxt.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.ppGpbxUserSpecTxt.StyleMouseOver.Class = ""; - this.ppGpbxUserSpecTxt.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.ppGpbxUserSpecTxt.TabIndex = 51; - this.ppGpbxUserSpecTxt.Text = "Custom Change Bar Text"; - // - // label14 - // - this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(46, 14); - this.label14.Name = "label14"; - 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(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(57, 24); - this.ppTxbxChangeBarUserMsgTwo.TabIndex = 2; - this.ppTxbxChangeBarUserMsgTwo.Text = ""; - // - // label15 - // - this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(49, 50); - this.label15.Name = "label15"; - 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(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(57, 24); - this.ppTxbxChangeBarUserMsgOne.TabIndex = 1; - this.ppTxbxChangeBarUserMsgOne.Text = ""; - // - // ppCmbxChgBarPos - // - this.ppCmbxChgBarPos.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.docVersionConfigBindingSource, "Print_ChangeBarLoc", true)); - this.ppCmbxChgBarPos.DisplayMember = "Text"; - this.ppCmbxChgBarPos.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.ppCmbxChgBarPos.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.ppCmbxChgBarPos.FormattingEnabled = true; - this.ppCmbxChgBarPos.Location = new System.Drawing.Point(101, 45); - this.ppCmbxChgBarPos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.ppCmbxChgBarPos.Name = "ppCmbxChgBarPos"; - this.ppCmbxChgBarPos.Size = new System.Drawing.Size(179, 23); - this.ppCmbxChgBarPos.TabIndex = 48; - this.ppCmbxChgBarPos.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppCmbxChgBarPos.WatermarkText = "select change bar position"; - // - // label12 - // - this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(38, 47); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(58, 17); - this.label12.TabIndex = 9; - this.label12.Text = "Position"; - // - // ppCmbxChgBarTxtType - // - this.ppCmbxChgBarTxtType.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.docVersionConfigBindingSource, "Print_ChangeBarText", true)); - this.ppCmbxChgBarTxtType.DisplayMember = "Text"; - this.ppCmbxChgBarTxtType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.ppCmbxChgBarTxtType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.ppCmbxChgBarTxtType.FormattingEnabled = true; - this.ppCmbxChgBarTxtType.Location = new System.Drawing.Point(101, 84); - this.ppCmbxChgBarTxtType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.ppCmbxChgBarTxtType.Name = "ppCmbxChgBarTxtType"; - this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(180, 23); - this.ppCmbxChgBarTxtType.TabIndex = 48; - this.ppCmbxChgBarTxtType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppCmbxChgBarTxtType.WatermarkText = "select change bar text type"; - this.ppCmbxChgBarTxtType.SelectedIndexChanged += new System.EventHandler(this.ppCmbxChgBarTxtType_SelectedIndexChanged); - // - // label13 - // - this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(25, 86); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(71, 17); - this.label13.TabIndex = 8; - this.label13.Text = "Text Type"; - // - // tbChangeBars - // - this.tbChangeBars.AttachedControl = this.tabControlPanel2; - this.tbChangeBars.Name = "tbChangeBars"; - this.tbChangeBars.Text = "Change Bars"; - this.tbChangeBars.Visible = false; - // // tabControlPanel1 // this.tabControlPanel1.Controls.Add(this.lblWatermarkS); @@ -1014,6 +1007,15 @@ namespace VEPROMS this.cbxDebug.Text = "Debug"; this.cbxDebug.UseVisualStyleBackColor = false; // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(33, 51); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(71, 17); + this.label13.TabIndex = 8; + this.label13.Text = "Text Type"; + // // DlgPrintProcedure // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); @@ -1036,11 +1038,6 @@ namespace VEPROMS this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.DlgPrintProcedure_FormClosed); ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit(); this.tabControl1.ResumeLayout(false); - this.tabControlPanel3.ResumeLayout(false); - this.tabControlPanel3.PerformLayout(); - this.grpDateSelector.ResumeLayout(false); - this.grpDateSelector.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).EndInit(); this.tabControlPanel2.ResumeLayout(false); this.ppGpbxCBType.ResumeLayout(false); this.ppGpbxCBType.PerformLayout(); @@ -1048,6 +1045,11 @@ namespace VEPROMS this.ppGpbxUserSpecCB.PerformLayout(); this.ppGpbxUserSpecTxt.ResumeLayout(false); this.ppGpbxUserSpecTxt.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).EndInit(); + this.tabControlPanel3.ResumeLayout(false); + this.tabControlPanel3.PerformLayout(); + this.grpDateSelector.ResumeLayout(false); + this.grpDateSelector.PerformLayout(); this.tabControlPanel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -1093,7 +1095,6 @@ namespace VEPROMS private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxChgBarPos; private System.Windows.Forms.Label label12; private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxChgBarTxtType; - private System.Windows.Forms.Label label13; private System.Windows.Forms.BindingSource docVersionConfigBindingSource; private DevComponents.DotNetBar.Controls.TextBoxX txbPDFLocation; private System.Windows.Forms.CheckBox cbxDebug; @@ -1108,5 +1109,6 @@ namespace VEPROMS private System.Windows.Forms.RadioButton rbFormatDefault; private DevComponents.Editors.DateTimeAdv.MonthCalendarAdv calDateSelector; private DevComponents.DotNetBar.Controls.GroupPanel grpDateSelector; + private System.Windows.Forms.Label label13; } } \ No newline at end of file diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs index 98ab02cf..2b34c716 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs @@ -98,15 +98,27 @@ namespace VEPROMS else btnWaterMarkOn.PerformClick(); // Auto Duplexing on/off - if (_DocVersionConfig.Print_DisableDuplex) - btnDuplxOff.PerformClick(); + + if ((_MyProcedure.ActiveParent as DocVersionInfo).MyFormat.PlantFormat.FormatData.PrintData.AllowDuplex) + { + lblAutoDuplexing.Visible = true; + btnDuplxOff.Visible = true; + btnDuplxOn.Visible = true; + if (_DocVersionConfig.Print_DisableDuplex) + btnDuplxOff.PerformClick(); + else + btnDuplxOn.PerformClick(); + } else - btnDuplxOn.PerformClick(); + { + lblAutoDuplexing.Visible = false; + btnDuplxOff.Visible = false; + btnDuplxOn.Visible = false; + } // default to print Debug info if App.config is set to debug mode cbxDebug.Checked = VlnSettings.DebugMode; } - private void DlgPrintProcedure_Load(object sender, EventArgs e) { this.Text = "Create PDF for " + ProcNum; @@ -133,21 +145,21 @@ namespace VEPROMS cbxWaterMark.DataSource = EnumDetail.Details(); cbxWaterMark.DisplayMember = "Description"; cbxWaterMark.ValueMember = "EValue"; - PrintWatermark pw = MyProcedure.ProcedureConfig.Print_Watermark; + PrintWatermark pw = _DocVersionConfig.Print_Watermark; // MyProcedure.ProcedureConfig.Print_Watermark; cbxWaterMark.Text = pw.ToString(); - ppCmbxChgBarPos.DataSource = EnumDetail.Details(); - ppCmbxChgBarPos.DisplayMember = "Description"; - ppCmbxChgBarPos.ValueMember = "EValue"; - ppCmbxChgBarPos.SelectedIndex = (int)MyProcedure.MyDocVersion.DocVersionConfig.Print_ChangeBarLoc; + //ppCmbxChgBarPos.DataSource = EnumDetail.Details(); + //ppCmbxChgBarPos.DisplayMember = "Description"; + //ppCmbxChgBarPos.ValueMember = "EValue"; + //ppCmbxChgBarPos.SelectedIndex = (int)MyProcedure.MyDocVersion.DocVersionConfig.Print_ChangeBarLoc; ppCmbxChgBarTxtType.DataSource = EnumDetail.Details(); ppCmbxChgBarTxtType.DisplayMember = "Description"; ppCmbxChgBarTxtType.ValueMember = "EValue"; - ppCmbxChgBarTxtType.SelectedIndex = (int)MyProcedure.MyDocVersion.DocVersionConfig.Print_ChangeBarText; + ppCmbxChgBarTxtType.SelectedIndex = (int)_DocVersionConfig.Print_ChangeBarText; - ppTxbxChangeBarUserMsgOne.Text = MyProcedure.MyDocVersion.DocVersionConfig.Print_UserCBMess1; - ppTxbxChangeBarUserMsgTwo.Text = MyProcedure.MyDocVersion.DocVersionConfig.Print_UserCBMess2; + ppTxbxChangeBarUserMsgOne.Text = _DocVersionConfig.Print_UserCBMess1; + ppTxbxChangeBarUserMsgTwo.Text = _DocVersionConfig.Print_UserCBMess2; ppGpbxUserSpecTxt.Enabled = ppCmbxChgBarTxtType.SelectedIndex == (int)PrintChangeBarText.UserDef; bool hasReviewDate = _MyProcedure.ActiveFormat.PlantFormat.HasPageListToken("{REVIEWDATE}"); foreach (SectionInfo mysection in _MyProcedure.Sections) @@ -168,7 +180,7 @@ namespace VEPROMS btnChgBarOff.Checked = false; tbChangeBars.Visible = true; // to set which radio button (Format default or Custom) is checked, look at config data - switch (MyProcedure.MyDocVersion.DocVersionConfig.Print_ChangeBar) + switch (_DocVersionConfig.Print_ChangeBar) { case PrintChangeBar.WithUserSpecified: rbCustom.Checked = true; @@ -464,6 +476,5 @@ namespace VEPROMS } } - } } \ No newline at end of file diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx b/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx index 64889ac4..0f1917b9 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.resx @@ -134,9 +134,6 @@ Xbgb9AAAAABJRU5ErkJggg== - - 321, 17 - 153, 17