diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs index 4b986ad7..f44f628f 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs @@ -98,13 +98,15 @@ namespace VEPROMS this.ppLblDefSettingsInfo = new System.Windows.Forms.Label(); this.dlgROFolder = new System.Windows.Forms.FolderBrowserDialog(); this.tcVersions = new DevComponents.DotNetBar.TabControl(); + this.tcpFormatSettings = new DevComponents.DotNetBar.TabControlPanel(); + this.tiFmtSettings = new DevComponents.DotNetBar.TabItem(this.components); + this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel(); + this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components); this.tcpOutputSettings = new DevComponents.DotNetBar.TabControlPanel(); this.ppChbxAlwaysViewPDF = new System.Windows.Forms.CheckBox(); this.ppChbxAlwaysOvrWrtPDF = new System.Windows.Forms.CheckBox(); this.ppGrpbxPrnAdj = new DevComponents.DotNetBar.Controls.GroupPanel(); this.tiOutputSettings = new DevComponents.DotNetBar.TabItem(this.components); - this.tcpFormatSettings = new DevComponents.DotNetBar.TabControlPanel(); - this.tiFmtSettings = new DevComponents.DotNetBar.TabItem(this.components); this.tcpRefereceObjects = new DevComponents.DotNetBar.TabControlPanel(); this.tbRoDb = new System.Windows.Forms.TextBox(); this.ppBtnRoDbBrowse = new System.Windows.Forms.Button(); @@ -112,8 +114,6 @@ namespace VEPROMS this.cmbRoDb = new System.Windows.Forms.ComboBox(); this.ppGpbxUpROvals = new DevComponents.DotNetBar.Controls.GroupPanel(); this.tiRefObjs = new DevComponents.DotNetBar.TabItem(this.components); - this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel(); - this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanel5 = new DevComponents.DotNetBar.TabControlPanel(); this.ppGrdLibDocList = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.documentEntryCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -139,12 +139,12 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tcVersions)).BeginInit(); this.tcVersions.SuspendLayout(); + this.tcpFormatSettings.SuspendLayout(); + this.tcpGeneral.SuspendLayout(); this.tcpOutputSettings.SuspendLayout(); this.ppGrpbxPrnAdj.SuspendLayout(); - this.tcpFormatSettings.SuspendLayout(); this.tcpRefereceObjects.SuspendLayout(); this.ppGpbxUpROvals.SuspendLayout(); - this.tcpGeneral.SuspendLayout(); this.tabControlPanel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).BeginInit(); @@ -279,7 +279,7 @@ namespace VEPROMS // this.ppBtnDefCbTxtTyp.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnDefCbTxtTyp.CallBasePaintBackground = true; - this.ppBtnDefCbTxtTyp.Location = new System.Drawing.Point(267, 66); + this.ppBtnDefCbTxtTyp.Location = new System.Drawing.Point(289, 34); this.ppBtnDefCbTxtTyp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefCbTxtTyp.Name = "ppBtnDefCbTxtTyp"; this.ppBtnDefCbTxtTyp.Size = new System.Drawing.Size(59, 25); @@ -294,7 +294,7 @@ namespace VEPROMS // this.ppBtnDefaultCbPos.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnDefaultCbPos.CallBasePaintBackground = true; - this.ppBtnDefaultCbPos.Location = new System.Drawing.Point(267, 15); + this.ppBtnDefaultCbPos.Location = new System.Drawing.Point(281, 97); this.ppBtnDefaultCbPos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefaultCbPos.Name = "ppBtnDefaultCbPos"; this.ppBtnDefaultCbPos.Size = new System.Drawing.Size(59, 25); @@ -312,10 +312,10 @@ namespace VEPROMS this.ppCmbxChgBarTxtType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ppCmbxChgBarTxtType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxChgBarTxtType.FormattingEnabled = true; - this.ppCmbxChgBarTxtType.Location = new System.Drawing.Point(81, 68); + this.ppCmbxChgBarTxtType.Location = new System.Drawing.Point(97, 36); 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.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"; @@ -328,11 +328,12 @@ 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(83, 15); + this.ppCmbxChgBarPos.Location = new System.Drawing.Point(97, 97); 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"; this.ppCmbxChgBarPos.SelectedValueChanged += new System.EventHandler(this.ppCmbxChgBarPos_SelectedValueChanged); @@ -342,7 +343,7 @@ namespace VEPROMS this.ppLblChgBarTxtTypeDefault.AutoSize = true; this.ppLblChgBarTxtTypeDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblChgBarTxtTypeDefault.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.ppLblChgBarTxtTypeDefault.Location = new System.Drawing.Point(79, 94); + this.ppLblChgBarTxtTypeDefault.Location = new System.Drawing.Point(95, 62); this.ppLblChgBarTxtTypeDefault.Name = "ppLblChgBarTxtTypeDefault"; this.ppLblChgBarTxtTypeDefault.Size = new System.Drawing.Size(107, 17); this.superTooltip1.SetSuperTooltip(this.ppLblChgBarTxtTypeDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Custom Change Bar Text Type", "", "Pressing the Default Button (to the right) will set the Cusotom Change Bar Positi" + @@ -355,13 +356,14 @@ namespace VEPROMS this.ppLblChgBarPosDefault.AutoSize = true; this.ppLblChgBarPosDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblChgBarPosDefault.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.ppLblChgBarPosDefault.Location = new System.Drawing.Point(84, 41); + this.ppLblChgBarPosDefault.Location = new System.Drawing.Point(99, 122); this.ppLblChgBarPosDefault.Name = "ppLblChgBarPosDefault"; this.ppLblChgBarPosDefault.Size = new System.Drawing.Size(107, 17); this.superTooltip1.SetSuperTooltip(this.ppLblChgBarPosDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Custom Change Bar Position", "", "Pressing the Default Button (to the right) will set the Cusotom Change Bar Positi" + "on setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(300, 80))); this.ppLblChgBarPosDefault.TabIndex = 12; this.ppLblChgBarPosDefault.Text = "(default setting)"; + this.ppLblChgBarPosDefault.Visible = false; // // ppBtnDefCbTxt2 // @@ -466,7 +468,7 @@ namespace VEPROMS // label13 // this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(5, 70); + this.label13.Location = new System.Drawing.Point(21, 38); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(71, 17); this.label13.TabIndex = 8; @@ -475,11 +477,12 @@ namespace VEPROMS // label12 // this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(20, 17); + this.label12.Location = new System.Drawing.Point(34, 99); 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; // // label10 // @@ -757,7 +760,6 @@ namespace VEPROMS this.ppBtnDeftDisAutoDuplx.TabIndex = 62; this.ppBtnDeftDisAutoDuplx.Text = "Default"; this.ppBtnDeftDisAutoDuplx.ThemeAware = true; - this.ppBtnDeftDisAutoDuplx.Visible = false; this.ppBtnDeftDisAutoDuplx.Click += new System.EventHandler(this.ppBtnDeftDisAutoDuplx_Click); // // ppBtnDefWatermark @@ -939,7 +941,7 @@ namespace VEPROMS this.ppGpbxUserSpecCB.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.superTooltip1.SetSuperTooltip(this.ppGpbxUserSpecCB, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar Override Settings", "", resources.GetString("ppGpbxUserSpecCB.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(230, 155))); this.ppGpbxUserSpecCB.TabIndex = 49; - this.ppGpbxUserSpecCB.Text = "Change Bar Override Settings"; + this.ppGpbxUserSpecCB.Text = "Custom Change Bar Text"; // // ppGpbxUserSpecTxt // @@ -989,7 +991,7 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.StyleMouseOver.Class = ""; this.ppGpbxUserSpecTxt.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ppGpbxUserSpecTxt.TabIndex = 51; - this.ppGpbxUserSpecTxt.Text = "Custom Change Bar Message"; + this.ppGpbxUserSpecTxt.Text = "Change Bar Text"; // // ppLblDefSettingsInfo // @@ -1034,6 +1036,75 @@ namespace VEPROMS this.tcVersions.TabsVisible = false; this.tcVersions.Text = "tabControl1"; // + // tcpFormatSettings + // + this.tcpFormatSettings.Controls.Add(this.ppGpbxUserSpecCB); + this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultChgBar); + this.tcpFormatSettings.Controls.Add(this.ppCmbxFormat); + this.tcpFormatSettings.Controls.Add(this.ppCmbxChangeBarType); + this.tcpFormatSettings.Controls.Add(this.label11); + this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultFmt); + this.tcpFormatSettings.Controls.Add(this.label10); + this.tcpFormatSettings.Controls.Add(this.ppLblChangeBarTypeDefault); + this.tcpFormatSettings.Controls.Add(this.ppLblFormatDefault); + this.tcpFormatSettings.Dock = System.Windows.Forms.DockStyle.Fill; + this.tcpFormatSettings.Location = new System.Drawing.Point(0, 24); + this.tcpFormatSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tcpFormatSettings.Name = "tcpFormatSettings"; + this.tcpFormatSettings.Padding = new System.Windows.Forms.Padding(1); + this.tcpFormatSettings.Size = new System.Drawing.Size(657, 349); + this.tcpFormatSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); + this.tcpFormatSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); + this.tcpFormatSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tcpFormatSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); + this.tcpFormatSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tcpFormatSettings.Style.GradientAngle = 90; + this.tcpFormatSettings.TabIndex = 4; + this.tcpFormatSettings.TabItem = this.tiFmtSettings; + this.tcpFormatSettings.Enter += new System.EventHandler(this.tabpage_Enter); + // + // tiFmtSettings + // + this.tiFmtSettings.AttachedControl = this.tcpFormatSettings; + this.tiFmtSettings.Name = "tiFmtSettings"; + this.tiFmtSettings.Text = "Format Settings"; + // + // tcpGeneral + // + this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.tcpGeneral.Controls.Add(this.ppCmbxProcSetType); + this.tcpGeneral.Controls.Add(this.ppRTxtName); + this.tcpGeneral.Controls.Add(this.label9); + this.tcpGeneral.Controls.Add(this.label4); + this.tcpGeneral.Controls.Add(this.label3); + this.tcpGeneral.Controls.Add(this.ppRTxtTitle); + this.tcpGeneral.Controls.Add(this.ppTxtBxUserID); + this.tcpGeneral.Controls.Add(this.ppDTPicker); + this.tcpGeneral.Controls.Add(this.label2); + this.tcpGeneral.Controls.Add(this.label1); + this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill; + this.tcpGeneral.Location = new System.Drawing.Point(0, 24); + this.tcpGeneral.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tcpGeneral.Name = "tcpGeneral"; + this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1); + this.tcpGeneral.Size = new System.Drawing.Size(657, 349); + this.tcpGeneral.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); + this.tcpGeneral.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); + this.tcpGeneral.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tcpGeneral.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); + this.tcpGeneral.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tcpGeneral.Style.GradientAngle = 90; + this.tcpGeneral.TabIndex = 1; + this.tcpGeneral.TabItem = this.tiGeneral; + // + // tiGeneral + // + this.tiGeneral.AttachedControl = this.tcpGeneral; + this.tiGeneral.Name = "tiGeneral"; + this.tiGeneral.Text = "General"; + // // tcpOutputSettings // this.tcpOutputSettings.Controls.Add(this.ppTxtBxPDFLoc); @@ -1055,10 +1126,10 @@ namespace VEPROMS this.tcpOutputSettings.Name = "tcpOutputSettings"; this.tcpOutputSettings.Padding = new System.Windows.Forms.Padding(1); this.tcpOutputSettings.Size = new System.Drawing.Size(657, 349); - this.tcpOutputSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tcpOutputSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tcpOutputSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); + this.tcpOutputSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); this.tcpOutputSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpOutputSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tcpOutputSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); this.tcpOutputSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tcpOutputSettings.Style.GradientAngle = 90; @@ -1150,40 +1221,6 @@ namespace VEPROMS this.tiOutputSettings.Name = "tiOutputSettings"; this.tiOutputSettings.Text = "Output Settings"; // - // tcpFormatSettings - // - this.tcpFormatSettings.Controls.Add(this.ppGpbxUserSpecCB); - this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultChgBar); - this.tcpFormatSettings.Controls.Add(this.ppCmbxFormat); - this.tcpFormatSettings.Controls.Add(this.ppCmbxChangeBarType); - this.tcpFormatSettings.Controls.Add(this.label11); - this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultFmt); - this.tcpFormatSettings.Controls.Add(this.label10); - this.tcpFormatSettings.Controls.Add(this.ppLblChangeBarTypeDefault); - this.tcpFormatSettings.Controls.Add(this.ppLblFormatDefault); - this.tcpFormatSettings.Dock = System.Windows.Forms.DockStyle.Fill; - this.tcpFormatSettings.Location = new System.Drawing.Point(0, 24); - this.tcpFormatSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.tcpFormatSettings.Name = "tcpFormatSettings"; - this.tcpFormatSettings.Padding = new System.Windows.Forms.Padding(1); - this.tcpFormatSettings.Size = new System.Drawing.Size(657, 349); - this.tcpFormatSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tcpFormatSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); - this.tcpFormatSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpFormatSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); - this.tcpFormatSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) - | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tcpFormatSettings.Style.GradientAngle = 90; - this.tcpFormatSettings.TabIndex = 4; - this.tcpFormatSettings.TabItem = this.tiFmtSettings; - this.tcpFormatSettings.Enter += new System.EventHandler(this.tabpage_Enter); - // - // tiFmtSettings - // - this.tiFmtSettings.AttachedControl = this.tcpFormatSettings; - this.tiFmtSettings.Name = "tiFmtSettings"; - this.tiFmtSettings.Text = "Format Settings"; - // // tcpRefereceObjects // this.tcpRefereceObjects.Controls.Add(this.tbRoDb); @@ -1198,10 +1235,10 @@ namespace VEPROMS this.tcpRefereceObjects.Name = "tcpRefereceObjects"; this.tcpRefereceObjects.Padding = new System.Windows.Forms.Padding(1); this.tcpRefereceObjects.Size = new System.Drawing.Size(657, 349); - this.tcpRefereceObjects.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tcpRefereceObjects.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tcpRefereceObjects.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); + this.tcpRefereceObjects.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); this.tcpRefereceObjects.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpRefereceObjects.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tcpRefereceObjects.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); this.tcpRefereceObjects.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tcpRefereceObjects.Style.GradientAngle = 90; @@ -1303,41 +1340,6 @@ namespace VEPROMS this.tiRefObjs.Name = "tiRefObjs"; this.tiRefObjs.Text = "Referenced Objects"; // - // tcpGeneral - // - this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.tcpGeneral.Controls.Add(this.ppCmbxProcSetType); - this.tcpGeneral.Controls.Add(this.ppRTxtName); - this.tcpGeneral.Controls.Add(this.label9); - this.tcpGeneral.Controls.Add(this.label4); - this.tcpGeneral.Controls.Add(this.label3); - this.tcpGeneral.Controls.Add(this.ppRTxtTitle); - this.tcpGeneral.Controls.Add(this.ppTxtBxUserID); - this.tcpGeneral.Controls.Add(this.ppDTPicker); - this.tcpGeneral.Controls.Add(this.label2); - this.tcpGeneral.Controls.Add(this.label1); - this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill; - this.tcpGeneral.Location = new System.Drawing.Point(0, 24); - this.tcpGeneral.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.tcpGeneral.Name = "tcpGeneral"; - this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1); - this.tcpGeneral.Size = new System.Drawing.Size(657, 349); - this.tcpGeneral.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tcpGeneral.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); - this.tcpGeneral.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpGeneral.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); - this.tcpGeneral.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) - | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tcpGeneral.Style.GradientAngle = 90; - this.tcpGeneral.TabIndex = 1; - this.tcpGeneral.TabItem = this.tiGeneral; - // - // tiGeneral - // - this.tiGeneral.AttachedControl = this.tcpGeneral; - this.tiGeneral.Name = "tiGeneral"; - this.tiGeneral.Text = "General"; - // // tabControlPanel5 // this.tabControlPanel5.AutoScroll = true; @@ -1348,10 +1350,10 @@ namespace VEPROMS this.tabControlPanel5.Name = "tabControlPanel5"; this.tabControlPanel5.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel5.Size = new System.Drawing.Size(657, 349); - this.tabControlPanel5.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tabControlPanel5.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tabControlPanel5.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); + this.tabControlPanel5.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); this.tabControlPanel5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel5.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tabControlPanel5.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); this.tabControlPanel5.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel5.Style.GradientAngle = 90; @@ -1539,17 +1541,17 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tcVersions)).EndInit(); this.tcVersions.ResumeLayout(false); + this.tcpFormatSettings.ResumeLayout(false); + this.tcpFormatSettings.PerformLayout(); + this.tcpGeneral.ResumeLayout(false); + this.tcpGeneral.PerformLayout(); this.tcpOutputSettings.ResumeLayout(false); this.tcpOutputSettings.PerformLayout(); this.ppGrpbxPrnAdj.ResumeLayout(false); this.ppGrpbxPrnAdj.PerformLayout(); - this.tcpFormatSettings.ResumeLayout(false); - this.tcpFormatSettings.PerformLayout(); this.tcpRefereceObjects.ResumeLayout(false); this.tcpRefereceObjects.PerformLayout(); this.ppGpbxUpROvals.ResumeLayout(false); - this.tcpGeneral.ResumeLayout(false); - this.tcpGeneral.PerformLayout(); this.tabControlPanel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).EndInit(); diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs index 2c6e9c86..e6156511 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs @@ -224,6 +224,24 @@ namespace VEPROMS btnRoDbProperties.Visible = tbRoDb.Visible = !(_DocVersionConfig.MyDocVersion.DocVersionAssociationCount == 0); ppBtnUpRoVals.Enabled = !(_DocVersionConfig.MyDocVersion.DocVersionAssociationCount == 0); // only allow update if association + // Set the auto duplex controls based on whether the format allows this: + // Note that the controls' visibility would not set correctly using the following two lines of code. That + // is why the more explicit logic was done. + //ppChbxDisAutoDuplex.Visible = _DocVersionConfig.MyDocVersion.MyFormat.PlantFormat.FormatData.PrintData.AllowDuplex; + //ppLblAutoDuplexDefault.Visible = ppBtnDeftDisAutoDuplx.Visible = ppLblAutoDuplexDefault.Visible; + if (_DocVersionConfig.MyDocVersion.MyFormat.PlantFormat.FormatData.PrintData.AllowDuplex) + { + ppChbxDisAutoDuplex.Visible = true; + ppLblAutoDuplexDefault.Visible = true; + ppBtnDeftDisAutoDuplx.Visible = true; + } + else + { + ppChbxDisAutoDuplex.Visible = false; + ppLblAutoDuplexDefault.Visible = false; + ppBtnDeftDisAutoDuplx.Visible = false; + } + _Initializing = false; }