From c2b00702d9d6267ca96fbb26e0692a97f8f632b6 Mon Sep 17 00:00:00 2001 From: Kathy Date: Fri, 15 Oct 2010 16:37:37 +0000 Subject: [PATCH] --- .../frmFolderProperties.Designer.cs | 267 +++++++++--------- .../frmFolderProperties.cs | 23 +- .../frmFolderProperties.resx | 4 +- 3 files changed, 158 insertions(+), 136 deletions(-) diff --git a/PROMS/VEPROMS User Interface/frmFolderProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmFolderProperties.Designer.cs index 8777cf1d..850b5182 100644 --- a/PROMS/VEPROMS User Interface/frmFolderProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmFolderProperties.Designer.cs @@ -151,18 +151,18 @@ namespace VEPROMS this.btnRefObjs = new DevComponents.DotNetBar.ButtonX(); this.btnGeneral = new DevComponents.DotNetBar.ButtonX(); this.tcFolder = new DevComponents.DotNetBar.TabControl(); - this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel(); - this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components); - this.tcpEdSettings = new DevComponents.DotNetBar.TabControlPanel(); - this.tiEditSettings = new DevComponents.DotNetBar.TabItem(this.components); this.tcpFmtSettings = new DevComponents.DotNetBar.TabControlPanel(); this.tiFmtSettings = new DevComponents.DotNetBar.TabItem(this.components); - this.tcpStMsg = new DevComponents.DotNetBar.TabControlPanel(); - this.tiStMsg = 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.tiOutputSettings = new DevComponents.DotNetBar.TabItem(this.components); this.tcpRefObjs = new DevComponents.DotNetBar.TabControlPanel(); this.tiRefObj = new DevComponents.DotNetBar.TabItem(this.components); + this.tcpEdSettings = new DevComponents.DotNetBar.TabControlPanel(); + this.tiEditSettings = new DevComponents.DotNetBar.TabItem(this.components); + this.tcpStMsg = new DevComponents.DotNetBar.TabControlPanel(); + this.tiStMsg = new DevComponents.DotNetBar.TabItem(this.components); this.formatInfoListBindingSource = new System.Windows.Forms.BindingSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.folderConfigBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imageCodecInfoBindingSource)).BeginInit(); @@ -181,12 +181,12 @@ namespace VEPROMS this.panButtons.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tcFolder)).BeginInit(); this.tcFolder.SuspendLayout(); - this.tcpGeneral.SuspendLayout(); - this.tcpEdSettings.SuspendLayout(); this.tcpFmtSettings.SuspendLayout(); - this.tcpStMsg.SuspendLayout(); + this.tcpGeneral.SuspendLayout(); this.tcpOutputSettings.SuspendLayout(); this.tcpRefObjs.SuspendLayout(); + this.tcpEdSettings.SuspendLayout(); + this.tcpStMsg.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).BeginInit(); this.SuspendLayout(); // @@ -754,7 +754,7 @@ namespace VEPROMS // this.ppBtnDefCbTxtTyp.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnDefCbTxtTyp.CallBasePaintBackground = true; - this.ppBtnDefCbTxtTyp.Location = new System.Drawing.Point(280, 71); + this.ppBtnDefCbTxtTyp.Location = new System.Drawing.Point(280, 26); 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); @@ -769,7 +769,7 @@ namespace VEPROMS // this.ppBtnDefaultCbPos.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnDefaultCbPos.CallBasePaintBackground = true; - this.ppBtnDefaultCbPos.Location = new System.Drawing.Point(280, 16); + this.ppBtnDefaultCbPos.Location = new System.Drawing.Point(271, 88); 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); @@ -787,10 +787,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(91, 71); + this.ppCmbxChgBarTxtType.Location = new System.Drawing.Point(85, 26); this.ppCmbxChgBarTxtType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxChgBarTxtType.Name = "ppCmbxChgBarTxtType"; - this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(184, 23); + this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(189, 23); this.ppCmbxChgBarTxtType.TabIndex = 56; 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"; @@ -803,11 +803,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(91, 17); + this.ppCmbxChgBarPos.Location = new System.Drawing.Point(82, 89); this.ppCmbxChgBarPos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxChgBarPos.Name = "ppCmbxChgBarPos"; this.ppCmbxChgBarPos.Size = new System.Drawing.Size(184, 23); this.ppCmbxChgBarPos.TabIndex = 54; + 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); @@ -817,7 +818,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(87, 97); + this.ppLblChgBarTxtTypeDefault.Location = new System.Drawing.Point(81, 52); 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 Text T" + @@ -830,13 +831,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(87, 46); + this.ppLblChgBarPosDefault.Location = new System.Drawing.Point(80, 111); 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 // @@ -945,7 +947,7 @@ namespace VEPROMS // label26 // this.label26.AutoSize = true; - this.label26.Location = new System.Drawing.Point(13, 71); + this.label26.Location = new System.Drawing.Point(7, 26); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(71, 17); this.label26.TabIndex = 8; @@ -954,11 +956,12 @@ namespace VEPROMS // label27 // this.label27.AutoSize = true; - this.label27.Location = new System.Drawing.Point(27, 20); + this.label27.Location = new System.Drawing.Point(18, 92); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(58, 17); this.label27.TabIndex = 9; this.label27.Text = "Position"; + this.label27.Visible = false; // // label30 // @@ -1500,11 +1503,11 @@ namespace VEPROMS this.ppGpbxUserSpecCB.Controls.Add(this.ppBtnDefCbTxtTyp); this.ppGpbxUserSpecCB.Controls.Add(this.ppBtnDefaultCbPos); this.ppGpbxUserSpecCB.Controls.Add(this.ppGpbxUserSpecTxt); - this.ppGpbxUserSpecCB.Controls.Add(this.ppCmbxChgBarPos); this.ppGpbxUserSpecCB.Controls.Add(this.ppCmbxChgBarTxtType); - this.ppGpbxUserSpecCB.Controls.Add(this.label27); this.ppGpbxUserSpecCB.Controls.Add(this.label26); + this.ppGpbxUserSpecCB.Controls.Add(this.ppCmbxChgBarPos); this.ppGpbxUserSpecCB.Controls.Add(this.ppLblChgBarTxtTypeDefault); + this.ppGpbxUserSpecCB.Controls.Add(this.label27); this.ppGpbxUserSpecCB.Controls.Add(this.ppLblChgBarPosDefault); this.ppGpbxUserSpecCB.Location = new System.Drawing.Point(20, 124); this.ppGpbxUserSpecCB.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); @@ -1543,7 +1546,7 @@ namespace VEPROMS this.ppGpbxUserSpecCB.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.superTooltip1.SetSuperTooltip(this.ppGpbxUserSpecCB, new DevComponents.DotNetBar.SuperTooltipInfo("Custom Change Bar Settings", "", resources.GetString("ppGpbxUserSpecCB.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(240, 155))); this.ppGpbxUserSpecCB.TabIndex = 48; - this.ppGpbxUserSpecCB.Text = "Custom Change Bar Settings"; + this.ppGpbxUserSpecCB.Text = "Custom Change Bar Text"; // // ppGpbxUserSpecTxt // @@ -1593,7 +1596,7 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.StyleMouseOver.Class = ""; this.ppGpbxUserSpecTxt.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ppGpbxUserSpecTxt.TabIndex = 0; - this.ppGpbxUserSpecTxt.Text = "Custom Change Bar Message"; + this.ppGpbxUserSpecTxt.Text = "Change Bar Text"; // // groupPanel6 // @@ -1755,11 +1758,11 @@ namespace VEPROMS | System.Windows.Forms.AnchorStyles.Right))); this.tcFolder.BackColor = System.Drawing.Color.Transparent; this.tcFolder.CanReorderTabs = true; + this.tcFolder.Controls.Add(this.tcpFmtSettings); + this.tcFolder.Controls.Add(this.tcpGeneral); this.tcFolder.Controls.Add(this.tcpOutputSettings); this.tcFolder.Controls.Add(this.tcpRefObjs); - this.tcFolder.Controls.Add(this.tcpGeneral); this.tcFolder.Controls.Add(this.tcpEdSettings); - this.tcFolder.Controls.Add(this.tcpFmtSettings); this.tcFolder.Controls.Add(this.tcpStMsg); this.tcFolder.Location = new System.Drawing.Point(173, 7); this.tcFolder.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); @@ -1779,70 +1782,6 @@ namespace VEPROMS this.tcFolder.TabsVisible = false; this.tcFolder.Text = "tabControl2"; // - // tcpGeneral - // - this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.tcpGeneral.Controls.Add(this.ppTxtBxUserID); - this.tcpGeneral.Controls.Add(this.ppDTPicker); - this.tcpGeneral.Controls.Add(this.label3); - this.tcpGeneral.Controls.Add(this.ppRTxtTitle); - this.tcpGeneral.Controls.Add(this.ppRTxtName); - this.tcpGeneral.Controls.Add(this.label4); - this.tcpGeneral.Controls.Add(this.label1); - this.tcpGeneral.Controls.Add(this.label2); - 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(685, 282); - 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"; - // - // tcpEdSettings - // - this.tcpEdSettings.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.tcpEdSettings.Controls.Add(this.groupPanel6); - this.tcpEdSettings.Controls.Add(this.label31); - this.tcpEdSettings.Controls.Add(this.ppBtnDefEdCols); - this.tcpEdSettings.Controls.Add(this.ppLblStpEditorColsDefault); - this.tcpEdSettings.Controls.Add(this.ppCmbxStpEditorCols); - this.tcpEdSettings.Dock = System.Windows.Forms.DockStyle.Fill; - this.tcpEdSettings.Location = new System.Drawing.Point(0, 24); - this.tcpEdSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.tcpEdSettings.Name = "tcpEdSettings"; - this.tcpEdSettings.Padding = new System.Windows.Forms.Padding(1); - this.tcpEdSettings.Size = new System.Drawing.Size(685, 282); - this.tcpEdSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tcpEdSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); - this.tcpEdSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpEdSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); - this.tcpEdSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) - | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tcpEdSettings.Style.GradientAngle = 90; - this.tcpEdSettings.TabIndex = 6; - this.tcpEdSettings.TabItem = this.tiEditSettings; - this.tcpEdSettings.Enter += new System.EventHandler(this.tabpage_Enter); - // - // tiEditSettings - // - this.tiEditSettings.AttachedControl = this.tcpEdSettings; - this.tiEditSettings.Name = "tiEditSettings"; - this.tiEditSettings.Text = "Editor Settings"; - // // tcpFmtSettings // this.tcpFmtSettings.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; @@ -1861,10 +1800,10 @@ namespace VEPROMS this.tcpFmtSettings.Name = "tcpFmtSettings"; this.tcpFmtSettings.Padding = new System.Windows.Forms.Padding(1); this.tcpFmtSettings.Size = new System.Drawing.Size(685, 282); - this.tcpFmtSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tcpFmtSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tcpFmtSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); + this.tcpFmtSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); this.tcpFmtSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpFmtSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tcpFmtSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); this.tcpFmtSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tcpFmtSettings.Style.GradientAngle = 90; @@ -1878,39 +1817,38 @@ namespace VEPROMS this.tiFmtSettings.Name = "tiFmtSettings"; this.tiFmtSettings.Text = "Format Settings"; // - // tcpStMsg + // tcpGeneral // - this.tcpStMsg.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.tcpStMsg.Controls.Add(this.ppChkbxStMsgActive); - this.tcpStMsg.Controls.Add(this.label5); - this.tcpStMsg.Controls.Add(this.ppRTxtStMsg); - this.tcpStMsg.Controls.Add(this.ppCmbxStMsgList); - this.tcpStMsg.Controls.Add(this.ppBtnStMsgPreview); - this.tcpStMsg.Controls.Add(this.ppBtnStMsgNew); - this.tcpStMsg.Controls.Add(this.ppBtnStMsgSave); - this.tcpStMsg.Controls.Add(this.ppBtnStMsgEdit); - this.tcpStMsg.Controls.Add(this.ppBtnStMsgDelete); - this.tcpStMsg.Dock = System.Windows.Forms.DockStyle.Fill; - this.tcpStMsg.Location = new System.Drawing.Point(0, 24); - this.tcpStMsg.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.tcpStMsg.Name = "tcpStMsg"; - this.tcpStMsg.Padding = new System.Windows.Forms.Padding(1); - this.tcpStMsg.Size = new System.Drawing.Size(685, 282); - this.tcpStMsg.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tcpStMsg.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); - this.tcpStMsg.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpStMsg.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); - this.tcpStMsg.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.tcpGeneral.Controls.Add(this.ppTxtBxUserID); + this.tcpGeneral.Controls.Add(this.ppDTPicker); + this.tcpGeneral.Controls.Add(this.label3); + this.tcpGeneral.Controls.Add(this.ppRTxtTitle); + this.tcpGeneral.Controls.Add(this.ppRTxtName); + this.tcpGeneral.Controls.Add(this.label4); + this.tcpGeneral.Controls.Add(this.label1); + this.tcpGeneral.Controls.Add(this.label2); + 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(685, 282); + 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.tcpStMsg.Style.GradientAngle = 90; - this.tcpStMsg.TabIndex = 4; - this.tcpStMsg.TabItem = this.tiStMsg; + this.tcpGeneral.Style.GradientAngle = 90; + this.tcpGeneral.TabIndex = 1; + this.tcpGeneral.TabItem = this.tiGeneral; // - // tiStMsg + // tiGeneral // - this.tiStMsg.AttachedControl = this.tcpStMsg; - this.tiStMsg.Name = "tiStMsg"; - this.tiStMsg.Text = "Startup Message"; + this.tiGeneral.AttachedControl = this.tcpGeneral; + this.tiGeneral.Name = "tiGeneral"; + this.tiGeneral.Text = "General"; // // tcpOutputSettings // @@ -1929,10 +1867,10 @@ namespace VEPROMS this.tcpOutputSettings.Name = "tcpOutputSettings"; this.tcpOutputSettings.Padding = new System.Windows.Forms.Padding(1); this.tcpOutputSettings.Size = new System.Drawing.Size(685, 282); - 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; @@ -1959,10 +1897,10 @@ namespace VEPROMS this.tcpRefObjs.Name = "tcpRefObjs"; this.tcpRefObjs.Padding = new System.Windows.Forms.Padding(1); this.tcpRefObjs.Size = new System.Drawing.Size(685, 282); - this.tcpRefObjs.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tcpRefObjs.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tcpRefObjs.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); + this.tcpRefObjs.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); this.tcpRefObjs.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpRefObjs.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tcpRefObjs.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); this.tcpRefObjs.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tcpRefObjs.Style.GradientAngle = 90; @@ -1976,6 +1914,71 @@ namespace VEPROMS this.tiRefObj.Name = "tiRefObj"; this.tiRefObj.Text = "Referenced Objects"; // + // tcpEdSettings + // + this.tcpEdSettings.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.tcpEdSettings.Controls.Add(this.groupPanel6); + this.tcpEdSettings.Controls.Add(this.label31); + this.tcpEdSettings.Controls.Add(this.ppBtnDefEdCols); + this.tcpEdSettings.Controls.Add(this.ppLblStpEditorColsDefault); + this.tcpEdSettings.Controls.Add(this.ppCmbxStpEditorCols); + this.tcpEdSettings.Dock = System.Windows.Forms.DockStyle.Fill; + this.tcpEdSettings.Location = new System.Drawing.Point(0, 24); + this.tcpEdSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tcpEdSettings.Name = "tcpEdSettings"; + this.tcpEdSettings.Padding = new System.Windows.Forms.Padding(1); + this.tcpEdSettings.Size = new System.Drawing.Size(685, 282); + this.tcpEdSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); + this.tcpEdSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); + this.tcpEdSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tcpEdSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); + this.tcpEdSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tcpEdSettings.Style.GradientAngle = 90; + this.tcpEdSettings.TabIndex = 6; + this.tcpEdSettings.TabItem = this.tiEditSettings; + this.tcpEdSettings.Enter += new System.EventHandler(this.tabpage_Enter); + // + // tiEditSettings + // + this.tiEditSettings.AttachedControl = this.tcpEdSettings; + this.tiEditSettings.Name = "tiEditSettings"; + this.tiEditSettings.Text = "Editor Settings"; + // + // tcpStMsg + // + this.tcpStMsg.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.tcpStMsg.Controls.Add(this.ppChkbxStMsgActive); + this.tcpStMsg.Controls.Add(this.label5); + this.tcpStMsg.Controls.Add(this.ppRTxtStMsg); + this.tcpStMsg.Controls.Add(this.ppCmbxStMsgList); + this.tcpStMsg.Controls.Add(this.ppBtnStMsgPreview); + this.tcpStMsg.Controls.Add(this.ppBtnStMsgNew); + this.tcpStMsg.Controls.Add(this.ppBtnStMsgSave); + this.tcpStMsg.Controls.Add(this.ppBtnStMsgEdit); + this.tcpStMsg.Controls.Add(this.ppBtnStMsgDelete); + this.tcpStMsg.Dock = System.Windows.Forms.DockStyle.Fill; + this.tcpStMsg.Location = new System.Drawing.Point(0, 24); + this.tcpStMsg.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tcpStMsg.Name = "tcpStMsg"; + this.tcpStMsg.Padding = new System.Windows.Forms.Padding(1); + this.tcpStMsg.Size = new System.Drawing.Size(685, 282); + this.tcpStMsg.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247))))); + this.tcpStMsg.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(195)))), ((int)(((byte)(195)))), ((int)(((byte)(195))))); + this.tcpStMsg.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tcpStMsg.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); + this.tcpStMsg.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tcpStMsg.Style.GradientAngle = 90; + this.tcpStMsg.TabIndex = 4; + this.tcpStMsg.TabItem = this.tiStMsg; + // + // tiStMsg + // + this.tiStMsg.AttachedControl = this.tcpStMsg; + this.tiStMsg.Name = "tiStMsg"; + this.tiStMsg.Text = "Startup Message"; + // // formatInfoListBindingSource // this.formatInfoListBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.FormatInfoList); @@ -2028,18 +2031,18 @@ namespace VEPROMS this.panButtons.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tcFolder)).EndInit(); this.tcFolder.ResumeLayout(false); - this.tcpGeneral.ResumeLayout(false); - this.tcpGeneral.PerformLayout(); - this.tcpEdSettings.ResumeLayout(false); - this.tcpEdSettings.PerformLayout(); this.tcpFmtSettings.ResumeLayout(false); this.tcpFmtSettings.PerformLayout(); - this.tcpStMsg.ResumeLayout(false); - this.tcpStMsg.PerformLayout(); + this.tcpGeneral.ResumeLayout(false); + this.tcpGeneral.PerformLayout(); this.tcpOutputSettings.ResumeLayout(false); this.tcpOutputSettings.PerformLayout(); this.tcpRefObjs.ResumeLayout(false); this.tcpRefObjs.PerformLayout(); + this.tcpEdSettings.ResumeLayout(false); + this.tcpEdSettings.PerformLayout(); + this.tcpStMsg.ResumeLayout(false); + this.tcpStMsg.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); diff --git a/PROMS/VEPROMS User Interface/frmFolderProperties.cs b/PROMS/VEPROMS User Interface/frmFolderProperties.cs index c29b023c..7d3d2d57 100644 --- a/PROMS/VEPROMS User Interface/frmFolderProperties.cs +++ b/PROMS/VEPROMS User Interface/frmFolderProperties.cs @@ -30,8 +30,8 @@ namespace VEPROMS private string _DefaultChgBarUsrMsg1 = null; private string _DefaultChgBarUsrMsg2 = null; private string _DefaultROGraficFileExtension = null; - private string _DefaultImagePrefix = null; - private string _DefaultROPrefix = null; + //private string _DefaultImagePrefix = null; + //private string _DefaultROPrefix = null; //private string _DefaultPagination = null; private string _DefaultWatermark = null; private bool _DefaultDisableDuplex = false; @@ -256,6 +256,25 @@ namespace VEPROMS ppCmbxGrphFileExt.Visible = false; ppLblGrphFileExtDefault.Visible = false; this.lblGrphFileExt.Visible = false; + + // 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; + FolderInfo fi = FolderInfo.Get(_FolderConfig.MyFolder.FolderID); + if (fi.ActiveFormat.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; } diff --git a/PROMS/VEPROMS User Interface/frmFolderProperties.resx b/PROMS/VEPROMS User Interface/frmFolderProperties.resx index 8efb6057..c40683e5 100644 --- a/PROMS/VEPROMS User Interface/frmFolderProperties.resx +++ b/PROMS/VEPROMS User Interface/frmFolderProperties.resx @@ -170,8 +170,8 @@ Check "Show Default Settings" to display the "default" Change Bar Custom Message iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALAAAA - CwAB5DetvwAAAr5JREFUOE+lk21IE3Ecx0/fBPUi6pVZyzELCalXhWEg0XMvipYLVOzJhyxTWlkippGl + YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK/gAA + Cv4B5iV4ZgAAAr5JREFUOE+lk21IE3Ecx0/fBPUi6pVZyzELCalXhWEg0XMvipYLVOzJhyxTWlkippGl lLjS0qEpmpBmNsnhdPRAL1SwpuFwHtO5pbGle3Duwfvf3R7a/bodTGcaBB18j+PPfT/3/X//94sAAOy/ riAgJNrZWUDpShCpLfSR+K0Aqb3jR+oLbnKupjb8vfDnMPPbakKd5qUsDT88biWERJmf/0R4ng9psq0W vPz2nyAOwH65COHX/ZSt2UG7u9EKgOO1l7K1Ohc0YtPCkMhDmqUpqxKQk8UeytYyFzRCdz5AzTkAeT6X