diff --git a/PROMS/VEPROMS User Interface/frmFolderProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmFolderProperties.Designer.cs index 0bc5b38b..7b478369 100644 --- a/PROMS/VEPROMS User Interface/frmFolderProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmFolderProperties.Designer.cs @@ -151,10 +151,10 @@ namespace VEPROMS this.btnRefObjs = new DevComponents.DotNetBar.ButtonX(); this.btnGeneral = new DevComponents.DotNetBar.ButtonX(); this.tcFolder = new DevComponents.DotNetBar.TabControl(); - this.tcpFmtSettings = 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.tcpFmtSettings = new DevComponents.DotNetBar.TabControlPanel(); + this.tiFmtSettings = 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(); @@ -181,8 +181,8 @@ namespace VEPROMS this.panButtons.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tcFolder)).BeginInit(); this.tcFolder.SuspendLayout(); - this.tcpFmtSettings.SuspendLayout(); this.tcpGeneral.SuspendLayout(); + this.tcpFmtSettings.SuspendLayout(); this.tcpOutputSettings.SuspendLayout(); this.tcpRefObjs.SuspendLayout(); this.tcpEdSettings.SuspendLayout(); @@ -197,7 +197,7 @@ namespace VEPROMS this.ppBtnOK.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnOK.Name = "ppBtnOK"; this.ppBtnOK.Size = new System.Drawing.Size(75, 26); - this.ppBtnOK.TabIndex = 0; + this.ppBtnOK.TabIndex = 90; this.ppBtnOK.Text = "OK"; this.ppBtnOK.UseVisualStyleBackColor = true; this.ppBtnOK.Click += new System.EventHandler(this.ppBtnOK_Click); @@ -210,7 +210,7 @@ namespace VEPROMS this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnCancel.Name = "ppBtnCancel"; this.ppBtnCancel.Size = new System.Drawing.Size(75, 26); - this.ppBtnCancel.TabIndex = 1; + this.ppBtnCancel.TabIndex = 91; this.ppBtnCancel.Text = "Cancel"; this.ppBtnCancel.UseVisualStyleBackColor = true; this.ppBtnCancel.Click += new System.EventHandler(this.ppBtnCancel_Click); @@ -266,6 +266,7 @@ namespace VEPROMS this.ppTxtBxUserID.Name = "ppTxtBxUserID"; this.ppTxtBxUserID.Size = new System.Drawing.Size(153, 22); this.ppTxtBxUserID.TabIndex = 13; + this.ppTxtBxUserID.TabStop = false; this.ppTxtBxUserID.Visible = false; // // folderConfigBindingSource @@ -282,6 +283,7 @@ namespace VEPROMS this.ppDTPicker.Name = "ppDTPicker"; this.ppDTPicker.Size = new System.Drawing.Size(172, 22); this.ppDTPicker.TabIndex = 12; + this.ppDTPicker.TabStop = false; this.ppDTPicker.Visible = false; // // ppRTxtName @@ -292,7 +294,7 @@ namespace VEPROMS this.ppRTxtName.Multiline = false; this.ppRTxtName.Name = "ppRTxtName"; this.ppRTxtName.Size = new System.Drawing.Size(436, 22); - this.ppRTxtName.TabIndex = 10; + this.ppRTxtName.TabIndex = 0; this.ppRTxtName.Text = ""; this.ppRTxtName.Leave += new System.EventHandler(this.ppRTxtName_Leave); // @@ -304,21 +306,20 @@ namespace VEPROMS this.ppRTxtTitle.Multiline = false; this.ppRTxtTitle.Name = "ppRTxtTitle"; this.ppRTxtTitle.Size = new System.Drawing.Size(436, 22); - this.ppRTxtTitle.TabIndex = 11; + this.ppRTxtTitle.TabIndex = 1; this.ppRTxtTitle.Text = ""; this.ppRTxtTitle.Visible = false; // // ppBtnDefaultGrphFileExt // this.ppBtnDefaultGrphFileExt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefaultGrphFileExt.CallBasePaintBackground = true; this.ppBtnDefaultGrphFileExt.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppBtnDefaultGrphFileExt.Location = new System.Drawing.Point(431, 38); this.ppBtnDefaultGrphFileExt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefaultGrphFileExt.Name = "ppBtnDefaultGrphFileExt"; this.ppBtnDefaultGrphFileExt.Size = new System.Drawing.Size(53, 23); this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultGrphFileExt, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefaultGrphFileExt.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(265, 155))); - this.ppBtnDefaultGrphFileExt.TabIndex = 15; + this.ppBtnDefaultGrphFileExt.TabIndex = 21; this.ppBtnDefaultGrphFileExt.Text = "Default"; this.ppBtnDefaultGrphFileExt.ThemeAware = true; this.ppBtnDefaultGrphFileExt.Click += new System.EventHandler(this.ppBtnDefaultGrfExt_Click); @@ -334,7 +335,7 @@ namespace VEPROMS this.ppCmbxGrphFileExt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxGrphFileExt.Name = "ppCmbxGrphFileExt"; this.ppCmbxGrphFileExt.Size = new System.Drawing.Size(255, 23); - this.ppCmbxGrphFileExt.TabIndex = 14; + this.ppCmbxGrphFileExt.TabIndex = 20; this.ppCmbxGrphFileExt.ValueMember = "FormatDescription"; this.ppCmbxGrphFileExt.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.ppCmbxGrphFileExt.WatermarkText = "Select Graphic File Extension"; @@ -370,13 +371,12 @@ namespace VEPROMS // ppBtnDeftDisAutoDuplx // this.ppBtnDeftDisAutoDuplx.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDeftDisAutoDuplx.CallBasePaintBackground = true; this.ppBtnDeftDisAutoDuplx.Location = new System.Drawing.Point(594, 22); this.ppBtnDeftDisAutoDuplx.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDeftDisAutoDuplx.Name = "ppBtnDeftDisAutoDuplx"; this.ppBtnDeftDisAutoDuplx.Size = new System.Drawing.Size(59, 25); this.superTooltip1.SetSuperTooltip(this.ppBtnDeftDisAutoDuplx, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDeftDisAutoDuplx.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(255, 150))); - this.ppBtnDeftDisAutoDuplx.TabIndex = 39; + this.ppBtnDeftDisAutoDuplx.TabIndex = 33; this.ppBtnDeftDisAutoDuplx.Text = "Default"; this.ppBtnDeftDisAutoDuplx.ThemeAware = true; this.ppBtnDeftDisAutoDuplx.Visible = false; @@ -385,7 +385,6 @@ namespace VEPROMS // ppBtnDefWatermark // this.ppBtnDefWatermark.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefWatermark.CallBasePaintBackground = true; this.ppBtnDefWatermark.Location = new System.Drawing.Point(273, 21); this.ppBtnDefWatermark.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefWatermark.Name = "ppBtnDefWatermark"; @@ -393,7 +392,7 @@ namespace VEPROMS this.superTooltip1.SetSuperTooltip(this.ppBtnDefWatermark, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", "This will revert the watermark selection back to using the parent\'s (default) set" + "ting.\r\n\r\nCheck \"Show Default Settings\" to display the \"default\" watermark (below" + " the Watermark selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(255, 145))); - this.ppBtnDefWatermark.TabIndex = 33; + this.ppBtnDefWatermark.TabIndex = 31; this.ppBtnDefWatermark.Text = "Default"; this.ppBtnDefWatermark.ThemeAware = true; this.ppBtnDefWatermark.Visible = false; @@ -409,7 +408,7 @@ namespace VEPROMS this.ppCmbxWatermark.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxWatermark.Name = "ppCmbxWatermark"; this.ppCmbxWatermark.Size = new System.Drawing.Size(163, 23); - this.ppCmbxWatermark.TabIndex = 32; + this.ppCmbxWatermark.TabIndex = 30; this.ppCmbxWatermark.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.ppCmbxWatermark.WatermarkText = "select watermark option"; this.ppCmbxWatermark.SelectedValueChanged += new System.EventHandler(this.ppCmbxWatermark_SelectedValueChanged); @@ -451,6 +450,7 @@ namespace VEPROMS this.ppNumUpDwnOvrdPrnPenWidth.Size = new System.Drawing.Size(47, 22); this.superTooltip1.SetSuperTooltip(this.ppNumUpDwnOvrdPrnPenWidth, new DevComponents.DotNetBar.SuperTooltipInfo("Normal Pen Width", "", "This will allow you to override pen width used for normal text and line drawing.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppNumUpDwnOvrdPrnPenWidth.TabIndex = 34; + this.ppNumUpDwnOvrdPrnPenWidth.TabStop = false; // // label9 // @@ -479,6 +479,7 @@ namespace VEPROMS this.ppNumUpDwnOverdPrnPenBoldWidth.Size = new System.Drawing.Size(47, 22); this.superTooltip1.SetSuperTooltip(this.ppNumUpDwnOverdPrnPenBoldWidth, new DevComponents.DotNetBar.SuperTooltipInfo("Bold Pen Width", "", "This will allow you to override the width used for bold text.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppNumUpDwnOverdPrnPenBoldWidth.TabIndex = 35; + this.ppNumUpDwnOverdPrnPenBoldWidth.TabStop = false; // // ppNumUpDwnOvrdPrnPenULineWidth // @@ -489,6 +490,7 @@ namespace VEPROMS this.ppNumUpDwnOvrdPrnPenULineWidth.Size = new System.Drawing.Size(47, 22); this.superTooltip1.SetSuperTooltip(this.ppNumUpDwnOvrdPrnPenULineWidth, new DevComponents.DotNetBar.SuperTooltipInfo("Underline Thickness", "", "This will allow you to change the thickness of the uderline.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppNumUpDwnOvrdPrnPenULineWidth.TabIndex = 36; + this.ppNumUpDwnOvrdPrnPenULineWidth.TabStop = false; // // label11 // @@ -514,6 +516,7 @@ namespace VEPROMS this.superTooltip1.SetSuperTooltip(this.ppNumUpDwnAdjPrnStartPos, new DevComponents.DotNetBar.SuperTooltipInfo("Starting Print Position", "", "Allows you to move the starting point on the page of where text and boarder begin" + " printing.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppNumUpDwnAdjPrnStartPos.TabIndex = 37; + this.ppNumUpDwnAdjPrnStartPos.TabStop = false; // // label12 // @@ -535,7 +538,7 @@ namespace VEPROMS this.ppChbxDisAutoDuplex.Size = new System.Drawing.Size(209, 21); this.superTooltip1.SetSuperTooltip(this.ppChbxDisAutoDuplex, new DevComponents.DotNetBar.SuperTooltipInfo("Disable Automatic Duplex", "", "Checking this box will turn OFF the automatic duplexing used in some formats for " + "Foldout pages.", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, false, new System.Drawing.Size(0, 0))); - this.ppChbxDisAutoDuplex.TabIndex = 38; + this.ppChbxDisAutoDuplex.TabIndex = 32; this.ppChbxDisAutoDuplex.Text = "Disable Automatic Duplexing"; this.ppChbxDisAutoDuplex.UseVisualStyleBackColor = false; this.ppChbxDisAutoDuplex.CheckedChanged += new System.EventHandler(this.ppChbxDisAutoDuplex_CheckedChanged); @@ -579,7 +582,6 @@ namespace VEPROMS // ppBtnStMsgPreview // this.ppBtnStMsgPreview.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnStMsgPreview.CallBasePaintBackground = true; this.ppBtnStMsgPreview.Location = new System.Drawing.Point(565, 164); this.ppBtnStMsgPreview.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnStMsgPreview.Name = "ppBtnStMsgPreview"; @@ -590,7 +592,6 @@ namespace VEPROMS // ppBtnStMsgSave // this.ppBtnStMsgSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnStMsgSave.CallBasePaintBackground = true; this.ppBtnStMsgSave.Location = new System.Drawing.Point(565, 126); this.ppBtnStMsgSave.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnStMsgSave.Name = "ppBtnStMsgSave"; @@ -601,7 +602,6 @@ namespace VEPROMS // ppBtnStMsgDelete // this.ppBtnStMsgDelete.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnStMsgDelete.CallBasePaintBackground = true; this.ppBtnStMsgDelete.Enabled = false; this.ppBtnStMsgDelete.Location = new System.Drawing.Point(565, 204); this.ppBtnStMsgDelete.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); @@ -613,7 +613,6 @@ namespace VEPROMS // ppBtnStMsgEdit // this.ppBtnStMsgEdit.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnStMsgEdit.CallBasePaintBackground = true; this.ppBtnStMsgEdit.Location = new System.Drawing.Point(565, 97); this.ppBtnStMsgEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnStMsgEdit.Name = "ppBtnStMsgEdit"; @@ -624,7 +623,6 @@ namespace VEPROMS // ppBtnStMsgNew // this.ppBtnStMsgNew.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnStMsgNew.CallBasePaintBackground = true; this.ppBtnStMsgNew.Location = new System.Drawing.Point(565, 68); this.ppBtnStMsgNew.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnStMsgNew.Name = "ppBtnStMsgNew"; @@ -658,7 +656,6 @@ namespace VEPROMS // ppBtnDefaultChgBar // this.ppBtnDefaultChgBar.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefaultChgBar.CallBasePaintBackground = true; this.ppBtnDefaultChgBar.Location = new System.Drawing.Point(351, 76); this.ppBtnDefaultChgBar.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefaultChgBar.Name = "ppBtnDefaultChgBar"; @@ -691,7 +688,6 @@ namespace VEPROMS // ppBtnDefaultFmt // this.ppBtnDefaultFmt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefaultFmt.CallBasePaintBackground = true; this.ppBtnDefaultFmt.Location = new System.Drawing.Point(608, 26); this.ppBtnDefaultFmt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefaultFmt.Name = "ppBtnDefaultFmt"; @@ -753,13 +749,12 @@ namespace VEPROMS // ppBtnDefCbTxtTyp // this.ppBtnDefCbTxtTyp.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefCbTxtTyp.CallBasePaintBackground = true; 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); this.superTooltip1.SetSuperTooltip(this.ppBtnDefCbTxtTyp, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefCbTxtTyp.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(230, 150))); - this.ppBtnDefCbTxtTyp.TabIndex = 57; + this.ppBtnDefCbTxtTyp.TabIndex = 55; this.ppBtnDefCbTxtTyp.Text = "Default"; this.ppBtnDefCbTxtTyp.ThemeAware = true; this.ppBtnDefCbTxtTyp.Visible = false; @@ -768,13 +763,13 @@ namespace VEPROMS // ppBtnDefaultCbPos // this.ppBtnDefaultCbPos.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefaultCbPos.CallBasePaintBackground = true; 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); this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultCbPos, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefaultCbPos.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 145))); - this.ppBtnDefaultCbPos.TabIndex = 55; + this.ppBtnDefaultCbPos.TabIndex = 62; + this.ppBtnDefaultCbPos.TabStop = false; this.ppBtnDefaultCbPos.Text = "Default"; this.ppBtnDefaultCbPos.ThemeAware = true; this.ppBtnDefaultCbPos.Visible = false; @@ -791,7 +786,7 @@ namespace VEPROMS this.ppCmbxChgBarTxtType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxChgBarTxtType.Name = "ppCmbxChgBarTxtType"; this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(189, 23); - this.ppCmbxChgBarTxtType.TabIndex = 56; + this.ppCmbxChgBarTxtType.TabIndex = 54; this.ppCmbxChgBarTxtType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppCmbxChgBarTxtType.WatermarkText = "select change bar text type"; this.ppCmbxChgBarTxtType.SelectedValueChanged += new System.EventHandler(this.ppCmbxChgBarTxtType_SelectedValueChanged); @@ -807,7 +802,8 @@ namespace VEPROMS 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.TabIndex = 61; + this.ppCmbxChgBarPos.TabStop = false; 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"; @@ -843,13 +839,12 @@ namespace VEPROMS // ppBtnDefCbTxt2 // this.ppBtnDefCbTxt2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefCbTxt2.CallBasePaintBackground = true; this.ppBtnDefCbTxt2.Location = new System.Drawing.Point(157, 50); this.ppBtnDefCbTxt2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefCbTxt2.Name = "ppBtnDefCbTxt2"; this.ppBtnDefCbTxt2.Size = new System.Drawing.Size(59, 25); this.superTooltip1.SetSuperTooltip(this.ppBtnDefCbTxt2, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefCbTxt2.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 150))); - this.ppBtnDefCbTxt2.TabIndex = 61; + this.ppBtnDefCbTxt2.TabIndex = 59; this.ppBtnDefCbTxt2.Text = "Default"; this.ppBtnDefCbTxt2.ThemeAware = true; this.ppBtnDefCbTxt2.Visible = false; @@ -858,13 +853,12 @@ namespace VEPROMS // ppBtnDefCbTxt1 // this.ppBtnDefCbTxt1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefCbTxt1.CallBasePaintBackground = true; this.ppBtnDefCbTxt1.Location = new System.Drawing.Point(157, 2); this.ppBtnDefCbTxt1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefCbTxt1.Name = "ppBtnDefCbTxt1"; this.ppBtnDefCbTxt1.Size = new System.Drawing.Size(59, 25); this.superTooltip1.SetSuperTooltip(this.ppBtnDefCbTxt1, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefCbTxt1.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 150))); - this.ppBtnDefCbTxt1.TabIndex = 59; + this.ppBtnDefCbTxt1.TabIndex = 57; this.ppBtnDefCbTxt1.Text = "Default"; this.ppBtnDefCbTxt1.ThemeAware = true; this.ppBtnDefCbTxt1.Visible = false; @@ -926,7 +920,7 @@ namespace VEPROMS this.ppTxbxChgBarUserMsgTwo.Name = "ppTxbxChgBarUserMsgTwo"; this.ppTxbxChgBarUserMsgTwo.Size = new System.Drawing.Size(57, 24); this.superTooltip1.SetSuperTooltip(this.ppTxbxChgBarUserMsgTwo, new DevComponents.DotNetBar.SuperTooltipInfo("User Defined Message", "", "This message will appear on all change bars", null, null, DevComponents.DotNetBar.eTooltipColor.System)); - this.ppTxbxChgBarUserMsgTwo.TabIndex = 60; + this.ppTxbxChgBarUserMsgTwo.TabIndex = 58; this.ppTxbxChgBarUserMsgTwo.Text = ""; this.ppTxbxChgBarUserMsgTwo.TextChanged += new System.EventHandler(this.ppTxbxChangeBarUserMsgTwo_TextChanged); // @@ -940,7 +934,7 @@ namespace VEPROMS this.ppTxbxChangeBarUserMsgOne.Name = "ppTxbxChangeBarUserMsgOne"; this.ppTxbxChangeBarUserMsgOne.Size = new System.Drawing.Size(57, 24); this.superTooltip1.SetSuperTooltip(this.ppTxbxChangeBarUserMsgOne, new DevComponents.DotNetBar.SuperTooltipInfo("User DefinedMessage", "", "This message will appear on all change bars", null, null, DevComponents.DotNetBar.eTooltipColor.System)); - this.ppTxbxChangeBarUserMsgOne.TabIndex = 58; + this.ppTxbxChangeBarUserMsgOne.TabIndex = 56; this.ppTxbxChangeBarUserMsgOne.Text = ""; this.ppTxbxChangeBarUserMsgOne.TextChanged += new System.EventHandler(this.ppTxbxChangeBarUserMsgOne_TextChanged); // @@ -986,7 +980,6 @@ namespace VEPROMS // ppBtnChgTextColors // this.ppBtnChgTextColors.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnChgTextColors.CallBasePaintBackground = true; this.ppBtnChgTextColors.Image = ((System.Drawing.Image)(resources.GetObject("ppBtnChgTextColors.Image"))); this.ppBtnChgTextColors.ImagePosition = DevComponents.DotNetBar.eImagePosition.Right; this.ppBtnChgTextColors.Location = new System.Drawing.Point(381, 58); @@ -1180,13 +1173,12 @@ namespace VEPROMS // ppBtnDefEdCols // this.ppBtnDefEdCols.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefEdCols.CallBasePaintBackground = true; this.ppBtnDefEdCols.Location = new System.Drawing.Point(368, 25); this.ppBtnDefEdCols.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefEdCols.Name = "ppBtnDefEdCols"; this.ppBtnDefEdCols.Size = new System.Drawing.Size(59, 25); this.superTooltip1.SetSuperTooltip(this.ppBtnDefEdCols, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefEdCols.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 140))); - this.ppBtnDefEdCols.TabIndex = 49; + this.ppBtnDefEdCols.TabIndex = 61; this.ppBtnDefEdCols.Text = "Default"; this.ppBtnDefEdCols.ThemeAware = true; this.ppBtnDefEdCols.Visible = false; @@ -1205,7 +1197,7 @@ namespace VEPROMS this.ppCmbxStpEditorCols.Size = new System.Drawing.Size(169, 23); this.superTooltip1.SetSuperTooltip(this.ppCmbxStpEditorCols, new DevComponents.DotNetBar.SuperTooltipInfo("Step Editor Columns", "", "This will be the default number of columns pre-selected when a new step editor se" + "ction is created.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); - this.ppCmbxStpEditorCols.TabIndex = 48; + this.ppCmbxStpEditorCols.TabIndex = 60; this.ppCmbxStpEditorCols.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.ppCmbxStpEditorCols.WatermarkText = "Select Default Columns"; this.ppCmbxStpEditorCols.SelectedValueChanged += new System.EventHandler(this.ppCmbxStpEditorCols_SelectedValueChanged); @@ -1313,7 +1305,7 @@ namespace VEPROMS this.procPropChangeBarPositionCombo.FormattingEnabled = true; this.procPropChangeBarPositionCombo.Location = new System.Drawing.Point(86, 39); this.procPropChangeBarPositionCombo.Name = "procPropChangeBarPositionCombo"; - this.procPropChangeBarPositionCombo.Size = new System.Drawing.Size(248, 25); + this.procPropChangeBarPositionCombo.Size = new System.Drawing.Size(248, 24); this.procPropChangeBarPositionCombo.TabIndex = 10; // // label18 @@ -1330,7 +1322,7 @@ namespace VEPROMS this.procPropChangeBarTextTypeCombo.FormattingEnabled = true; this.procPropChangeBarTextTypeCombo.Location = new System.Drawing.Point(86, 82); this.procPropChangeBarTextTypeCombo.Name = "procPropChangeBarTextTypeCombo"; - this.procPropChangeBarTextTypeCombo.Size = new System.Drawing.Size(248, 25); + this.procPropChangeBarTextTypeCombo.Size = new System.Drawing.Size(248, 24); this.procPropChangeBarTextTypeCombo.TabIndex = 7; // // procPropPaginationCombo @@ -1338,7 +1330,7 @@ namespace VEPROMS this.procPropPaginationCombo.FormattingEnabled = true; this.procPropPaginationCombo.Location = new System.Drawing.Point(104, 73); this.procPropPaginationCombo.Name = "procPropPaginationCombo"; - this.procPropPaginationCombo.Size = new System.Drawing.Size(165, 25); + this.procPropPaginationCombo.Size = new System.Drawing.Size(165, 24); this.procPropPaginationCombo.TabIndex = 33; // // label19 @@ -1355,7 +1347,7 @@ namespace VEPROMS this.procPropWatermarkCombo.FormattingEnabled = true; this.procPropWatermarkCombo.Location = new System.Drawing.Point(411, 73); this.procPropWatermarkCombo.Name = "procPropWatermarkCombo"; - this.procPropWatermarkCombo.Size = new System.Drawing.Size(178, 25); + this.procPropWatermarkCombo.Size = new System.Drawing.Size(178, 24); this.procPropWatermarkCombo.TabIndex = 31; // // label20 @@ -1372,7 +1364,7 @@ namespace VEPROMS this.procPropDefaultFormatCombo.FormattingEnabled = true; this.procPropDefaultFormatCombo.Location = new System.Drawing.Point(10, 26); this.procPropDefaultFormatCombo.Name = "procPropDefaultFormatCombo"; - this.procPropDefaultFormatCombo.Size = new System.Drawing.Size(526, 25); + this.procPropDefaultFormatCombo.Size = new System.Drawing.Size(526, 24); this.procPropDefaultFormatCombo.TabIndex = 29; // // label21 @@ -1394,7 +1386,7 @@ namespace VEPROMS "Override Format Defined Change Bars"}); this.procPropChangeBarTypeCombo.Location = new System.Drawing.Point(103, 118); this.procPropChangeBarTypeCombo.Name = "procPropChangeBarTypeCombo"; - this.procPropChangeBarTypeCombo.Size = new System.Drawing.Size(293, 25); + this.procPropChangeBarTypeCombo.Size = new System.Drawing.Size(293, 24); this.procPropChangeBarTypeCombo.TabIndex = 27; // // label22 @@ -1438,7 +1430,7 @@ namespace VEPROMS this.ppCbShwDefSettings.Style = DevComponents.DotNetBar.eDotNetBarStyle.VS2005; this.superTooltip1.SetSuperTooltip(this.ppCbShwDefSettings, new DevComponents.DotNetBar.SuperTooltipInfo("Show Default Settings", "", "When checked, the default (parent\'s) setting will appear below the overridden sel" + "ection.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); - this.ppCbShwDefSettings.TabIndex = 90; + this.ppCbShwDefSettings.TabIndex = 92; this.ppCbShwDefSettings.Text = "Show Default Settings"; this.ppCbShwDefSettings.CheckedChanged += new System.EventHandler(this.tabpage_Enter); // @@ -1671,84 +1663,78 @@ namespace VEPROMS // btnEdSettings // this.btnEdSettings.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnEdSettings.CallBasePaintBackground = true; this.btnEdSettings.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnEdSettings.Dock = System.Windows.Forms.DockStyle.Top; this.btnEdSettings.Location = new System.Drawing.Point(0, 115); this.btnEdSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnEdSettings.Name = "btnEdSettings"; this.btnEdSettings.Size = new System.Drawing.Size(160, 23); - this.btnEdSettings.TabIndex = 85; + this.btnEdSettings.TabIndex = 8; this.btnEdSettings.Text = "Editor Settings"; this.btnEdSettings.Click += new System.EventHandler(this.btnEdSettings_Click); // // btnFormatSettings // this.btnFormatSettings.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnFormatSettings.CallBasePaintBackground = true; this.btnFormatSettings.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnFormatSettings.Dock = System.Windows.Forms.DockStyle.Top; this.btnFormatSettings.Location = new System.Drawing.Point(0, 92); this.btnFormatSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnFormatSettings.Name = "btnFormatSettings"; this.btnFormatSettings.Size = new System.Drawing.Size(160, 23); - this.btnFormatSettings.TabIndex = 84; + this.btnFormatSettings.TabIndex = 7; this.btnFormatSettings.Text = "Format Settings"; this.btnFormatSettings.Click += new System.EventHandler(this.btnFormatSettings_Click); // // btnStMsg // this.btnStMsg.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnStMsg.CallBasePaintBackground = true; this.btnStMsg.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnStMsg.Dock = System.Windows.Forms.DockStyle.Top; this.btnStMsg.Location = new System.Drawing.Point(0, 69); this.btnStMsg.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnStMsg.Name = "btnStMsg"; this.btnStMsg.Size = new System.Drawing.Size(160, 23); - this.btnStMsg.TabIndex = 83; + this.btnStMsg.TabIndex = 6; this.btnStMsg.Text = "Startup Message"; this.btnStMsg.Click += new System.EventHandler(this.btnStMsg_Click); // // btnOutputSettings // this.btnOutputSettings.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnOutputSettings.CallBasePaintBackground = true; this.btnOutputSettings.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnOutputSettings.Dock = System.Windows.Forms.DockStyle.Top; this.btnOutputSettings.Location = new System.Drawing.Point(0, 46); this.btnOutputSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnOutputSettings.Name = "btnOutputSettings"; this.btnOutputSettings.Size = new System.Drawing.Size(160, 23); - this.btnOutputSettings.TabIndex = 82; + this.btnOutputSettings.TabIndex = 5; this.btnOutputSettings.Text = "Output Settings"; this.btnOutputSettings.Click += new System.EventHandler(this.btnOutputSettings_Click); // // btnRefObjs // this.btnRefObjs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnRefObjs.CallBasePaintBackground = true; this.btnRefObjs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnRefObjs.Dock = System.Windows.Forms.DockStyle.Top; this.btnRefObjs.Location = new System.Drawing.Point(0, 23); this.btnRefObjs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnRefObjs.Name = "btnRefObjs"; this.btnRefObjs.Size = new System.Drawing.Size(160, 23); - this.btnRefObjs.TabIndex = 81; + this.btnRefObjs.TabIndex = 4; this.btnRefObjs.Text = "Referenced Objects"; this.btnRefObjs.Click += new System.EventHandler(this.btnRefObjs_Click); // // btnGeneral // this.btnGeneral.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnGeneral.CallBasePaintBackground = true; this.btnGeneral.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnGeneral.Dock = System.Windows.Forms.DockStyle.Top; this.btnGeneral.Location = new System.Drawing.Point(0, 0); this.btnGeneral.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnGeneral.Name = "btnGeneral"; this.btnGeneral.Size = new System.Drawing.Size(160, 23); - this.btnGeneral.TabIndex = 80; + this.btnGeneral.TabIndex = 3; this.btnGeneral.Text = "General"; this.btnGeneral.Click += new System.EventHandler(this.btnGeneral_Click); // @@ -1758,12 +1744,12 @@ namespace VEPROMS | System.Windows.Forms.AnchorStyles.Right))); this.tcFolder.BackColor = System.Drawing.Color.Transparent; this.tcFolder.CanReorderTabs = true; - this.tcFolder.Controls.Add(this.tcpGeneral); this.tcFolder.Controls.Add(this.tcpFmtSettings); this.tcFolder.Controls.Add(this.tcpOutputSettings); - this.tcFolder.Controls.Add(this.tcpRefObjs); - this.tcFolder.Controls.Add(this.tcpEdSettings); + this.tcFolder.Controls.Add(this.tcpGeneral); this.tcFolder.Controls.Add(this.tcpStMsg); + this.tcFolder.Controls.Add(this.tcpEdSettings); + this.tcFolder.Controls.Add(this.tcpRefObjs); this.tcFolder.Location = new System.Drawing.Point(173, 7); this.tcFolder.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tcFolder.Name = "tcFolder"; @@ -1782,6 +1768,39 @@ 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"; + // // tcpFmtSettings // this.tcpFmtSettings.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; @@ -1817,39 +1836,6 @@ namespace VEPROMS this.tiFmtSettings.Name = "tiFmtSettings"; this.tiFmtSettings.Text = "Format Settings"; // - // 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"; - // // tcpOutputSettings // this.tcpOutputSettings.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; @@ -1991,7 +1977,7 @@ namespace VEPROMS this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.CancelButton = this.ppBtnCancel; this.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ClientSize = new System.Drawing.Size(871, 359); + this.ClientSize = new System.Drawing.Size(867, 355); this.ControlBox = false; this.Controls.Add(this.tcFolder); this.Controls.Add(this.panButtons); @@ -2009,6 +1995,7 @@ namespace VEPROMS this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Folder Properties"; this.Load += new System.EventHandler(this.frmFolderProperties_Load); + this.Shown += new System.EventHandler(this.frmFolderProperties_Shown); ((System.ComponentModel.ISupportInitialize)(this.folderConfigBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imageCodecInfoBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ppNumUpDwnOvrdPrnPenWidth)).EndInit(); @@ -2034,10 +2021,10 @@ namespace VEPROMS this.panButtons.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tcFolder)).EndInit(); this.tcFolder.ResumeLayout(false); - this.tcpFmtSettings.ResumeLayout(false); - this.tcpFmtSettings.PerformLayout(); this.tcpGeneral.ResumeLayout(false); this.tcpGeneral.PerformLayout(); + this.tcpFmtSettings.ResumeLayout(false); + this.tcpFmtSettings.PerformLayout(); this.tcpOutputSettings.ResumeLayout(false); this.tcpOutputSettings.PerformLayout(); this.tcpRefObjs.ResumeLayout(false); diff --git a/PROMS/VEPROMS User Interface/frmFolderProperties.cs b/PROMS/VEPROMS User Interface/frmFolderProperties.cs index 7d3d2d57..fea27595 100644 --- a/PROMS/VEPROMS User Interface/frmFolderProperties.cs +++ b/PROMS/VEPROMS User Interface/frmFolderProperties.cs @@ -1115,7 +1115,10 @@ namespace VEPROMS //tcpOutputSettings.Focus(); } - + private void frmFolderProperties_Shown(object sender, EventArgs e) + { + ppRTxtName.Focus(); + } } } \ No newline at end of file diff --git a/PROMS/VEPROMS User Interface/frmFolderProperties.resx b/PROMS/VEPROMS User Interface/frmFolderProperties.resx index 9b61915a..d0c77c2e 100644 --- a/PROMS/VEPROMS User Interface/frmFolderProperties.resx +++ b/PROMS/VEPROMS User Interface/frmFolderProperties.resx @@ -173,8 +173,8 @@ Check "Show Default Settings" to display the "default" Change Bar Custom Message iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK/QAA - Cv0BS5xZCwAAAr5JREFUOE+lk21IE3Ecx0/fBPUi6pVZyzELCalXhWEg0XMvipYLVOzJhyxTWlkippGl + YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAK/AAA + CvwBmdu77wAAAr5JREFUOE+lk21IE3Ecx0/fBPUi6pVZyzELCalXhWEg0XMvipYLVOzJhyxTWlkippGl lLjS0qEpmpBmNsnhdPRAL1SwpuFwHtO5pbGle3Duwfvf3R7a/bodTGcaBB18j+PPfT/3/X//94sAAOy/ riAgJNrZWUDpShCpLfSR+K0Aqb3jR+oLbnKupjb8vfDnMPPbakKd5qUsDT88biWERJmf/0R4ng9psq0W vPz2nyAOwH65COHX/ZSt2UG7u9EKgOO1l7K1Ohc0YtPCkMhDmqUpqxKQk8UeytYyFzRCdz5AzTkAeT6X diff --git a/PROMS/VEPROMS User Interface/frmProcedureProperties.cs b/PROMS/VEPROMS User Interface/frmProcedureProperties.cs index 2ec572df..26559b0a 100644 --- a/PROMS/VEPROMS User Interface/frmProcedureProperties.cs +++ b/PROMS/VEPROMS User Interface/frmProcedureProperties.cs @@ -16,6 +16,7 @@ namespace VEPROMS { public partial class frmProcedureProperties : DevComponents.DotNetBar.Office2007Form { + private bool _Initializing = false; private string _DefaultFormatName = null; //private string _DefaultPagination = null; private string _DefaultWatermark = null; @@ -26,7 +27,6 @@ namespace VEPROMS private string _DefaultChgBarUsrMsg2 = null; private string _DefaultFormatColumns = null; private bool _DefaultDisableDuplex = false; - private bool _Initializing = false; private ProcedureConfig _ProcedureConfig; private StepTabRibbon _MyStepTabRibbon; @@ -55,6 +55,7 @@ namespace VEPROMS //_MyStepTabRibbon.Location = new System.Drawing.Point(0, 0); _MyStepTabRibbon.Name = "displayTabRibbon1"; _MyStepTabRibbon.Visible = false; + //defaultSettingsVisiblity(); } private void ppBtnOK_Click(object sender, EventArgs e) @@ -123,7 +124,6 @@ namespace VEPROMS // Get the default Format Columns _DefaultFormatColumns = _ProcedureConfig.Format_Columns.ToString(); - Console.WriteLine("_DefaultFormatColumns {0}", _DefaultFormatColumns); SetupDefault(EnumDescConverter.GetEnumDescription(_ProcedureConfig.Format_Columns), ppLblStpEditorColsDefault, ppCmbxStpEditorCols); // Get the default Disable Duplex @@ -217,8 +217,8 @@ namespace VEPROMS /// EventArgs private void ppCmbxStpEditorCols_SelectedValueChanged(object sender, EventArgs e) { - //if (!_Initializing) - //{ + if (!_Initializing) + { FormatColumns fc = (FormatColumns)Enum.Parse(typeof(FormatColumns), _DefaultFormatColumns); ProcessCmbxSelectionEnumChanged(ppCmbxStpEditorCols, fc, ppBtnDefEdCols, ppLblStpEditorColsDefault); //if ((ppCmbxStpEditorCols.SelectedIndex != -1) && ppCmbxStpEditorCols.SelectedValue.Equals(fc)) @@ -228,8 +228,8 @@ namespace VEPROMS //} //ppBtnDefEdCols.Visible = ppCmbxStpEditorCols.SelectedValue != null; //ppLblStpEditorColsDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefEdCols.Visible; - tcpGeneral.Focus(); - //} + //tcpGeneral.Focus(); + } } #endregion @@ -309,11 +309,11 @@ namespace VEPROMS // Get the parent setting PrintChangeBar pcb = (PrintChangeBar)Enum.Parse(typeof(PrintChangeBar), _DefaultChgBarType); // Compare parent setting with current setting - _Initializing = true; + //_Initializing = true; if (pcb != _ProcedureConfig.Print_ChangeBar) _ProcedureConfig.Print_ChangeBar = pcb; // this will force a database update (write) ppCmbxChangeBarType.SelectedIndex = -1; //reset to the default Change Bar setting - _Initializing = false; + //_Initializing = false; //tcpFormatSettings.Focus(); } @@ -712,5 +712,14 @@ namespace VEPROMS } } + private void frmProcedureProperties_Shown(object sender, EventArgs e) + { + ppProcNumStpRTB.Focus(); + + } + + + + } } \ No newline at end of file