diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs index 048d626a..04dc5849 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs @@ -116,6 +116,7 @@ namespace VEPROMS this.ppDtTmLastMod.Name = "ppDtTmLastMod"; this.ppDtTmLastMod.Size = new System.Drawing.Size(172, 22); this.ppDtTmLastMod.TabIndex = 24; + this.ppDtTmLastMod.Visible = false; // // ppCbPrnSecNumTitle // @@ -128,6 +129,7 @@ namespace VEPROMS this.ppCbPrnSecNumTitle.TabIndex = 23; this.ppCbPrnSecNumTitle.Text = "Print Section Number and Title"; this.ppCbPrnSecNumTitle.UseVisualStyleBackColor = false; + this.ppCbPrnSecNumTitle.Visible = false; // // sectionConfigBindingSource // @@ -145,6 +147,7 @@ namespace VEPROMS this.ppCbIncTOC.TabIndex = 22; this.ppCbIncTOC.Text = "Include on Table Of Contents"; this.ppCbIncTOC.UseVisualStyleBackColor = false; + this.ppCbIncTOC.Visible = false; // // ppTxtBxUserID // @@ -154,6 +157,7 @@ namespace VEPROMS this.ppTxtBxUserID.Name = "ppTxtBxUserID"; this.ppTxtBxUserID.Size = new System.Drawing.Size(154, 22); this.ppTxtBxUserID.TabIndex = 12; + this.ppTxtBxUserID.Visible = false; // // label21 // @@ -164,6 +168,7 @@ namespace VEPROMS this.label21.Size = new System.Drawing.Size(55, 17); this.label21.TabIndex = 11; this.label21.Text = "User ID"; + this.label21.Visible = false; // // label3 // @@ -174,6 +179,7 @@ namespace VEPROMS this.label3.Size = new System.Drawing.Size(92, 17); this.label3.TabIndex = 4; this.label3.Text = "Last Modified"; + this.label3.Visible = false; // // ppRTxtTitle // @@ -675,6 +681,7 @@ namespace VEPROMS this.btnViewStngs.Size = new System.Drawing.Size(192, 23); this.btnViewStngs.TabIndex = 3; this.btnViewStngs.Text = "View Settings"; + this.btnViewStngs.Visible = false; this.btnViewStngs.Click += new System.EventHandler(this.btnViewStngs_Click); // // btnLibDocs @@ -719,9 +726,9 @@ namespace VEPROMS | System.Windows.Forms.AnchorStyles.Right))); this.tcSectionProp.BackColor = System.Drawing.Color.Transparent; this.tcSectionProp.CanReorderTabs = true; - this.tcSectionProp.Controls.Add(this.tabControlPanel1); this.tcSectionProp.Controls.Add(this.tabControlPanel2); this.tcSectionProp.Controls.Add(this.tabControlPanel3); + this.tcSectionProp.Controls.Add(this.tabControlPanel1); this.tcSectionProp.Controls.Add(this.tabControlPanel4); this.tcSectionProp.Location = new System.Drawing.Point(216, 10); this.tcSectionProp.Name = "tcSectionProp"; @@ -734,7 +741,6 @@ namespace VEPROMS this.tcSectionProp.Tabs.Add(this.tiGeneral); this.tcSectionProp.Tabs.Add(this.tiFormat); this.tcSectionProp.Tabs.Add(this.tiLibDoc); - this.tcSectionProp.Tabs.Add(this.tiViewStnns); this.tcSectionProp.TabsVisible = false; this.tcSectionProp.Text = "tabControl2"; // diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.cs index 9dd4f3e6..3e7206cd 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.cs @@ -62,7 +62,7 @@ namespace VEPROMS ppLblFormatDefault.Text = string.Format("({0})", _DefaultFormatName); ppCmbxFormat.WatermarkText = string.Format("{0}", _DefaultFormatName); } - _SectionConfig.ParentLookup = false; + _SectionConfig.ParentLookup = false; } private void frmSectionProperties_Load(object sender, EventArgs e) @@ -94,10 +94,12 @@ namespace VEPROMS ppCmbxSectPagination.DataSource = EnumDetail.Details(); ppCmbxSectPagination.DisplayMember = "Description"; ppCmbxSectPagination.ValueMember = "EValue"; + ppCmbxSectPagination.SelectedIndex = -1; ppCmbxNumColumns.DataSource = EnumDetail.Details(); ppCmbxNumColumns.DisplayMember = "Description"; ppCmbxNumColumns.ValueMember = "EValue"; + ppCmbxNumColumns.SelectedIndex = -1; _Initializing = false; } @@ -229,7 +231,7 @@ namespace VEPROMS if (!_Initializing) defaultSettingsVisiblity(); } - #endregion + } } \ No newline at end of file diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.resx b/PROMS/VEPROMS User Interface/frmSectionProperties.resx index ffd84eb0..3f0a8c19 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.resx +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.resx @@ -120,12 +120,6 @@ 385, 20 - - 385, 20 - - - 845, 20 - 845, 20 @@ -151,7 +145,4 @@ When a format other than the inherited one is selected, a button labeled "Defaul Pressing the "Default" button will revert back to using the inherited format for this section. - - 613, 20 - \ No newline at end of file