This commit is contained in:
Kathy Ruffing 2011-11-21 16:42:22 +00:00
parent e192f0e1a3
commit 4ec326169f
3 changed files with 1158 additions and 1107 deletions

View File

@ -84,6 +84,8 @@ namespace VEPROMS
this.btnGeneral = new DevComponents.DotNetBar.ButtonX(); this.btnGeneral = new DevComponents.DotNetBar.ButtonX();
this.tcSectionProp = new DevComponents.DotNetBar.TabControl(); this.tcSectionProp = new DevComponents.DotNetBar.TabControl();
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel(); this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
this.ppCbEditableData = new System.Windows.Forms.CheckBox();
this.ppCbPrnSecNumTitle = new System.Windows.Forms.CheckBox();
this.ppSectNumberStpRTB = new Volian.Controls.Library.StepRTB(this.components); this.ppSectNumberStpRTB = new Volian.Controls.Library.StepRTB(this.components);
this.ppSectTitleStpRTB = new Volian.Controls.Library.StepRTB(this.components); this.ppSectTitleStpRTB = new Volian.Controls.Library.StepRTB(this.components);
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components); this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
@ -92,14 +94,13 @@ namespace VEPROMS
this.rbStepSect = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.rbStepSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.ppGpbxSignoffCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel(); this.ppGpbxSignoffCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel();
this.tiFormat = new DevComponents.DotNetBar.TabItem(this.components); this.tiFormat = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpLibDoc = new DevComponents.DotNetBar.TabControlPanel();
this.tiLibDoc = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpAutomation = new DevComponents.DotNetBar.TabControlPanel(); this.tcpAutomation = new DevComponents.DotNetBar.TabControlPanel();
this.ppCbLinkWithEnhancedDoc = new System.Windows.Forms.CheckBox(); this.ppCbLinkWithEnhancedDoc = new System.Windows.Forms.CheckBox();
this.ppCbPlaceKeeper = new System.Windows.Forms.CheckBox(); this.ppCbPlaceKeeper = new System.Windows.Forms.CheckBox();
this.ppCbPrnSecNumTitle = new System.Windows.Forms.CheckBox();
this.ppCbIncTOC = new System.Windows.Forms.CheckBox(); this.ppCbIncTOC = new System.Windows.Forms.CheckBox();
this.tiAutomation = new DevComponents.DotNetBar.TabItem(this.components); this.tiAutomation = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpLibDoc = new DevComponents.DotNetBar.TabControlPanel();
this.tiLibDoc = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel();
this.tiViewStnns = new DevComponents.DotNetBar.TabItem(this.components); this.tiViewStnns = new DevComponents.DotNetBar.TabItem(this.components);
((System.ComponentModel.ISupportInitialize)(this.sectionConfigBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sectionConfigBindingSource)).BeginInit();
@ -109,8 +110,8 @@ namespace VEPROMS
this.tcpGeneral.SuspendLayout(); this.tcpGeneral.SuspendLayout();
this.tcpFormat.SuspendLayout(); this.tcpFormat.SuspendLayout();
this.ppGpbxSignoffCheckoff.SuspendLayout(); this.ppGpbxSignoffCheckoff.SuspendLayout();
this.tcpLibDoc.SuspendLayout();
this.tcpAutomation.SuspendLayout(); this.tcpAutomation.SuspendLayout();
this.tcpLibDoc.SuspendLayout();
this.tabControlPanel4.SuspendLayout(); this.tabControlPanel4.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
@ -223,7 +224,6 @@ namespace VEPROMS
// ppBtnDefaultFmt // ppBtnDefaultFmt
// //
this.ppBtnDefaultFmt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnDefaultFmt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.ppBtnDefaultFmt.CallBasePaintBackground = true;
this.ppBtnDefaultFmt.Location = new System.Drawing.Point(587, 22); this.ppBtnDefaultFmt.Location = new System.Drawing.Point(587, 22);
this.ppBtnDefaultFmt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefaultFmt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnDefaultFmt.Name = "ppBtnDefaultFmt"; this.ppBtnDefaultFmt.Name = "ppBtnDefaultFmt";
@ -361,7 +361,6 @@ namespace VEPROMS
// ppBtnCvrtToLibDoc // ppBtnCvrtToLibDoc
// //
this.ppBtnCvrtToLibDoc.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnCvrtToLibDoc.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.ppBtnCvrtToLibDoc.CallBasePaintBackground = true;
this.ppBtnCvrtToLibDoc.Location = new System.Drawing.Point(21, 237); this.ppBtnCvrtToLibDoc.Location = new System.Drawing.Point(21, 237);
this.ppBtnCvrtToLibDoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnCvrtToLibDoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnCvrtToLibDoc.Name = "ppBtnCvrtToLibDoc"; this.ppBtnCvrtToLibDoc.Name = "ppBtnCvrtToLibDoc";
@ -465,7 +464,7 @@ namespace VEPROMS
// //
this.ppBtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ppBtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.ppBtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.ppBtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.ppBtnCancel.Location = new System.Drawing.Point(768, 353); this.ppBtnCancel.Location = new System.Drawing.Point(876, 433);
this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnCancel.Name = "ppBtnCancel"; this.ppBtnCancel.Name = "ppBtnCancel";
this.ppBtnCancel.Size = new System.Drawing.Size(75, 26); this.ppBtnCancel.Size = new System.Drawing.Size(75, 26);
@ -477,7 +476,7 @@ namespace VEPROMS
// ppBtnOK // ppBtnOK
// //
this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.ppBtnOK.Location = new System.Drawing.Point(671, 353); this.ppBtnOK.Location = new System.Drawing.Point(779, 433);
this.ppBtnOK.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnOK.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnOK.Name = "ppBtnOK"; this.ppBtnOK.Name = "ppBtnOK";
this.ppBtnOK.Size = new System.Drawing.Size(75, 26); this.ppBtnOK.Size = new System.Drawing.Size(75, 26);
@ -491,7 +490,7 @@ namespace VEPROMS
this.ppLblDefSettingsInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ppLblDefSettingsInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.ppLblDefSettingsInfo.AutoSize = true; this.ppLblDefSettingsInfo.AutoSize = true;
this.ppLblDefSettingsInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblDefSettingsInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(10, 337); this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(10, 438);
this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo"; this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo";
this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(205, 17); this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(205, 17);
this.ppLblDefSettingsInfo.TabIndex = 25; this.ppLblDefSettingsInfo.TabIndex = 25;
@ -505,7 +504,7 @@ namespace VEPROMS
// //
this.ppCbShwDefSettings.BackgroundStyle.Class = ""; this.ppCbShwDefSettings.BackgroundStyle.Class = "";
this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppCbShwDefSettings.Location = new System.Drawing.Point(11, 357); this.ppCbShwDefSettings.Location = new System.Drawing.Point(11, 458);
this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbShwDefSettings.Name = "ppCbShwDefSettings"; this.ppCbShwDefSettings.Name = "ppCbShwDefSettings";
this.ppCbShwDefSettings.Size = new System.Drawing.Size(193, 23); this.ppCbShwDefSettings.Size = new System.Drawing.Size(193, 23);
@ -622,7 +621,6 @@ namespace VEPROMS
// ppBtnDefaultPaginationStyle // ppBtnDefaultPaginationStyle
// //
this.ppBtnDefaultPaginationStyle.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnDefaultPaginationStyle.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.ppBtnDefaultPaginationStyle.CallBasePaintBackground = true;
this.ppBtnDefaultPaginationStyle.Location = new System.Drawing.Point(281, 166); this.ppBtnDefaultPaginationStyle.Location = new System.Drawing.Point(281, 166);
this.ppBtnDefaultPaginationStyle.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefaultPaginationStyle.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnDefaultPaginationStyle.Name = "ppBtnDefaultPaginationStyle"; this.ppBtnDefaultPaginationStyle.Name = "ppBtnDefaultPaginationStyle";
@ -638,7 +636,6 @@ namespace VEPROMS
// ppBtnDefaultNumColumns // ppBtnDefaultNumColumns
// //
this.ppBtnDefaultNumColumns.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnDefaultNumColumns.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.ppBtnDefaultNumColumns.CallBasePaintBackground = true;
this.ppBtnDefaultNumColumns.Location = new System.Drawing.Point(230, 227); this.ppBtnDefaultNumColumns.Location = new System.Drawing.Point(230, 227);
this.ppBtnDefaultNumColumns.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefaultNumColumns.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnDefaultNumColumns.Name = "ppBtnDefaultNumColumns"; this.ppBtnDefaultNumColumns.Name = "ppBtnDefaultNumColumns";
@ -695,7 +692,6 @@ namespace VEPROMS
// btnAutomation // btnAutomation
// //
this.btnAutomation.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnAutomation.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnAutomation.CallBasePaintBackground = true;
this.btnAutomation.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnAutomation.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnAutomation.Dock = System.Windows.Forms.DockStyle.Top; this.btnAutomation.Dock = System.Windows.Forms.DockStyle.Top;
this.btnAutomation.Location = new System.Drawing.Point(0, 69); this.btnAutomation.Location = new System.Drawing.Point(0, 69);
@ -709,7 +705,6 @@ namespace VEPROMS
// btnLibDocs // btnLibDocs
// //
this.btnLibDocs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnLibDocs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnLibDocs.CallBasePaintBackground = true;
this.btnLibDocs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnLibDocs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnLibDocs.Dock = System.Windows.Forms.DockStyle.Top; this.btnLibDocs.Dock = System.Windows.Forms.DockStyle.Top;
this.btnLibDocs.Location = new System.Drawing.Point(0, 46); this.btnLibDocs.Location = new System.Drawing.Point(0, 46);
@ -723,7 +718,6 @@ namespace VEPROMS
// btnFormat // btnFormat
// //
this.btnFormat.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnFormat.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnFormat.CallBasePaintBackground = true;
this.btnFormat.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnFormat.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnFormat.Dock = System.Windows.Forms.DockStyle.Top; this.btnFormat.Dock = System.Windows.Forms.DockStyle.Top;
this.btnFormat.Location = new System.Drawing.Point(0, 23); this.btnFormat.Location = new System.Drawing.Point(0, 23);
@ -737,7 +731,6 @@ namespace VEPROMS
// btnGeneral // btnGeneral
// //
this.btnGeneral.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnGeneral.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnGeneral.CallBasePaintBackground = true;
this.btnGeneral.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnGeneral.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnGeneral.Dock = System.Windows.Forms.DockStyle.Top; this.btnGeneral.Dock = System.Windows.Forms.DockStyle.Top;
this.btnGeneral.Location = new System.Drawing.Point(0, 0); this.btnGeneral.Location = new System.Drawing.Point(0, 0);
@ -750,21 +743,19 @@ namespace VEPROMS
// //
// tcSectionProp // tcSectionProp
// //
this.tcSectionProp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.tcSectionProp.BackColor = System.Drawing.Color.Transparent; this.tcSectionProp.BackColor = System.Drawing.Color.Transparent;
this.tcSectionProp.CanReorderTabs = true; this.tcSectionProp.CanReorderTabs = true;
this.tcSectionProp.Controls.Add(this.tcpLibDoc);
this.tcSectionProp.Controls.Add(this.tcpGeneral); this.tcSectionProp.Controls.Add(this.tcpGeneral);
this.tcSectionProp.Controls.Add(this.tcpFormat); this.tcSectionProp.Controls.Add(this.tcpFormat);
this.tcSectionProp.Controls.Add(this.tcpAutomation); this.tcSectionProp.Controls.Add(this.tcpAutomation);
this.tcSectionProp.Controls.Add(this.tcpLibDoc);
this.tcSectionProp.Controls.Add(this.tabControlPanel4); this.tcSectionProp.Controls.Add(this.tabControlPanel4);
this.tcSectionProp.Location = new System.Drawing.Point(216, 10); this.tcSectionProp.Location = new System.Drawing.Point(274, 10);
this.tcSectionProp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tcSectionProp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcSectionProp.Name = "tcSectionProp"; this.tcSectionProp.Name = "tcSectionProp";
this.tcSectionProp.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold); this.tcSectionProp.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold);
this.tcSectionProp.SelectedTabIndex = 0; this.tcSectionProp.SelectedTabIndex = 0;
this.tcSectionProp.Size = new System.Drawing.Size(648, 325); this.tcSectionProp.Size = new System.Drawing.Size(648, 385);
this.tcSectionProp.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Dock; this.tcSectionProp.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Dock;
this.tcSectionProp.TabIndex = 29; this.tcSectionProp.TabIndex = 29;
this.tcSectionProp.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.tcSectionProp.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
@ -777,6 +768,8 @@ namespace VEPROMS
// //
// tcpGeneral // tcpGeneral
// //
this.tcpGeneral.Controls.Add(this.ppCbEditableData);
this.tcpGeneral.Controls.Add(this.ppCbPrnSecNumTitle);
this.tcpGeneral.Controls.Add(this.ppSectNumberStpRTB); this.tcpGeneral.Controls.Add(this.ppSectNumberStpRTB);
this.tcpGeneral.Controls.Add(this.ppSectTitleStpRTB); this.tcpGeneral.Controls.Add(this.ppSectTitleStpRTB);
this.tcpGeneral.Controls.Add(this.ppDtTmLastMod); this.tcpGeneral.Controls.Add(this.ppDtTmLastMod);
@ -790,7 +783,7 @@ namespace VEPROMS
this.tcpGeneral.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tcpGeneral.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpGeneral.Name = "tcpGeneral"; this.tcpGeneral.Name = "tcpGeneral";
this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1); this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1);
this.tcpGeneral.Size = new System.Drawing.Size(648, 301); this.tcpGeneral.Size = new System.Drawing.Size(648, 361);
this.tcpGeneral.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); 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.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.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -801,22 +794,53 @@ namespace VEPROMS
this.tcpGeneral.TabIndex = 1; this.tcpGeneral.TabIndex = 1;
this.tcpGeneral.TabItem = this.tiGeneral; this.tcpGeneral.TabItem = this.tiGeneral;
// //
// ppCbEditableData
//
this.ppCbEditableData.AutoSize = true;
this.ppCbEditableData.BackColor = System.Drawing.Color.Transparent;
this.ppCbEditableData.Location = new System.Drawing.Point(358, 184);
this.ppCbEditableData.Name = "ppCbEditableData";
this.ppCbEditableData.Size = new System.Drawing.Size(115, 21);
this.ppCbEditableData.TabIndex = 55;
this.ppCbEditableData.Text = "Editable Data";
this.ppCbEditableData.UseVisualStyleBackColor = false;
this.ppCbEditableData.CheckedChanged += new System.EventHandler(this.ppCbEditableData_CheckedChanged);
//
// ppCbPrnSecNumTitle
//
this.ppCbPrnSecNumTitle.AutoSize = true;
this.ppCbPrnSecNumTitle.BackColor = System.Drawing.Color.Transparent;
this.ppCbPrnSecNumTitle.Location = new System.Drawing.Point(358, 149);
this.ppCbPrnSecNumTitle.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbPrnSecNumTitle.Name = "ppCbPrnSecNumTitle";
this.ppCbPrnSecNumTitle.Size = new System.Drawing.Size(223, 21);
this.ppCbPrnSecNumTitle.TabIndex = 54;
this.ppCbPrnSecNumTitle.Text = "Print Section Number and Title";
this.ppCbPrnSecNumTitle.UseVisualStyleBackColor = false;
this.ppCbPrnSecNumTitle.CheckedChanged += new System.EventHandler(this.ppCbPrnSecNumTitle_CheckedChanged);
//
// ppSectNumberStpRTB // ppSectNumberStpRTB
// //
this.ppSectNumberStpRTB.ActiveMode = false;
this.ppSectNumberStpRTB.AdjustSize = new System.Drawing.Size(0, 0); this.ppSectNumberStpRTB.AdjustSize = new System.Drawing.Size(0, 0);
this.ppSectNumberStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.None; this.ppSectNumberStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.ppSectNumberStpRTB.CheckAbove = "|?????????"; this.ppSectNumberStpRTB.CheckAbove = "|?????????";
this.ppSectNumberStpRTB.CheckBelow = "|?"; this.ppSectNumberStpRTB.CheckBelow = "|?";
this.ppSectNumberStpRTB.CheckLeft = "-?????????"; this.ppSectNumberStpRTB.CheckLeft = "-?????????";
this.ppSectNumberStpRTB.CheckRight = "-??"; this.ppSectNumberStpRTB.CheckRight = "-??";
this.ppSectNumberStpRTB.Closed = false;
this.ppSectNumberStpRTB.ContentsRectangle = new System.Drawing.Rectangle(85, 12, 159, 16); this.ppSectNumberStpRTB.ContentsRectangle = new System.Drawing.Rectangle(85, 12, 159, 16);
this.ppSectNumberStpRTB.EditMode = true;
this.ppSectNumberStpRTB.FieldToEdit = Volian.Controls.Library.E_FieldToEdit.StepText; this.ppSectNumberStpRTB.FieldToEdit = Volian.Controls.Library.E_FieldToEdit.StepText;
this.ppSectNumberStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
this.ppSectNumberStpRTB.Location = new System.Drawing.Point(85, 12); this.ppSectNumberStpRTB.Location = new System.Drawing.Point(85, 12);
this.ppSectNumberStpRTB.MinimumSize = new System.Drawing.Size(159, 18); this.ppSectNumberStpRTB.MinimumSize = new System.Drawing.Size(159, 18);
this.ppSectNumberStpRTB.MyClassName = "RichEdit20W"; this.ppSectNumberStpRTB.MyClassName = "RichEdit20W";
this.ppSectNumberStpRTB.MyItemInfo = null; this.ppSectNumberStpRTB.MyItemInfo = null;
this.ppSectNumberStpRTB.MyLinkText = null; this.ppSectNumberStpRTB.MyLinkText = null;
this.ppSectNumberStpRTB.Name = "ppSectNumberStpRTB"; this.ppSectNumberStpRTB.Name = "ppSectNumberStpRTB";
this.ppSectNumberStpRTB.OrigDisplayText = null;
this.ppSectNumberStpRTB.OrigRTF = null;
this.ppSectNumberStpRTB.ProcessKeystrokes = true; this.ppSectNumberStpRTB.ProcessKeystrokes = true;
this.ppSectNumberStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks; this.ppSectNumberStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks;
this.ppSectNumberStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None; this.ppSectNumberStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
@ -830,20 +854,26 @@ namespace VEPROMS
// //
// ppSectTitleStpRTB // ppSectTitleStpRTB
// //
this.ppSectTitleStpRTB.ActiveMode = false;
this.ppSectTitleStpRTB.AdjustSize = new System.Drawing.Size(0, 0); this.ppSectTitleStpRTB.AdjustSize = new System.Drawing.Size(0, 0);
this.ppSectTitleStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.None; this.ppSectTitleStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.ppSectTitleStpRTB.CheckAbove = "|?????????"; this.ppSectTitleStpRTB.CheckAbove = "|?????????";
this.ppSectTitleStpRTB.CheckBelow = "|?"; this.ppSectTitleStpRTB.CheckBelow = "|?";
this.ppSectTitleStpRTB.CheckLeft = "-?????????"; this.ppSectTitleStpRTB.CheckLeft = "-?????????";
this.ppSectTitleStpRTB.CheckRight = "-??"; this.ppSectTitleStpRTB.CheckRight = "-??";
this.ppSectTitleStpRTB.Closed = false;
this.ppSectTitleStpRTB.ContentsRectangle = new System.Drawing.Rectangle(85, 60, 541, 16); this.ppSectTitleStpRTB.ContentsRectangle = new System.Drawing.Rectangle(85, 60, 541, 16);
this.ppSectTitleStpRTB.EditMode = true;
this.ppSectTitleStpRTB.FieldToEdit = Volian.Controls.Library.E_FieldToEdit.StepText; this.ppSectTitleStpRTB.FieldToEdit = Volian.Controls.Library.E_FieldToEdit.StepText;
this.ppSectTitleStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
this.ppSectTitleStpRTB.Location = new System.Drawing.Point(85, 60); this.ppSectTitleStpRTB.Location = new System.Drawing.Point(85, 60);
this.ppSectTitleStpRTB.MinimumSize = new System.Drawing.Size(541, 61); this.ppSectTitleStpRTB.MinimumSize = new System.Drawing.Size(541, 61);
this.ppSectTitleStpRTB.MyClassName = "RichEdit20W"; this.ppSectTitleStpRTB.MyClassName = "RichEdit20W";
this.ppSectTitleStpRTB.MyItemInfo = null; this.ppSectTitleStpRTB.MyItemInfo = null;
this.ppSectTitleStpRTB.MyLinkText = null; this.ppSectTitleStpRTB.MyLinkText = null;
this.ppSectTitleStpRTB.Name = "ppSectTitleStpRTB"; this.ppSectTitleStpRTB.Name = "ppSectTitleStpRTB";
this.ppSectTitleStpRTB.OrigDisplayText = null;
this.ppSectTitleStpRTB.OrigRTF = null;
this.ppSectTitleStpRTB.ProcessKeystrokes = true; this.ppSectTitleStpRTB.ProcessKeystrokes = true;
this.ppSectTitleStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks; this.ppSectTitleStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks;
this.ppSectTitleStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None; this.ppSectTitleStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
@ -885,7 +915,7 @@ namespace VEPROMS
this.tcpFormat.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tcpFormat.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpFormat.Name = "tcpFormat"; this.tcpFormat.Name = "tcpFormat";
this.tcpFormat.Padding = new System.Windows.Forms.Padding(1); this.tcpFormat.Padding = new System.Windows.Forms.Padding(1);
this.tcpFormat.Size = new System.Drawing.Size(648, 301); this.tcpFormat.Size = new System.Drawing.Size(648, 361);
this.tcpFormat.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tcpFormat.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpFormat.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tcpFormat.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpFormat.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tcpFormat.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -990,45 +1020,17 @@ namespace VEPROMS
this.tiFormat.AttachedControl = this.tcpFormat; this.tiFormat.AttachedControl = this.tcpFormat;
this.tiFormat.Name = "tiFormat"; this.tiFormat.Name = "tiFormat";
this.tiFormat.Text = "Format"; this.tiFormat.Text = "Format";
//
// tcpLibDoc
//
this.tcpLibDoc.Controls.Add(this.ppBtnCvrtToLibDoc);
this.tcpLibDoc.Controls.Add(this.lblLibraryDocument);
this.tcpLibDoc.Controls.Add(this.ppCmbxLibDoc);
this.tcpLibDoc.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpLibDoc.Location = new System.Drawing.Point(0, 24);
this.tcpLibDoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpLibDoc.Name = "tcpLibDoc";
this.tcpLibDoc.Padding = new System.Windows.Forms.Padding(1);
this.tcpLibDoc.Size = new System.Drawing.Size(648, 301);
this.tcpLibDoc.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpLibDoc.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpLibDoc.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpLibDoc.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpLibDoc.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpLibDoc.Style.GradientAngle = 90;
this.tcpLibDoc.TabIndex = 3;
this.tcpLibDoc.TabItem = this.tiLibDoc;
//
// tiLibDoc
//
this.tiLibDoc.AttachedControl = this.tcpLibDoc;
this.tiLibDoc.Name = "tiLibDoc";
this.tiLibDoc.Text = "Library Document";
// //
// tcpAutomation // tcpAutomation
// //
this.tcpAutomation.Controls.Add(this.ppCbLinkWithEnhancedDoc); this.tcpAutomation.Controls.Add(this.ppCbLinkWithEnhancedDoc);
this.tcpAutomation.Controls.Add(this.ppCbPlaceKeeper); this.tcpAutomation.Controls.Add(this.ppCbPlaceKeeper);
this.tcpAutomation.Controls.Add(this.ppCbPrnSecNumTitle);
this.tcpAutomation.Controls.Add(this.ppCbIncTOC); this.tcpAutomation.Controls.Add(this.ppCbIncTOC);
this.tcpAutomation.Dock = System.Windows.Forms.DockStyle.Fill; this.tcpAutomation.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpAutomation.Location = new System.Drawing.Point(0, 24); this.tcpAutomation.Location = new System.Drawing.Point(0, 24);
this.tcpAutomation.Name = "tcpAutomation"; this.tcpAutomation.Name = "tcpAutomation";
this.tcpAutomation.Padding = new System.Windows.Forms.Padding(1); this.tcpAutomation.Padding = new System.Windows.Forms.Padding(1);
this.tcpAutomation.Size = new System.Drawing.Size(648, 301); this.tcpAutomation.Size = new System.Drawing.Size(648, 361);
this.tcpAutomation.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tcpAutomation.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpAutomation.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tcpAutomation.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpAutomation.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tcpAutomation.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -1065,19 +1067,6 @@ namespace VEPROMS
this.ppCbPlaceKeeper.Text = "Auto Generate Placekeeper"; this.ppCbPlaceKeeper.Text = "Auto Generate Placekeeper";
this.ppCbPlaceKeeper.UseVisualStyleBackColor = false; this.ppCbPlaceKeeper.UseVisualStyleBackColor = false;
// //
// ppCbPrnSecNumTitle
//
this.ppCbPrnSecNumTitle.AutoSize = true;
this.ppCbPrnSecNumTitle.BackColor = System.Drawing.Color.Transparent;
this.ppCbPrnSecNumTitle.Enabled = false;
this.ppCbPrnSecNumTitle.Location = new System.Drawing.Point(20, 99);
this.ppCbPrnSecNumTitle.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbPrnSecNumTitle.Name = "ppCbPrnSecNumTitle";
this.ppCbPrnSecNumTitle.Size = new System.Drawing.Size(223, 21);
this.ppCbPrnSecNumTitle.TabIndex = 53;
this.ppCbPrnSecNumTitle.Text = "Print Section Number and Title";
this.ppCbPrnSecNumTitle.UseVisualStyleBackColor = false;
//
// ppCbIncTOC // ppCbIncTOC
// //
this.ppCbIncTOC.AutoSize = true; this.ppCbIncTOC.AutoSize = true;
@ -1097,6 +1086,33 @@ namespace VEPROMS
this.tiAutomation.Name = "tiAutomation"; this.tiAutomation.Name = "tiAutomation";
this.tiAutomation.Text = "Automation"; this.tiAutomation.Text = "Automation";
// //
// tcpLibDoc
//
this.tcpLibDoc.Controls.Add(this.ppBtnCvrtToLibDoc);
this.tcpLibDoc.Controls.Add(this.lblLibraryDocument);
this.tcpLibDoc.Controls.Add(this.ppCmbxLibDoc);
this.tcpLibDoc.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpLibDoc.Location = new System.Drawing.Point(0, 24);
this.tcpLibDoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpLibDoc.Name = "tcpLibDoc";
this.tcpLibDoc.Padding = new System.Windows.Forms.Padding(1);
this.tcpLibDoc.Size = new System.Drawing.Size(648, 361);
this.tcpLibDoc.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpLibDoc.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpLibDoc.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpLibDoc.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpLibDoc.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpLibDoc.Style.GradientAngle = 90;
this.tcpLibDoc.TabIndex = 3;
this.tcpLibDoc.TabItem = this.tiLibDoc;
//
// tiLibDoc
//
this.tiLibDoc.AttachedControl = this.tcpLibDoc;
this.tiLibDoc.Name = "tiLibDoc";
this.tiLibDoc.Text = "Library Document";
//
// tabControlPanel4 // tabControlPanel4
// //
this.tabControlPanel4.Controls.Add(this.ppCkLstApplicabilityDesinations); this.tabControlPanel4.Controls.Add(this.ppCkLstApplicabilityDesinations);
@ -1109,7 +1125,7 @@ namespace VEPROMS
this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabControlPanel4.Name = "tabControlPanel4"; this.tabControlPanel4.Name = "tabControlPanel4";
this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel4.Size = new System.Drawing.Size(648, 301); this.tabControlPanel4.Size = new System.Drawing.Size(648, 361);
this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); 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.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.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
@ -1130,8 +1146,9 @@ namespace VEPROMS
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 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(857, 382); this.ClientSize = new System.Drawing.Size(950, 459);
this.ControlBox = false; this.ControlBox = false;
this.Controls.Add(this.tcSectionProp); this.Controls.Add(this.tcSectionProp);
this.Controls.Add(this.panSectBtns); this.Controls.Add(this.panSectBtns);
@ -1161,10 +1178,10 @@ namespace VEPROMS
this.tcpFormat.PerformLayout(); this.tcpFormat.PerformLayout();
this.ppGpbxSignoffCheckoff.ResumeLayout(false); this.ppGpbxSignoffCheckoff.ResumeLayout(false);
this.ppGpbxSignoffCheckoff.PerformLayout(); this.ppGpbxSignoffCheckoff.PerformLayout();
this.tcpLibDoc.ResumeLayout(false);
this.tcpLibDoc.PerformLayout();
this.tcpAutomation.ResumeLayout(false); this.tcpAutomation.ResumeLayout(false);
this.tcpAutomation.PerformLayout(); this.tcpAutomation.PerformLayout();
this.tcpLibDoc.ResumeLayout(false);
this.tcpLibDoc.PerformLayout();
this.tabControlPanel4.ResumeLayout(false); this.tabControlPanel4.ResumeLayout(false);
this.tabControlPanel4.PerformLayout(); this.tabControlPanel4.PerformLayout();
this.ResumeLayout(false); this.ResumeLayout(false);
@ -1235,7 +1252,6 @@ namespace VEPROMS
private Volian.Controls.Library.StepRTB ppSectNumberStpRTB; private Volian.Controls.Library.StepRTB ppSectNumberStpRTB;
private DevComponents.DotNetBar.TabControlPanel tcpAutomation; private DevComponents.DotNetBar.TabControlPanel tcpAutomation;
private DevComponents.DotNetBar.TabItem tiAutomation; private DevComponents.DotNetBar.TabItem tiAutomation;
private System.Windows.Forms.CheckBox ppCbPrnSecNumTitle;
private System.Windows.Forms.CheckBox ppCbIncTOC; private System.Windows.Forms.CheckBox ppCbIncTOC;
private System.Windows.Forms.CheckBox ppCbPlaceKeeper; private System.Windows.Forms.CheckBox ppCbPlaceKeeper;
private System.Windows.Forms.CheckBox ppCbLinkWithEnhancedDoc; private System.Windows.Forms.CheckBox ppCbLinkWithEnhancedDoc;
@ -1246,5 +1262,7 @@ namespace VEPROMS
private DevComponents.DotNetBar.ButtonX ppBtnDefaultPaginationStyle; private DevComponents.DotNetBar.ButtonX ppBtnDefaultPaginationStyle;
private System.Windows.Forms.Label ppLblDefaultNumColumns; private System.Windows.Forms.Label ppLblDefaultNumColumns;
private System.Windows.Forms.Label ppLblDefPaginationStyle; private System.Windows.Forms.Label ppLblDefPaginationStyle;
private System.Windows.Forms.CheckBox ppCbEditableData;
private System.Windows.Forms.CheckBox ppCbPrnSecNumTitle;
} }
} }

View File

@ -62,6 +62,15 @@ namespace VEPROMS
// also disable if there is no word content yet - the user may want to change from step type to // also disable if there is no word content yet - the user may want to change from step type to
// word type, as long as there is no content yet. // word type, as long as there is no content yet.
if (ii.HasStepContent || !ii.HasWordContent) tcpLibDoc.Enabled = false; if (ii.HasStepContent || !ii.HasWordContent) tcpLibDoc.Enabled = false;
// if this section has subsections, show the editable data check box. If showing 'editable data',
// the procedures steps are shown in editor (tree view & editor) & printed before any subsections.
// If not showing 'editable data', the steps are not shown in editor or print.
ppCbEditableData.Enabled = _SectionConfig.MySection.MySectionInfo.Sections != null && _SectionConfig.MySection.MySectionInfo.Sections.Count > 1; // subsection.hassections?
// Check for the print section num/title config item to determine whether that checkbox should
// be checked.
ppCbPrnSecNumTitle.Checked = _SectionConfig.SubSection_PH != "N";
} }
private void btnSectPropOK_Click(object sender, EventArgs e) private void btnSectPropOK_Click(object sender, EventArgs e)
@ -242,6 +251,9 @@ namespace VEPROMS
// set up some of the format tab: // set up some of the format tab:
SetupPpCmbxSectionType(); SetupPpCmbxSectionType();
ShowAvailableOptionsForSectionType(); ShowAvailableOptionsForSectionType();
// set the section level configs:
ppCbEditableData.Checked = !(_SectionConfig.SubSection_Edit == "N");
_Initializing = false; _Initializing = false;
} }
@ -382,7 +394,7 @@ namespace VEPROMS
if (_isStepSection) if (_isStepSection)
SetupCheckoffsDropdowns(); SetupCheckoffsDropdowns();
} }
private List<CheckOff> SectionPropertyCheckOffList = null;
private void SetupCheckoffsDropdowns() private void SetupCheckoffsDropdowns()
{ {
if (!_isStepSection) return; // not needed for accessory pages (word attachments) if (!_isStepSection) return; // not needed for accessory pages (word attachments)
@ -393,15 +405,22 @@ namespace VEPROMS
CheckOffHeaderList chkoffHeaderList = pf.FormatData.ProcData.CheckOffData.CheckOffHeaderList; CheckOffHeaderList chkoffHeaderList = pf.FormatData.ProcData.CheckOffData.CheckOffHeaderList;
if (chkoffList != null && chkoffList.Count > 0) if (chkoffList != null && chkoffList.Count > 0)
{ {
if (SectionPropertyCheckOffList!=null)SectionPropertyCheckOffList.Clear();
SectionPropertyCheckOffList = new List<CheckOff>();
// Don't put up the first item in the chkoffList, it is '{Section Default}'.
for (int i = 1; i < chkoffList.Count; i++)
{
SectionPropertyCheckOffList.Add(chkoffList[i]);
}
ppGpbxSignoffCheckoff.Enabled = true; ppGpbxSignoffCheckoff.Enabled = true;
ppCmbxCheckoffType.DataSource = chkoffList; ppCmbxCheckoffType.DataSource = SectionPropertyCheckOffList;
ppCmbxCheckoffType.SelectedIndex = _SectionConfig.Section_CheckoffListSelection; ppCmbxCheckoffType.SelectedIndex = _SectionConfig.Section_CheckoffListSelection-1;
} }
else else
{ {
ppGpbxSignoffCheckoff.Enabled = false; ppGpbxSignoffCheckoff.Enabled = false;
} }
if (chkoffHeaderList != null && chkoffHeaderList.Count > 0) if (chkoffHeaderList != null && chkoffHeaderList.Count > 1)
{ {
lblCheckoffHeading.Enabled = true; lblCheckoffHeading.Enabled = true;
ppCmbxCheckoffHeading.Enabled = true; ppCmbxCheckoffHeading.Enabled = true;
@ -770,6 +789,20 @@ namespace VEPROMS
ppSectNumberStpRTB.Focus(); ppSectNumberStpRTB.Focus();
} }
private void ppCbEditableData_CheckedChanged(object sender, EventArgs e)
{
bool isEditable = ppCbEditableData.Checked;
if (!_Initializing)
_SectionConfig.SubSection_Edit = isEditable ? "Y" : "N";
}
private void ppCbPrnSecNumTitle_CheckedChanged(object sender, EventArgs e)
{
bool isEditable = ppCbPrnSecNumTitle.Checked;
if (!_Initializing)
_SectionConfig.SubSection_PH = isEditable ? "Y" : "N";
}
//private void ppBtnDefaultPrintSize_Click(object sender, EventArgs e) //private void ppBtnDefaultPrintSize_Click(object sender, EventArgs e)
//{ //{
// // Get the parent setting // // Get the parent setting

View File

@ -572,9 +572,9 @@ namespace VEPROMS
private void tv_BeforeExpand(object sender, TreeViewCancelEventArgs e) private void tv_BeforeExpand(object sender, TreeViewCancelEventArgs e)
{ {
VETreeNode tn = ((VETreeNode)e.Node); VETreeNode tn = ((VETreeNode)e.Node);
tn.LoadingChildernDone += new VETreeNodeEvent(tn_LoadingChildernDone); tn.LoadingChildrenDone += new VETreeNodeEvent(tn_LoadingChildrenDone);
tn.LoadingChildernMax += new VETreeNodeEvent(tn_LoadingChildernMax); tn.LoadingChildrenMax += new VETreeNodeEvent(tn_LoadingChildrenMax);
tn.LoadingChildernValue += new VETreeNodeEvent(tn_LoadingChildernValue); tn.LoadingChildrenValue += new VETreeNodeEvent(tn_LoadingChildrenValue);
tn.LoadingChildrenSQL += new VETreeNodeEvent(tn_LoadingChildrenSQL); tn.LoadingChildrenSQL += new VETreeNodeEvent(tn_LoadingChildrenSQL);
tn.LoadChildren(true); tn.LoadChildren(true);
} }
@ -736,7 +736,7 @@ namespace VEPROMS
/// </summary> /// </summary>
/// <param name="sender"></param> /// <param name="sender"></param>
/// <param name="args"></param> /// <param name="args"></param>
void tn_LoadingChildernValue(object sender, VETreeNodeEventArgs args) void tn_LoadingChildrenValue(object sender, VETreeNodeEventArgs args)
{ {
ProgBarValue = args.Value; ProgBarValue = args.Value;
} }
@ -746,7 +746,7 @@ namespace VEPROMS
/// </summary> /// </summary>
/// <param name="sender"></param> /// <param name="sender"></param>
/// <param name="args"></param> /// <param name="args"></param>
void tn_LoadingChildernMax(object sender, VETreeNodeEventArgs args) void tn_LoadingChildrenMax(object sender, VETreeNodeEventArgs args)
{ {
ProgBarMax = args.Value; ProgBarMax = args.Value;
ProgBarText = "Loading..."; ProgBarText = "Loading...";
@ -757,7 +757,7 @@ namespace VEPROMS
/// </summary> /// </summary>
/// <param name="sender"></param> /// <param name="sender"></param>
/// <param name="args"></param> /// <param name="args"></param>
void tn_LoadingChildernDone(object sender, VETreeNodeEventArgs args) void tn_LoadingChildrenDone(object sender, VETreeNodeEventArgs args)
{ {
if (VlnSettings.DebugMode) if (VlnSettings.DebugMode)
ProgBarText = args.Info + " Seconds"; ProgBarText = args.Info + " Seconds";