From 160a6efbc84c2e7a8eeca4f8d8d6d8ddea1faf9f Mon Sep 17 00:00:00 2001 From: Jsj Date: Wed, 26 Mar 2008 18:38:12 +0000 Subject: [PATCH] hide various fields not currently needed --- .../frmVersionsProperties.Designer.cs | 377 +++++++++--------- .../frmVersionsProperties.cs | 183 +++++++-- .../frmVersionsProperties.resx | 31 +- 3 files changed, 358 insertions(+), 233 deletions(-) diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs index 7e93a42d..d13e401c 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs @@ -120,19 +120,19 @@ namespace VEPROMS this.ppLblDefSettingsInfo = new System.Windows.Forms.Label(); this.dlgROFolder = new System.Windows.Forms.FolderBrowserDialog(); this.tcVersions = new DevComponents.DotNetBar.TabControl(); - this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel(); - this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); - this.tiFmtSettings = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel5 = new DevComponents.DotNetBar.TabControlPanel(); - this.tiLibDocs = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); - this.ppGrpbxPrnAdj = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.tiOutputSettings = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel(); this.ppGpbxUpROvals = new DevComponents.DotNetBar.Controls.GroupPanel(); this.ppGpbxDefAccID = new DevComponents.DotNetBar.Controls.GroupPanel(); this.tiRefObjs = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel(); + this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel5 = new DevComponents.DotNetBar.TabControlPanel(); + this.tiLibDocs = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); + this.tiFmtSettings = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); + this.ppGrpbxPrnAdj = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.tiOutputSettings = new DevComponents.DotNetBar.TabItem(this.components); this.panVerBtns = new System.Windows.Forms.Panel(); this.btnLibDocs = new DevComponents.DotNetBar.ButtonX(); this.btnFmtSettings = new DevComponents.DotNetBar.ButtonX(); @@ -151,14 +151,14 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tcVersions)).BeginInit(); this.tcVersions.SuspendLayout(); - this.tabControlPanel1.SuspendLayout(); - this.tabControlPanel4.SuspendLayout(); - this.tabControlPanel5.SuspendLayout(); - this.tabControlPanel3.SuspendLayout(); - this.ppGrpbxPrnAdj.SuspendLayout(); this.tabControlPanel2.SuspendLayout(); this.ppGpbxUpROvals.SuspendLayout(); this.ppGpbxDefAccID.SuspendLayout(); + this.tabControlPanel1.SuspendLayout(); + this.tabControlPanel5.SuspendLayout(); + this.tabControlPanel4.SuspendLayout(); + this.tabControlPanel3.SuspendLayout(); + this.ppGrpbxPrnAdj.SuspendLayout(); this.panVerBtns.SuspendLayout(); this.SuspendLayout(); // @@ -499,7 +499,7 @@ namespace VEPROMS // this.ppBtnFldrDlg.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnFldrDlg.Image = ((System.Drawing.Image)(resources.GetObject("ppBtnFldrDlg.Image"))); - this.ppBtnFldrDlg.Location = new System.Drawing.Point(624, 4); + this.ppBtnFldrDlg.Location = new System.Drawing.Point(625, 18); this.ppBtnFldrDlg.Name = "ppBtnFldrDlg"; this.ppBtnFldrDlg.Size = new System.Drawing.Size(22, 23); this.ppBtnFldrDlg.TabIndex = 44; @@ -511,7 +511,7 @@ namespace VEPROMS // // this.ppTxbxRoFoldLoc.Border.Class = "TextBoxBorder"; - this.ppTxbxRoFoldLoc.Location = new System.Drawing.Point(87, 4); + this.ppTxbxRoFoldLoc.Location = new System.Drawing.Point(88, 18); this.ppTxbxRoFoldLoc.Name = "ppTxbxRoFoldLoc"; this.ppTxbxRoFoldLoc.Size = new System.Drawing.Size(531, 22); this.ppTxbxRoFoldLoc.TabIndex = 43; @@ -523,7 +523,7 @@ namespace VEPROMS // this.ppBtnDefaultGrfExt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnDefaultGrfExt.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppBtnDefaultGrfExt.Location = new System.Drawing.Point(477, 68); + this.ppBtnDefaultGrfExt.Location = new System.Drawing.Point(477, 80); this.ppBtnDefaultGrfExt.Name = "ppBtnDefaultGrfExt"; this.ppBtnDefaultGrfExt.Size = new System.Drawing.Size(53, 23); this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultGrfExt, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefaultGrfExt.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(265, 150))); @@ -545,7 +545,7 @@ namespace VEPROMS this.ppCmbxDefROPrefix.TabIndex = 26; this.ppCmbxDefROPrefix.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppCmbxDefROPrefix.WatermarkText = "Select RO Prefix"; - this.ppCmbxDefROPrefix.TextChanged += new System.EventHandler(this.ppCmbxDefROPrefix_TextChanged); + this.ppCmbxDefROPrefix.SelectedValueChanged += new System.EventHandler(this.ppCmbxDefROPrefix_SelectedValueChanged); // // ppBtnDefaultImgPrefix // @@ -619,7 +619,7 @@ namespace VEPROMS this.ppCmbxDefImgPrefix.TabIndex = 27; this.ppCmbxDefImgPrefix.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppCmbxDefImgPrefix.WatermarkText = "Select Image Prefix"; - this.ppCmbxDefImgPrefix.TextChanged += new System.EventHandler(this.ppCmbxDefImgPrefix_TextChanged); + this.ppCmbxDefImgPrefix.SelectedValueChanged += new System.EventHandler(this.ppCmbxDefImgPrefix_SelectedValueChanged); // // ppLblImagePrefixDefault // @@ -639,7 +639,7 @@ namespace VEPROMS this.ppLblROFldrLocDefault.BackColor = System.Drawing.Color.Transparent; this.ppLblROFldrLocDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblROFldrLocDefault.ForeColor = System.Drawing.SystemColors.ControlDarkDark; - this.ppLblROFldrLocDefault.Location = new System.Drawing.Point(92, 29); + this.ppLblROFldrLocDefault.Location = new System.Drawing.Point(93, 43); this.ppLblROFldrLocDefault.Name = "ppLblROFldrLocDefault"; this.ppLblROFldrLocDefault.Size = new System.Drawing.Size(371, 17); this.ppLblROFldrLocDefault.TabIndex = 38; @@ -654,7 +654,7 @@ namespace VEPROMS this.ppCmbxGrphFileExt.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ppCmbxGrphFileExt.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxGrphFileExt.FormattingEnabled = true; - this.ppCmbxGrphFileExt.Location = new System.Drawing.Point(217, 68); + this.ppCmbxGrphFileExt.Location = new System.Drawing.Point(217, 80); this.ppCmbxGrphFileExt.Name = "ppCmbxGrphFileExt"; this.ppCmbxGrphFileExt.Size = new System.Drawing.Size(254, 23); this.ppCmbxGrphFileExt.TabIndex = 25; @@ -673,7 +673,7 @@ namespace VEPROMS this.ppLblGraphicFileExtDefault.BackColor = System.Drawing.Color.Transparent; this.ppLblGraphicFileExtDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblGraphicFileExtDefault.ForeColor = System.Drawing.Color.Gray; - this.ppLblGraphicFileExtDefault.Location = new System.Drawing.Point(216, 94); + this.ppLblGraphicFileExtDefault.Location = new System.Drawing.Point(216, 106); this.ppLblGraphicFileExtDefault.Name = "ppLblGraphicFileExtDefault"; this.ppLblGraphicFileExtDefault.Size = new System.Drawing.Size(61, 17); this.ppLblGraphicFileExtDefault.TabIndex = 21; @@ -681,18 +681,21 @@ namespace VEPROMS // // ppBtnResetRoVals // - this.ppBtnResetRoVals.Location = new System.Drawing.Point(133, 26); + this.ppBtnResetRoVals.Location = new System.Drawing.Point(37, 104); this.ppBtnResetRoVals.Name = "ppBtnResetRoVals"; this.ppBtnResetRoVals.Size = new System.Drawing.Size(72, 77); this.ppBtnResetRoVals.TabIndex = 20; this.ppBtnResetRoVals.Text = "Reset to Previous Values"; this.ppBtnResetRoVals.UseVisualStyleBackColor = true; + this.ppBtnResetRoVals.Visible = false; // // ppBtnUpRoVals // - this.ppBtnUpRoVals.Location = new System.Drawing.Point(32, 26); + this.ppBtnUpRoVals.Location = new System.Drawing.Point(37, 25); this.ppBtnUpRoVals.Name = "ppBtnUpRoVals"; this.ppBtnUpRoVals.Size = new System.Drawing.Size(67, 77); + this.superTooltip1.SetSuperTooltip(this.ppBtnUpRoVals, new DevComponents.DotNetBar.SuperTooltipInfo("Update Referenced Objects Values", "", "This button will update all of the Referenced Objects Values in all of the proced" + + "ures in this procedure set.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.ppBtnUpRoVals.TabIndex = 19; this.ppBtnUpRoVals.Text = "Update RO Values"; this.ppBtnUpRoVals.UseVisualStyleBackColor = true; @@ -701,7 +704,7 @@ namespace VEPROMS // this.label6.AutoSize = true; this.label6.BackColor = System.Drawing.Color.Transparent; - this.label6.Location = new System.Drawing.Point(11, 7); + this.label6.Location = new System.Drawing.Point(12, 21); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(73, 17); this.label6.TabIndex = 12; @@ -711,7 +714,7 @@ namespace VEPROMS // this.label5.AutoSize = true; this.label5.BackColor = System.Drawing.Color.Transparent; - this.label5.Location = new System.Drawing.Point(62, 68); + this.label5.Location = new System.Drawing.Point(62, 80); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(149, 17); this.label5.TabIndex = 7; @@ -758,6 +761,7 @@ namespace VEPROMS this.ppRTxtTitle.Size = new System.Drawing.Size(541, 60); this.ppRTxtTitle.TabIndex = 13; this.ppRTxtTitle.Text = ""; + this.ppRTxtTitle.Visible = false; // // ppDTPicker // @@ -768,6 +772,7 @@ namespace VEPROMS this.ppDTPicker.Name = "ppDTPicker"; this.ppDTPicker.Size = new System.Drawing.Size(172, 22); this.ppDTPicker.TabIndex = 12; + this.ppDTPicker.Visible = false; // // label1 // @@ -778,6 +783,7 @@ namespace VEPROMS this.label1.Size = new System.Drawing.Size(35, 17); this.label1.TabIndex = 3; this.label1.Text = "Title"; + this.label1.Visible = false; // // label2 // @@ -796,6 +802,7 @@ namespace VEPROMS this.ppTxtBxUserID.Name = "ppTxtBxUserID"; this.ppTxtBxUserID.Size = new System.Drawing.Size(154, 22); this.ppTxtBxUserID.TabIndex = 10; + this.ppTxtBxUserID.Visible = false; // // label3 // @@ -806,6 +813,7 @@ namespace VEPROMS this.label3.Size = new System.Drawing.Size(55, 17); this.label3.TabIndex = 5; this.label3.Text = "User ID"; + this.label3.Visible = false; // // label4 // @@ -816,12 +824,13 @@ namespace VEPROMS this.label4.Size = new System.Drawing.Size(73, 17); this.label4.TabIndex = 6; this.label4.Text = "Date/Time"; + this.label4.Visible = false; // // ppBtnPDFLoc // this.ppBtnPDFLoc.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnPDFLoc.Image = ((System.Drawing.Image)(resources.GetObject("ppBtnPDFLoc.Image"))); - this.ppBtnPDFLoc.Location = new System.Drawing.Point(617, 6); + this.ppBtnPDFLoc.Location = new System.Drawing.Point(617, 15); this.ppBtnPDFLoc.Name = "ppBtnPDFLoc"; this.ppBtnPDFLoc.Size = new System.Drawing.Size(22, 23); this.ppBtnPDFLoc.TabIndex = 64; @@ -1007,7 +1016,7 @@ namespace VEPROMS // // ppTxtBxPDFLoc // - this.ppTxtBxPDFLoc.Location = new System.Drawing.Point(107, 6); + this.ppTxtBxPDFLoc.Location = new System.Drawing.Point(107, 15); this.ppTxtBxPDFLoc.Name = "ppTxtBxPDFLoc"; this.ppTxtBxPDFLoc.Size = new System.Drawing.Size(504, 22); this.ppTxtBxPDFLoc.TabIndex = 55; @@ -1016,7 +1025,7 @@ namespace VEPROMS // this.label18.AutoSize = true; this.label18.BackColor = System.Drawing.Color.Transparent; - this.label18.Location = new System.Drawing.Point(8, 6); + this.label18.Location = new System.Drawing.Point(8, 15); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(93, 17); this.label18.TabIndex = 54; @@ -1224,11 +1233,11 @@ namespace VEPROMS | System.Windows.Forms.AnchorStyles.Right))); this.tcVersions.BackColor = System.Drawing.Color.Transparent; this.tcVersions.CanReorderTabs = true; - this.tcVersions.Controls.Add(this.tabControlPanel4); - this.tcVersions.Controls.Add(this.tabControlPanel5); - this.tcVersions.Controls.Add(this.tabControlPanel3); this.tcVersions.Controls.Add(this.tabControlPanel2); this.tcVersions.Controls.Add(this.tabControlPanel1); + this.tcVersions.Controls.Add(this.tabControlPanel5); + this.tcVersions.Controls.Add(this.tabControlPanel4); + this.tcVersions.Controls.Add(this.tabControlPanel3); this.tcVersions.Location = new System.Drawing.Point(174, 4); this.tcVersions.Name = "tcVersions"; this.tcVersions.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold); @@ -1245,6 +1254,112 @@ namespace VEPROMS this.tcVersions.TabsVisible = false; this.tcVersions.Text = "tabControl1"; // + // tabControlPanel2 + // + this.tabControlPanel2.Controls.Add(this.ppGpbxUpROvals); + this.tabControlPanel2.Controls.Add(this.ppGpbxDefAccID); + this.tabControlPanel2.Controls.Add(this.ppBtnFldrDlg); + this.tabControlPanel2.Controls.Add(this.ppTxbxRoFoldLoc); + this.tabControlPanel2.Controls.Add(this.label5); + this.tabControlPanel2.Controls.Add(this.ppBtnDefaultGrfExt); + this.tabControlPanel2.Controls.Add(this.label6); + this.tabControlPanel2.Controls.Add(this.ppLblROFldrLocDefault); + this.tabControlPanel2.Controls.Add(this.ppLblGraphicFileExtDefault); + this.tabControlPanel2.Controls.Add(this.ppCmbxGrphFileExt); + this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControlPanel2.Location = new System.Drawing.Point(0, 24); + this.tabControlPanel2.Name = "tabControlPanel2"; + this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanel2.Size = new System.Drawing.Size(657, 321); + 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.tiRefObjs; + this.tabControlPanel2.Click += new System.EventHandler(this.tabpage_Enter); + // + // ppGpbxUpROvals + // + this.ppGpbxUpROvals.BackColor = System.Drawing.Color.Transparent; + this.ppGpbxUpROvals.CanvasColor = System.Drawing.SystemColors.Control; + this.ppGpbxUpROvals.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.ppGpbxUpROvals.Controls.Add(this.ppBtnResetRoVals); + this.ppGpbxUpROvals.Controls.Add(this.ppBtnUpRoVals); + this.ppGpbxUpROvals.Location = new System.Drawing.Point(437, 139); + this.ppGpbxUpROvals.Name = "ppGpbxUpROvals"; + this.ppGpbxUpROvals.Size = new System.Drawing.Size(150, 154); + // + // + // + this.ppGpbxUpROvals.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.ppGpbxUpROvals.Style.BackColorGradientAngle = 90; + this.ppGpbxUpROvals.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.ppGpbxUpROvals.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxUpROvals.Style.BorderBottomWidth = 1; + this.ppGpbxUpROvals.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.ppGpbxUpROvals.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxUpROvals.Style.BorderLeftWidth = 1; + this.ppGpbxUpROvals.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxUpROvals.Style.BorderRightWidth = 1; + this.ppGpbxUpROvals.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxUpROvals.Style.BorderTopWidth = 1; + this.ppGpbxUpROvals.Style.CornerDiameter = 4; + this.ppGpbxUpROvals.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.ppGpbxUpROvals.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.ppGpbxUpROvals.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.ppGpbxUpROvals.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + this.ppGpbxUpROvals.TabIndex = 46; + this.ppGpbxUpROvals.Text = "RO Values"; + // + // ppGpbxDefAccID + // + this.ppGpbxDefAccID.BackColor = System.Drawing.Color.Transparent; + this.ppGpbxDefAccID.CanvasColor = System.Drawing.SystemColors.Control; + this.ppGpbxDefAccID.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.ppGpbxDefAccID.Controls.Add(this.ppCmbxDefROPrefix); + this.ppGpbxDefAccID.Controls.Add(this.label7); + this.ppGpbxDefAccID.Controls.Add(this.ppBtnDefaultImgPrefix); + this.ppGpbxDefAccID.Controls.Add(this.ppLblImagePrefixDefault); + this.ppGpbxDefAccID.Controls.Add(this.ppCmbxDefImgPrefix); + this.ppGpbxDefAccID.Controls.Add(this.ppBtnDefaultROPrefix); + this.ppGpbxDefAccID.Controls.Add(this.ppLblROPrefixDefault); + this.ppGpbxDefAccID.Controls.Add(this.label8); + this.ppGpbxDefAccID.Location = new System.Drawing.Point(22, 137); + this.ppGpbxDefAccID.Name = "ppGpbxDefAccID"; + this.ppGpbxDefAccID.Size = new System.Drawing.Size(349, 169); + // + // + // + this.ppGpbxDefAccID.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.ppGpbxDefAccID.Style.BackColorGradientAngle = 90; + this.ppGpbxDefAccID.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.ppGpbxDefAccID.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxDefAccID.Style.BorderBottomWidth = 1; + this.ppGpbxDefAccID.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.ppGpbxDefAccID.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxDefAccID.Style.BorderLeftWidth = 1; + this.ppGpbxDefAccID.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxDefAccID.Style.BorderRightWidth = 1; + this.ppGpbxDefAccID.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.ppGpbxDefAccID.Style.BorderTopWidth = 1; + this.ppGpbxDefAccID.Style.CornerDiameter = 4; + this.ppGpbxDefAccID.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.ppGpbxDefAccID.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.ppGpbxDefAccID.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.ppGpbxDefAccID.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + this.ppGpbxDefAccID.TabIndex = 45; + this.ppGpbxDefAccID.Text = "Default Accessory Page ID"; + // + // tiRefObjs + // + this.tiRefObjs.AttachedControl = this.tabControlPanel2; + this.tiRefObjs.Name = "tiRefObjs"; + this.tiRefObjs.Text = "Referenced Objects"; + // // tabControlPanel1 // this.tabControlPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; @@ -1263,10 +1378,10 @@ namespace VEPROMS this.tabControlPanel1.Name = "tabControlPanel1"; this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel1.Size = new System.Drawing.Size(657, 321); - this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); - this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); + 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)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); + 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; @@ -1279,6 +1394,33 @@ namespace VEPROMS this.tiGeneral.Name = "tiGeneral"; this.tiGeneral.Text = "General"; // + // tabControlPanel5 + // + this.tabControlPanel5.Controls.Add(this.ppBtnEdLibDoc); + this.tabControlPanel5.Controls.Add(this.ppGrdLibDocList); + this.tabControlPanel5.Controls.Add(this.ppBtnDelLibDoc); + this.tabControlPanel5.Controls.Add(this.ppBtnAddLibDoc); + this.tabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControlPanel5.Location = new System.Drawing.Point(0, 24); + this.tabControlPanel5.Name = "tabControlPanel5"; + this.tabControlPanel5.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanel5.Size = new System.Drawing.Size(657, 321); + 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.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.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tabControlPanel5.Style.GradientAngle = 90; + this.tabControlPanel5.TabIndex = 5; + this.tabControlPanel5.TabItem = this.tiLibDocs; + // + // tiLibDocs + // + this.tiLibDocs.AttachedControl = this.tabControlPanel5; + this.tiLibDocs.Name = "tiLibDocs"; + this.tiLibDocs.Text = "Library Documents"; + // // tabControlPanel4 // this.tabControlPanel4.Controls.Add(this.ppGpbxUserSpecCB); @@ -1295,10 +1437,10 @@ namespace VEPROMS this.tabControlPanel4.Name = "tabControlPanel4"; this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel4.Size = new System.Drawing.Size(657, 321); - this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); - this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); + this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); + this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); + this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel4.Style.GradientAngle = 90; @@ -1312,33 +1454,6 @@ namespace VEPROMS this.tiFmtSettings.Name = "tiFmtSettings"; this.tiFmtSettings.Text = "Format Settings"; // - // tabControlPanel5 - // - this.tabControlPanel5.Controls.Add(this.ppBtnEdLibDoc); - this.tabControlPanel5.Controls.Add(this.ppGrdLibDocList); - this.tabControlPanel5.Controls.Add(this.ppBtnDelLibDoc); - this.tabControlPanel5.Controls.Add(this.ppBtnAddLibDoc); - this.tabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel5.Location = new System.Drawing.Point(0, 24); - this.tabControlPanel5.Name = "tabControlPanel5"; - this.tabControlPanel5.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel5.Size = new System.Drawing.Size(657, 321); - 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)(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; - this.tabControlPanel5.TabIndex = 5; - this.tabControlPanel5.TabItem = this.tiLibDocs; - // - // tiLibDocs - // - this.tiLibDocs.AttachedControl = this.tabControlPanel5; - this.tiLibDocs.Name = "tiLibDocs"; - this.tiLibDocs.Text = "Library Documents"; - // // tabControlPanel3 // this.tabControlPanel3.Controls.Add(this.ppGrpbxPrnAdj); @@ -1361,10 +1476,10 @@ namespace VEPROMS this.tabControlPanel3.Name = "tabControlPanel3"; this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel3.Size = new System.Drawing.Size(657, 321); - this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); - this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); + this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); + this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); + this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel3.Style.GradientAngle = 90; @@ -1409,7 +1524,7 @@ namespace VEPROMS this.ppGrpbxPrnAdj.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.ppGrpbxPrnAdj.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; this.ppGrpbxPrnAdj.TabIndex = 65; - this.ppGrpbxPrnAdj.Text = "groupPanel1"; + this.ppGrpbxPrnAdj.Text = "Printer Adjustments"; // // tiOutputSettings // @@ -1417,112 +1532,6 @@ namespace VEPROMS this.tiOutputSettings.Name = "tiOutputSettings"; this.tiOutputSettings.Text = "Output Settings"; // - // tabControlPanel2 - // - this.tabControlPanel2.Controls.Add(this.ppGpbxUpROvals); - this.tabControlPanel2.Controls.Add(this.ppGpbxDefAccID); - this.tabControlPanel2.Controls.Add(this.ppBtnFldrDlg); - this.tabControlPanel2.Controls.Add(this.ppTxbxRoFoldLoc); - this.tabControlPanel2.Controls.Add(this.label5); - this.tabControlPanel2.Controls.Add(this.ppBtnDefaultGrfExt); - this.tabControlPanel2.Controls.Add(this.label6); - this.tabControlPanel2.Controls.Add(this.ppLblROFldrLocDefault); - this.tabControlPanel2.Controls.Add(this.ppLblGraphicFileExtDefault); - this.tabControlPanel2.Controls.Add(this.ppCmbxGrphFileExt); - this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel2.Location = new System.Drawing.Point(0, 24); - this.tabControlPanel2.Name = "tabControlPanel2"; - this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel2.Size = new System.Drawing.Size(657, 321); - this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); - this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); - this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); - 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.tiRefObjs; - this.tabControlPanel2.Click += new System.EventHandler(this.tabpage_Enter); - // - // ppGpbxUpROvals - // - this.ppGpbxUpROvals.BackColor = System.Drawing.Color.Transparent; - this.ppGpbxUpROvals.CanvasColor = System.Drawing.SystemColors.Control; - this.ppGpbxUpROvals.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.ppGpbxUpROvals.Controls.Add(this.ppBtnResetRoVals); - this.ppGpbxUpROvals.Controls.Add(this.ppBtnUpRoVals); - this.ppGpbxUpROvals.Location = new System.Drawing.Point(396, 127); - this.ppGpbxUpROvals.Name = "ppGpbxUpROvals"; - this.ppGpbxUpROvals.Size = new System.Drawing.Size(237, 154); - // - // - // - this.ppGpbxUpROvals.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.ppGpbxUpROvals.Style.BackColorGradientAngle = 90; - this.ppGpbxUpROvals.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.ppGpbxUpROvals.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxUpROvals.Style.BorderBottomWidth = 1; - this.ppGpbxUpROvals.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.ppGpbxUpROvals.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxUpROvals.Style.BorderLeftWidth = 1; - this.ppGpbxUpROvals.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxUpROvals.Style.BorderRightWidth = 1; - this.ppGpbxUpROvals.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxUpROvals.Style.BorderTopWidth = 1; - this.ppGpbxUpROvals.Style.CornerDiameter = 4; - this.ppGpbxUpROvals.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.ppGpbxUpROvals.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.ppGpbxUpROvals.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.ppGpbxUpROvals.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - this.ppGpbxUpROvals.TabIndex = 46; - this.ppGpbxUpROvals.Text = "RO Values"; - // - // ppGpbxDefAccID - // - this.ppGpbxDefAccID.BackColor = System.Drawing.Color.Transparent; - this.ppGpbxDefAccID.CanvasColor = System.Drawing.SystemColors.Control; - this.ppGpbxDefAccID.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.ppGpbxDefAccID.Controls.Add(this.ppCmbxDefROPrefix); - this.ppGpbxDefAccID.Controls.Add(this.label7); - this.ppGpbxDefAccID.Controls.Add(this.ppBtnDefaultImgPrefix); - this.ppGpbxDefAccID.Controls.Add(this.ppLblImagePrefixDefault); - this.ppGpbxDefAccID.Controls.Add(this.ppCmbxDefImgPrefix); - this.ppGpbxDefAccID.Controls.Add(this.ppBtnDefaultROPrefix); - this.ppGpbxDefAccID.Controls.Add(this.ppLblROPrefixDefault); - this.ppGpbxDefAccID.Controls.Add(this.label8); - this.ppGpbxDefAccID.Location = new System.Drawing.Point(22, 125); - this.ppGpbxDefAccID.Name = "ppGpbxDefAccID"; - this.ppGpbxDefAccID.Size = new System.Drawing.Size(349, 169); - // - // - // - this.ppGpbxDefAccID.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.ppGpbxDefAccID.Style.BackColorGradientAngle = 90; - this.ppGpbxDefAccID.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.ppGpbxDefAccID.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxDefAccID.Style.BorderBottomWidth = 1; - this.ppGpbxDefAccID.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.ppGpbxDefAccID.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxDefAccID.Style.BorderLeftWidth = 1; - this.ppGpbxDefAccID.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxDefAccID.Style.BorderRightWidth = 1; - this.ppGpbxDefAccID.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.ppGpbxDefAccID.Style.BorderTopWidth = 1; - this.ppGpbxDefAccID.Style.CornerDiameter = 4; - this.ppGpbxDefAccID.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.ppGpbxDefAccID.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.ppGpbxDefAccID.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.ppGpbxDefAccID.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - this.ppGpbxDefAccID.TabIndex = 45; - this.ppGpbxDefAccID.Text = "Default Accessory Page ID"; - // - // tiRefObjs - // - this.tiRefObjs.AttachedControl = this.tabControlPanel2; - this.tiRefObjs.Name = "tiRefObjs"; - this.tiRefObjs.Text = "Referenced Objects"; - // // panVerBtns // this.panVerBtns.BackColor = System.Drawing.Color.Transparent; @@ -1629,20 +1638,20 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tcVersions)).EndInit(); this.tcVersions.ResumeLayout(false); - this.tabControlPanel1.ResumeLayout(false); - this.tabControlPanel1.PerformLayout(); - this.tabControlPanel4.ResumeLayout(false); - this.tabControlPanel4.PerformLayout(); - this.tabControlPanel5.ResumeLayout(false); - this.tabControlPanel3.ResumeLayout(false); - this.tabControlPanel3.PerformLayout(); - this.ppGrpbxPrnAdj.ResumeLayout(false); - this.ppGrpbxPrnAdj.PerformLayout(); this.tabControlPanel2.ResumeLayout(false); this.tabControlPanel2.PerformLayout(); this.ppGpbxUpROvals.ResumeLayout(false); this.ppGpbxDefAccID.ResumeLayout(false); this.ppGpbxDefAccID.PerformLayout(); + this.tabControlPanel1.ResumeLayout(false); + this.tabControlPanel1.PerformLayout(); + this.tabControlPanel5.ResumeLayout(false); + this.tabControlPanel4.ResumeLayout(false); + this.tabControlPanel4.PerformLayout(); + this.tabControlPanel3.ResumeLayout(false); + this.tabControlPanel3.PerformLayout(); + this.ppGrpbxPrnAdj.ResumeLayout(false); + this.ppGrpbxPrnAdj.PerformLayout(); this.panVerBtns.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs index 3163b072..0dba4cb5 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs @@ -168,26 +168,32 @@ namespace VEPROMS ppCmbxChangeBarType.DataSource = EnumDetail.Details(); ppCmbxChangeBarType.DisplayMember = "Description"; ppCmbxChangeBarType.ValueMember = "EValue"; + ppCmbxChangeBarType.SelectedIndex = -1; ppCmbxChgBarPos.DataSource = EnumDetail.Details(); ppCmbxChgBarPos.DisplayMember = "Description"; ppCmbxChgBarPos.ValueMember = "EValue"; + ppCmbxChgBarPos.SelectedIndex = -1; ppCmbxChgBarTxtType.DataSource = EnumDetail.Details(); ppCmbxChgBarTxtType.DisplayMember = "Description"; ppCmbxChgBarTxtType.ValueMember = "EValue"; + ppCmbxChgBarTxtType.SelectedItem = -1; ppCmbxWatermark.DataSource = EnumDetail.Details(); ppCmbxWatermark.DisplayMember = "Description"; ppCmbxWatermark.ValueMember = "EValue"; + ppCmbxWatermark.SelectedIndex = -1; ppCmbxPagination.DataSource = EnumDetail.Details(); ppCmbxPagination.DisplayMember = "Description"; ppCmbxPagination.ValueMember = "EValue"; + ppCmbxPagination.SelectedIndex = -1; ppCmbxProcSetType.DataSource = EnumDetail.Details(); ppCmbxProcSetType.DisplayMember = "Description"; ppCmbxProcSetType.ValueMember = "EValue"; + ppCmbxProcSetType.Enabled = false; // maybe enable this if used for version creation } @@ -272,40 +278,75 @@ namespace VEPROMS /// EventArgs private void ppCmbxGrphFileExt_SelectedValueChanged(object sender, EventArgs e) { - ProcessCmbxSelectedValueChange(ppCmbxGrphFileExt, _DefaultROGraficFileExtension, ppBtnDefaultGrfExt, ppLblGraphicFileExtDefault); + if (!_Initializing) + ProcessCmbxSelectedValueChange(ppCmbxGrphFileExt, _DefaultROGraficFileExtension, ppBtnDefaultGrfExt, ppLblGraphicFileExtDefault); } + /// + /// Reset to the parent setting. + /// Find the parent setting and assign it to _DocVersionConfig.Graphics_defaultext. + /// This will force the database to be updated. + /// + /// + /// private void ppBtnDefaultGrfExt_Click(object sender, EventArgs e) { + // Compare parent setting with current setting + if (_DefaultROGraficFileExtension.Equals(_DocVersionConfig.Graphics_defaultext)) + _DocVersionConfig.Graphics_defaultext = _DefaultROGraficFileExtension;// this will force a database update (write) ppCmbxGrphFileExt.SelectedIndex = -1; } - private void ppCmbxDefROPrefix_TextChanged(object sender, EventArgs e) + /// + /// Selection in Default RO Prefix combo box changed. + /// + /// object + /// EventArgs + private void ppCmbxDefROPrefix_SelectedValueChanged(object sender, EventArgs e) { - // TEMPORARY - // Just to simulate selection from the drop down list - // Once the DataSource is established, we can use the SelectedValueChanged() - //folderPropROPrefixDefault.Visible = - ppBtnDefaultROPrefix.Visible = (ppCmbxDefROPrefix.SelectedItem != null); + if (!_Initializing) + ProcessCmbxSelectedValueChange(ppCmbxDefROPrefix, _DefaultROPrefix, ppBtnDefaultROPrefix, ppLblROPrefixDefault); } + /// + /// Reset to the parent setting. + /// Find the parent setting and assign it to _DocVersionConfig.Default_SPPrefix. + /// This will force the database to be updated. + /// + /// + /// private void ppBtnDefaultROPrefix_Click(object sender, EventArgs e) { + // Compare parent setting with current setting + if (_DefaultROPrefix.Equals(_DocVersionConfig.RODefaults_setpointprefix)) + _DocVersionConfig.RODefaults_setpointprefix = _DefaultROPrefix;// this will force a database update (write) ppCmbxDefROPrefix.SelectedIndex = -1; } - private void ppCmbxDefImgPrefix_TextChanged(object sender, EventArgs e) + /// + /// Selection in Default Image Prefix combo box changed. + /// + /// object + /// EventArgs + private void ppCmbxDefImgPrefix_SelectedValueChanged(object sender, EventArgs e) { - // TEMPORARY - // Just to simulate selection from the drop down list - // Once the DataSource is established, we can use the SelectedValueChanged() - //folderProptImagePrefixDefault.Visible = - ppBtnDefaultImgPrefix.Visible = (ppCmbxDefImgPrefix.SelectedItem != null); + if (!_Initializing) + ProcessCmbxSelectedValueChange(ppCmbxDefImgPrefix, _DefaultImagePrefix, ppBtnDefaultImgPrefix, ppLblImagePrefixDefault); } + /// + /// Reset to the parent setting. + /// Find the parent setting and assign it to _DocVersionConfig.Default_IMPrefix. + /// This will force the database to be updated. + /// + /// + /// private void ppBtnDefaultImgPrefix_Click(object sender, EventArgs e) { + // Compare parent setting with current setting + if (_DefaultImagePrefix.Equals(_DocVersionConfig.RODefaults_graphicsprefix)) + _DocVersionConfig.RODefaults_graphicsprefix = _DefaultImagePrefix;// this will force a database update (write) ppCmbxDefImgPrefix.SelectedIndex = -1; } @@ -330,12 +371,27 @@ namespace VEPROMS /// EventArgs private void ppCmbxPagination_SelectedValueChanged(object sender, EventArgs e) { - DocVersionConfig.PrintPagination pgtn = (DocVersionConfig.PrintPagination)Enum.Parse(typeof(DocVersionConfig.PrintPagination), _DefaultPagination); - ProcessCmbxSelectionEnumChanged(ppCmbxPagination, pgtn, ppBtnDefPagination, ppLblPaginationDefault); + if (!_Initializing) + { + DocVersionConfig.PrintPagination pgtn = (DocVersionConfig.PrintPagination)Enum.Parse(typeof(DocVersionConfig.PrintPagination), _DefaultPagination); + ProcessCmbxSelectionEnumChanged(ppCmbxPagination, pgtn, ppBtnDefPagination, ppLblPaginationDefault); + } } + /// + /// Reset to the parent setting. + /// Find the parent setting and assign it to _DocVersionConfig.Print_Pagination. + /// This will force the database to be updated. + /// + /// + /// private void ppBtnDefPagination_Click(object sender, EventArgs e) { + // Get the parent setting + DocVersionConfig.PrintPagination pgtn = (DocVersionConfig.PrintPagination)Enum.Parse(typeof(DocVersionConfig.PrintPagination), _DefaultPagination); + // Compare parent setting with current setting + if (pgtn != _DocVersionConfig.Print_Pagination) + _DocVersionConfig.Print_Pagination = pgtn; // this will force a database update (write) ppCmbxPagination.SelectedIndex = -1; } @@ -346,12 +402,27 @@ namespace VEPROMS /// EventArgs private void ppCmbxWatermark_SelectedValueChanged(object sender, EventArgs e) { - DocVersionConfig.PrintWatermark wtr = (DocVersionConfig.PrintWatermark)Enum.Parse(typeof(DocVersionConfig.PrintWatermark), _DefaultWatermark); - ProcessCmbxSelectionEnumChanged(ppCmbxWatermark, wtr, ppBtnDefWatermark, ppLblWatermarkDefault); + if (!_Initializing) + { + DocVersionConfig.PrintWatermark wtr = (DocVersionConfig.PrintWatermark)Enum.Parse(typeof(DocVersionConfig.PrintWatermark), _DefaultWatermark); + ProcessCmbxSelectionEnumChanged(ppCmbxWatermark, wtr, ppBtnDefWatermark, ppLblWatermarkDefault); + } } + /// + /// Reset to the parent setting. + /// Find the parent setting and assign it to _DocVersionConfig.Print_Watermark. + /// This will force the database to be updated. + /// + /// + /// private void ppBtnDefWatermark_Click(object sender, EventArgs e) { + // Get the parent setting + DocVersionConfig.PrintWatermark wtr = (DocVersionConfig.PrintWatermark)Enum.Parse(typeof(DocVersionConfig.PrintWatermark), _DefaultWatermark); + // Compare parent setting with current setting + if (wtr != _DocVersionConfig.Print_Watermark) + _DocVersionConfig.Print_Watermark = wtr; // this will force a database update (write) ppCmbxWatermark.SelectedIndex = -1; } @@ -381,8 +452,11 @@ namespace VEPROMS /// private void ppChbxDisAutoDuplex_CheckedChanged(object sender, EventArgs e) { - ppBtnDeftDisAutoDuplx.Visible = (_DefaultDisableDuplex != ppChbxDisAutoDuplex.Checked); - ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible; + if (!_Initializing) + { + ppBtnDeftDisAutoDuplx.Visible = (_DefaultDisableDuplex != ppChbxDisAutoDuplex.Checked); + ppLblAutoDuplexDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDeftDisAutoDuplx.Visible; + } } @@ -418,14 +492,29 @@ namespace VEPROMS /// EventArgs private void ppCmbxChangeBarType_SelectedValueChanged(object sender, EventArgs e) { - DocVersionConfig.PrintChangeBar pcb = (DocVersionConfig.PrintChangeBar)Enum.Parse(typeof(DocVersionConfig.PrintChangeBar), _DefaultChgBarType); - ProcessCmbxSelectionEnumChanged(ppCmbxChangeBarType, pcb, ppBtnDefaultChgBar, ppLblChangeBarTypeDefault); - setEnabledUserSpecifiedChgBarCombos(pcb); + if (!_Initializing) + { + DocVersionConfig.PrintChangeBar pcb = (DocVersionConfig.PrintChangeBar)Enum.Parse(typeof(DocVersionConfig.PrintChangeBar), _DefaultChgBarType); + ProcessCmbxSelectionEnumChanged(ppCmbxChangeBarType, pcb, ppBtnDefaultChgBar, ppLblChangeBarTypeDefault); + setEnabledUserSpecifiedChgBarCombos(pcb); + } } + /// + /// Reset to the parent setting. + /// Find the parent setting and assign it to _DocVersionConfig.PrintChangeBar. + /// This will force the database to be updated. + /// + /// + /// private void ppBtnDefaultChgBar_Click(object sender, EventArgs e) { - ppCmbxChangeBarType.SelectedIndex = -1; + // Get the parent setting + DocVersionConfig.PrintChangeBar pcb = (DocVersionConfig.PrintChangeBar)Enum.Parse(typeof(DocVersionConfig.PrintChangeBar), _DefaultChgBarType); + // Compare parent setting with current setting + if (pcb != _DocVersionConfig.Print_ChangeBar) + _DocVersionConfig.Print_ChangeBar = pcb; // this will force a database update (write) + ppCmbxChangeBarType.SelectedIndex = -1; //reset combo box to the default Change Bar setting } /// @@ -435,12 +524,27 @@ namespace VEPROMS /// EventArgs private void ppCmbxChgBarPos_SelectedValueChanged(object sender, EventArgs e) { - DocVersionConfig.PrintChangeBarLoc cbl = (DocVersionConfig.PrintChangeBarLoc)Enum.Parse(typeof(DocVersionConfig.PrintChangeBarLoc), _DefaultChgBarLoc); - ProcessCmbxSelectionEnumChanged(ppCmbxChgBarPos, cbl, ppBtnDefaultCbPos, ppLblChgBarPosDefault); + if (!_Initializing) + { + DocVersionConfig.PrintChangeBarLoc cbl = (DocVersionConfig.PrintChangeBarLoc)Enum.Parse(typeof(DocVersionConfig.PrintChangeBarLoc), _DefaultChgBarLoc); + ProcessCmbxSelectionEnumChanged(ppCmbxChgBarPos, cbl, ppBtnDefaultCbPos, ppLblChgBarPosDefault); + } } + /// + /// Reset to the parent setting. + /// Find the parent setting and assign it to _DocVersionConfig.Print_ChangeBarLoc. + /// This will force the database to be updated. + /// + /// + /// private void ppBtnDefaultCbPos_Click(object sender, EventArgs e) { + // Get the parent setting + DocVersionConfig.PrintChangeBarLoc cbl = (DocVersionConfig.PrintChangeBarLoc)Enum.Parse(typeof(DocVersionConfig.PrintChangeBarLoc), _DefaultChgBarLoc); + // Compare parent setting with current setting + if (cbl != _DocVersionConfig.Print_ChangeBarLoc) + _DocVersionConfig.Print_ChangeBarLoc = cbl; // this will force a database update (write) ppCmbxChgBarPos.SelectedIndex = -1; } @@ -465,13 +569,28 @@ namespace VEPROMS /// EventArgs private void ppCmbxChgBarTxtType_SelectedValueChanged(object sender, EventArgs e) { - DocVersionConfig.PrintChangeBarText cbt = (DocVersionConfig.PrintChangeBarText)Enum.Parse(typeof(DocVersionConfig.PrintChangeBarText), _DefaultChgBarText); - ProcessCmbxSelectionEnumChanged(ppCmbxChgBarTxtType, cbt, ppBtnDefCbTxtTyp, ppLblChgBarTxtTypeDefault); - setEnabledUserSpecifiedChgBarText(); + if (!_Initializing) + { + DocVersionConfig.PrintChangeBarText cbt = (DocVersionConfig.PrintChangeBarText)Enum.Parse(typeof(DocVersionConfig.PrintChangeBarText), _DefaultChgBarText); + ProcessCmbxSelectionEnumChanged(ppCmbxChgBarTxtType, cbt, ppBtnDefCbTxtTyp, ppLblChgBarTxtTypeDefault); + setEnabledUserSpecifiedChgBarText(); + } } + /// + /// Reset to the parent setting. + /// Find the parent setting and assign it to _DocVersionConfig.Print_ChangeBarText. + /// This will force the database to be updated. + /// + /// + /// private void ppBtnDefCbTxtTyp_Click(object sender, EventArgs e) { + // Get the parent setting + DocVersionConfig.PrintChangeBarText cbt = (DocVersionConfig.PrintChangeBarText)Enum.Parse(typeof(DocVersionConfig.PrintChangeBarText), _DefaultChgBarText); + // Compare parent setting with current setting + if (cbt != _DocVersionConfig.Print_ChangeBarText) + _DocVersionConfig.Print_ChangeBarText = cbt; // this will force a database update (write) ppCmbxChgBarTxtType.SelectedIndex = -1; } @@ -482,7 +601,8 @@ namespace VEPROMS /// EventArgs private void ppTxbxChangeBarUserMsgOne_TextChanged(object sender, EventArgs e) { - ppBtnDefCbTxt1.Visible = (ppTxbxChangeBarUserMsgOne.Text != null); + if (!_Initializing) + ppBtnDefCbTxt1.Visible = (ppTxbxChangeBarUserMsgOne.Text != null); } /// @@ -492,7 +612,8 @@ namespace VEPROMS /// EventArgs private void ppTxbxChangeBarUserMsgTwo_TextChanged(object sender, EventArgs e) { - ppBtnDefCbTxt2.Visible = (ppTxbxChangeBarUserMsgTwo.Text != null); + if (!_Initializing) + ppBtnDefCbTxt2.Visible = (ppTxbxChangeBarUserMsgTwo.Text != null); } #endregion @@ -629,5 +750,7 @@ namespace VEPROMS #endregion + + } } \ No newline at end of file diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.resx b/PROMS/VEPROMS User Interface/frmVersionsProperties.resx index f5a08d56..d0b7ba36 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.resx +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.resx @@ -123,15 +123,9 @@ 269, 17 - - 269, 17 - 660, 17 - - 521, 17 - Allows you to specify the default format to use for all procedures in this set. @@ -189,23 +183,22 @@ Check "Show Default Settings" to display the "default" graphic file extension se 17, 57 - - 17, 57 - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEwAA - CxMBAJqcGAAAAjlJREFUOE/Nk11IU2EYx2dgH6AQUthFUIFYBoW7SBkz7CIsFznCbLIuRg28cRdT2rR2 - 2rqYO5xtacelQdEcs6LS0gbLJskQR4UxkEFRgS1X2XChk8qatv6975HNZXYR3XTg4eV9Pn7P/3k4bxYA - 0T99FJAya9dwuIHzTJXUtI4v8/tX8gvNMxOlSkfP7OcEcsS6yEYJs4rG6Jnpz8z/BUC6+8/wA5DXX0Wx - 3IadMkuMJvDXA1jJnwKlFZg6B/EtsYB7I6+h40ewbX8L1u7WZ6X8nkAYrHsMBRUWUrs0tgBobvPmmTp8 - UBt7UVl3BbvkdkiVF1FS2/lKbbgJLeeBorEbO2QsAZuhPns7L62ASM9m2n2Yin9FfC6JwLM4VCYvCg+y - WL/HMKo/76Ed8WluAcOhaRzT30HBATatQkQAhkauX0h6HPoAm/spDmtuIL/MCFLcTAGhl5MIvvgIzjWK - Gn0vNkkZnLJ7jcISbc6hGU1LP6rquyCu5lFUyaKwwox8CUMVhLXs3cXYURI7ZMXmvQw2lDahVHEhIQAs - l4eQTP7ARPQLHjx5B7MziK37KHxpUSeNPXgfnUU4EkOffxwa7iGKZIvLFBn4+5if/06K38LeHYTqnO8/ - AxD56+gIkckZDD56A8etMVTr+rCd7EoY4cRp13Nl0zWUqzogqW2DRNGKLeXGKNlDDk0gxauJxWR1lyaq - NE6UHW+H+IgVucUN07+9heX/eebd4R4Q3gY5sxVa1xpiuX8F+BP8Jz2Bipm/4ch1AAAAAElFTkSuQmCC + CxMBAJqcGAAAAn9JREFUOE+lk2tI01EYxhf0oU8WqVEIRpaIBWJgSPUhROmippS3QkkTylsXDMW8ts3b + 1G06daVibuqaOq0sxbBCKBSJ0PJCialZUFSKqaGSt1//TbIsww8deOBwznl+5zkv71kHiP5rGAFrKb1Q + 5ypR6bmaVU6m2kCiXJv007Om2XgwJEaNT4QiyDi/GF9mKRVgsWkav+CYQkR1utwAQfypphqZ4l/JIhOL + jvtGKfCOyDMB6O/WMjNea9L3MT1zIxoM5QrqdWnS1SA+kUq8w1V4hhUgqq1QMj1WtcK88KmIud5oqsqy + qCzOQFMopSQvhRvyBApkcQLzV91E1docpr9ol29eFMz0J0Bv2Kr6C3CrVMa3jyWm2EZzc12OSQ8M2TTo + ZdytzMCgSUVfIqFcfY2bqiSKlQmoc+JNaUSVJRlMvsvHGHuoVUx9lZKFIQkMp63UW2FtMBH6YuBVFF01 + /lwO9aoQadSpTAxkwXs596oVtD+ULx36/Qkvg6HDl/k2D2YeufCmwoELZ45MCIA9olKVmK+vJQy3JVOv + l7M4KIae8CVAV6hgPMV8uxczLYeZbDrIaN1eJBG2nHazyDN1cZEymdHueG7rcuh8KiTpixYA56AziMVn + J5h9coyp5kOM1TvxudqejvRNBHrY4GRnZmcCqLMT6GlJ4Y4uGwZS4IUQ97kfs62eTD12YbzBmRGDAx+0 + u+iVmyMO24njbqvG5VbOz4yjtjyL3vuRdOSKltUuX0+LbAON0o3UJFmiibPi+pXtBLrvWHR2tHZfBuSm + xZIrPk9mfAiJlwKMleWsvxsnj+7H9YAD+xxssbexwnqbBVs2m7HV3GxlI631E9fa/wGRpaRpa3TTbQAA + AABJRU5ErkJggg==