diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs index 440222fe..c9cc024f 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.Designer.cs @@ -83,12 +83,12 @@ namespace VEPROMS this.btnFormat = new DevComponents.DotNetBar.ButtonX(); this.btnGeneral = new DevComponents.DotNetBar.ButtonX(); this.tcSectionProp = new DevComponents.DotNetBar.TabControl(); - this.tcpFormat = new DevComponents.DotNetBar.TabControlPanel(); - this.cbKeepWordDocMargins = new System.Windows.Forms.CheckBox(); - this.rbWordSect = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.rbStepSect = new DevComponents.DotNetBar.Controls.CheckBoxX(); - this.ppGpbxSignoffCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.tiFormat = new DevComponents.DotNetBar.TabItem(this.components); + this.tcpAutomation = new DevComponents.DotNetBar.TabControlPanel(); + this.ppCbLinkWithEnhancedDoc = new System.Windows.Forms.CheckBox(); + this.ppCbPhoneList = new System.Windows.Forms.CheckBox(); + this.ppCbPlaceKeeper = new System.Windows.Forms.CheckBox(); + this.ppCbIncTOC = new System.Windows.Forms.CheckBox(); + this.tiAutomation = new DevComponents.DotNetBar.TabItem(this.components); this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel(); this.ppCbAutoIndent = new System.Windows.Forms.CheckBox(); this.ppCbEditableData = new System.Windows.Forms.CheckBox(); @@ -96,11 +96,12 @@ namespace VEPROMS this.ppSectNumberStpRTB = 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.tcpAutomation = new DevComponents.DotNetBar.TabControlPanel(); - this.ppCbLinkWithEnhancedDoc = new System.Windows.Forms.CheckBox(); - this.ppCbPlaceKeeper = new System.Windows.Forms.CheckBox(); - this.ppCbIncTOC = new System.Windows.Forms.CheckBox(); - this.tiAutomation = new DevComponents.DotNetBar.TabItem(this.components); + this.tcpFormat = new DevComponents.DotNetBar.TabControlPanel(); + this.cbKeepWordDocMargins = new System.Windows.Forms.CheckBox(); + this.rbWordSect = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.rbStepSect = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.ppGpbxSignoffCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.tiFormat = 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(); @@ -109,10 +110,10 @@ namespace VEPROMS this.panSectBtns.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).BeginInit(); this.tcSectionProp.SuspendLayout(); + this.tcpAutomation.SuspendLayout(); + this.tcpGeneral.SuspendLayout(); this.tcpFormat.SuspendLayout(); this.ppGpbxSignoffCheckoff.SuspendLayout(); - this.tcpGeneral.SuspendLayout(); - this.tcpAutomation.SuspendLayout(); this.tcpLibDoc.SuspendLayout(); this.tabControlPanel4.SuspendLayout(); this.SuspendLayout(); @@ -123,7 +124,7 @@ namespace VEPROMS this.ppDtTmLastMod.Enabled = false; this.ppDtTmLastMod.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.ppDtTmLastMod.Location = new System.Drawing.Point(87, 120); - this.ppDtTmLastMod.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppDtTmLastMod.Margin = new System.Windows.Forms.Padding(2); this.ppDtTmLastMod.Name = "ppDtTmLastMod"; this.ppDtTmLastMod.Size = new System.Drawing.Size(130, 20); this.ppDtTmLastMod.TabIndex = 24; @@ -135,7 +136,7 @@ namespace VEPROMS this.ppTxtBxUserID.AcceptsReturn = true; this.ppTxtBxUserID.Enabled = false; this.ppTxtBxUserID.Location = new System.Drawing.Point(87, 160); - this.ppTxtBxUserID.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppTxtBxUserID.Margin = new System.Windows.Forms.Padding(2); this.ppTxtBxUserID.Name = "ppTxtBxUserID"; this.ppTxtBxUserID.Size = new System.Drawing.Size(116, 20); this.ppTxtBxUserID.TabIndex = 12; @@ -195,7 +196,7 @@ namespace VEPROMS this.ppCmbxSectPagination.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxSectPagination.FormattingEnabled = true; this.ppCmbxSectPagination.Location = new System.Drawing.Point(76, 135); - this.ppCmbxSectPagination.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppCmbxSectPagination.Margin = new System.Windows.Forms.Padding(2); this.ppCmbxSectPagination.Name = "ppCmbxSectPagination"; this.ppCmbxSectPagination.Size = new System.Drawing.Size(131, 21); this.superTooltip1.SetSuperTooltip(this.ppCmbxSectPagination, new DevComponents.DotNetBar.SuperTooltipInfo("Section Pagination", "", resources.GetString("ppCmbxSectPagination.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(300, 190))); @@ -206,14 +207,16 @@ namespace VEPROMS // // ppCmbxStyleSectionType // + this.ppCmbxStyleSectionType.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.ppCmbxStyleSectionType.DisplayMember = "Text"; this.ppCmbxStyleSectionType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ppCmbxStyleSectionType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxStyleSectionType.FormattingEnabled = true; this.ppCmbxStyleSectionType.Location = new System.Drawing.Point(84, 89); - this.ppCmbxStyleSectionType.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppCmbxStyleSectionType.Margin = new System.Windows.Forms.Padding(2); this.ppCmbxStyleSectionType.Name = "ppCmbxStyleSectionType"; - this.ppCmbxStyleSectionType.Size = new System.Drawing.Size(384, 21); + this.ppCmbxStyleSectionType.Size = new System.Drawing.Size(398, 21); this.superTooltip1.SetSuperTooltip(this.ppCmbxStyleSectionType, new DevComponents.DotNetBar.SuperTooltipInfo("Section Type", "", "This is a list of the possible section types as they are defined in the selected " + "format.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppCmbxStyleSectionType.TabIndex = 24; @@ -224,11 +227,11 @@ namespace VEPROMS // ppBtnDefaultFmt // this.ppBtnDefaultFmt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefaultFmt.FocusOnLeftMouseButtonDown = true; - this.ppBtnDefaultFmt.Location = new System.Drawing.Point(440, 18); - this.ppBtnDefaultFmt.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppBtnDefaultFmt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.ppBtnDefaultFmt.Location = new System.Drawing.Point(487, 18); + this.ppBtnDefaultFmt.Margin = new System.Windows.Forms.Padding(2); this.ppBtnDefaultFmt.Name = "ppBtnDefaultFmt"; - this.ppBtnDefaultFmt.Size = new System.Drawing.Size(38, 19); + this.ppBtnDefaultFmt.Size = new System.Drawing.Size(36, 19); this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultFmt, new DevComponents.DotNetBar.SuperTooltipInfo("Default Button", "", "This will revert the format selection back to using the parent\'s format.\r\n\r\nCheck" + " \"Show Default Settings\" to display the \"default\" format name (below the format " + "selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.System)); @@ -239,14 +242,16 @@ namespace VEPROMS // // ppCmbxFormat // + this.ppCmbxFormat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.ppCmbxFormat.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.sectionConfigBindingSource, "FormatSelection", true)); this.ppCmbxFormat.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ppCmbxFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxFormat.FormattingEnabled = true; this.ppCmbxFormat.Location = new System.Drawing.Point(10, 18); - this.ppCmbxFormat.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppCmbxFormat.Margin = new System.Windows.Forms.Padding(2); this.ppCmbxFormat.Name = "ppCmbxFormat"; - this.ppCmbxFormat.Size = new System.Drawing.Size(427, 21); + this.ppCmbxFormat.Size = new System.Drawing.Size(472, 21); this.superTooltip1.SetSuperTooltip(this.ppCmbxFormat, new DevComponents.DotNetBar.SuperTooltipInfo("Format Selection", "", resources.GetString("ppCmbxFormat.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppCmbxFormat.TabIndex = 20; this.ppCmbxFormat.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -280,7 +285,7 @@ namespace VEPROMS this.ppCmbxCheckoffHeading.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxCheckoffHeading.FormattingEnabled = true; this.ppCmbxCheckoffHeading.Location = new System.Drawing.Point(9, 70); - this.ppCmbxCheckoffHeading.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppCmbxCheckoffHeading.Margin = new System.Windows.Forms.Padding(2); this.ppCmbxCheckoffHeading.Name = "ppCmbxCheckoffHeading"; this.ppCmbxCheckoffHeading.Size = new System.Drawing.Size(191, 21); this.superTooltip1.SetSuperTooltip(this.ppCmbxCheckoffHeading, new DevComponents.DotNetBar.SuperTooltipInfo("Signoff / Checkoff Heading", "", "Places a column heading for the signoff/checkoff.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); @@ -296,7 +301,7 @@ namespace VEPROMS this.ppCmbxCheckoffType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxCheckoffType.FormattingEnabled = true; this.ppCmbxCheckoffType.Location = new System.Drawing.Point(9, 28); - this.ppCmbxCheckoffType.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppCmbxCheckoffType.Margin = new System.Windows.Forms.Padding(2); this.ppCmbxCheckoffType.Name = "ppCmbxCheckoffType"; this.ppCmbxCheckoffType.Size = new System.Drawing.Size(191, 21); this.superTooltip1.SetSuperTooltip(this.ppCmbxCheckoffType, new DevComponents.DotNetBar.SuperTooltipInfo("Signoffs / Checkoffs Type", "", "This will automatically assign a signoff/checkoff as defined by the selected form" + @@ -375,9 +380,8 @@ namespace VEPROMS // ppBtnCvrtToLibDoc // this.ppBtnCvrtToLibDoc.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnCvrtToLibDoc.FocusOnLeftMouseButtonDown = true; this.ppBtnCvrtToLibDoc.Location = new System.Drawing.Point(16, 193); - this.ppBtnCvrtToLibDoc.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppBtnCvrtToLibDoc.Margin = new System.Windows.Forms.Padding(2); this.ppBtnCvrtToLibDoc.Name = "ppBtnCvrtToLibDoc"; this.ppBtnCvrtToLibDoc.Size = new System.Drawing.Size(209, 36); this.superTooltip1.SetSuperTooltip(this.ppBtnCvrtToLibDoc, new DevComponents.DotNetBar.SuperTooltipInfo("Convert To Library Document button", "", "This button will convert the current section to a library document, allowing it t" + @@ -393,7 +397,7 @@ namespace VEPROMS this.ppCmbxLibDoc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxLibDoc.FormattingEnabled = true; this.ppCmbxLibDoc.Location = new System.Drawing.Point(18, 24); - this.ppCmbxLibDoc.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppCmbxLibDoc.Margin = new System.Windows.Forms.Padding(2); this.ppCmbxLibDoc.Name = "ppCmbxLibDoc"; this.ppCmbxLibDoc.Size = new System.Drawing.Size(428, 21); this.superTooltip1.SetSuperTooltip(this.ppCmbxLibDoc, new DevComponents.DotNetBar.SuperTooltipInfo("Link to Selected Library Document button", "", "This allows you to select a library document to reference for this section.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(200, 76))); @@ -421,7 +425,7 @@ namespace VEPROMS "Unit Three", "Unit Four"}); this.ppCkLstApplicabilityDesinations.Location = new System.Drawing.Point(20, 44); - this.ppCkLstApplicabilityDesinations.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppCkLstApplicabilityDesinations.Margin = new System.Windows.Forms.Padding(2); this.ppCkLstApplicabilityDesinations.Name = "ppCkLstApplicabilityDesinations"; this.ppCkLstApplicabilityDesinations.Size = new System.Drawing.Size(200, 34); this.ppCkLstApplicabilityDesinations.TabIndex = 35; @@ -432,7 +436,7 @@ namespace VEPROMS this.ppCbProcView.BackColor = System.Drawing.Color.Transparent; this.ppCbProcView.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_LnkEnh", true)); this.ppCbProcView.Location = new System.Drawing.Point(23, 158); - this.ppCbProcView.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppCbProcView.Margin = new System.Windows.Forms.Padding(2); this.ppCbProcView.Name = "ppCbProcView"; this.ppCbProcView.Size = new System.Drawing.Size(150, 17); this.ppCbProcView.TabIndex = 36; @@ -457,7 +461,7 @@ namespace VEPROMS this.ppCbDeviationView.BackColor = System.Drawing.Color.Transparent; this.ppCbDeviationView.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_LnkEnh", true)); this.ppCbDeviationView.Location = new System.Drawing.Point(23, 202); - this.ppCbDeviationView.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppCbDeviationView.Margin = new System.Windows.Forms.Padding(2); this.ppCbDeviationView.Name = "ppCbDeviationView"; this.ppCbDeviationView.Size = new System.Drawing.Size(146, 17); this.ppCbDeviationView.TabIndex = 33; @@ -470,7 +474,7 @@ namespace VEPROMS this.ppCbBackView.BackColor = System.Drawing.Color.Transparent; this.ppCbBackView.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.sectionConfigBindingSource, "Section_LnkEnh", true)); this.ppCbBackView.Location = new System.Drawing.Point(23, 180); - this.ppCbBackView.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppCbBackView.Margin = new System.Windows.Forms.Padding(2); this.ppCbBackView.Name = "ppCbBackView"; this.ppCbBackView.Size = new System.Drawing.Size(159, 17); this.ppCbBackView.TabIndex = 32; @@ -481,8 +485,8 @@ namespace VEPROMS // 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.Location = new System.Drawing.Point(636, 363); - this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppBtnCancel.Location = new System.Drawing.Point(636, 368); + this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2); this.ppBtnCancel.Name = "ppBtnCancel"; this.ppBtnCancel.Size = new System.Drawing.Size(56, 21); this.ppBtnCancel.TabIndex = 91; @@ -493,8 +497,8 @@ namespace VEPROMS // ppBtnOK // this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.ppBtnOK.Location = new System.Drawing.Point(576, 364); - this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppBtnOK.Location = new System.Drawing.Point(576, 369); + this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2); this.ppBtnOK.Name = "ppBtnOK"; this.ppBtnOK.Size = new System.Drawing.Size(56, 21); this.ppBtnOK.TabIndex = 90; @@ -507,7 +511,7 @@ namespace VEPROMS this.ppLblDefSettingsInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 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.Location = new System.Drawing.Point(7, 350); + this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(7, 359); this.ppLblDefSettingsInfo.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo"; this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(156, 13); @@ -521,10 +525,10 @@ namespace VEPROMS // // this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.ppCbShwDefSettings.Location = new System.Drawing.Point(11, 365); - this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppCbShwDefSettings.Location = new System.Drawing.Point(11, 371); + this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(2); this.ppCbShwDefSettings.Name = "ppCbShwDefSettings"; - this.ppCbShwDefSettings.Size = new System.Drawing.Size(145, 19); + this.ppCbShwDefSettings.Size = new System.Drawing.Size(145, 22); 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 = 92; @@ -626,7 +630,7 @@ namespace VEPROMS this.ppCmbxNumColumns.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxNumColumns.FormattingEnabled = true; this.ppCmbxNumColumns.Location = new System.Drawing.Point(77, 184); - this.ppCmbxNumColumns.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppCmbxNumColumns.Margin = new System.Windows.Forms.Padding(2); this.ppCmbxNumColumns.Name = "ppCmbxNumColumns"; this.ppCmbxNumColumns.Size = new System.Drawing.Size(92, 21); this.superTooltip1.SetSuperTooltip(this.ppCmbxNumColumns, new DevComponents.DotNetBar.SuperTooltipInfo("Columns", "", "This is used only for procedure step editor sections.\r\n\r\nSelect the number of co" + @@ -638,9 +642,8 @@ namespace VEPROMS // ppBtnDefaultPaginationStyle // this.ppBtnDefaultPaginationStyle.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefaultPaginationStyle.FocusOnLeftMouseButtonDown = true; this.ppBtnDefaultPaginationStyle.Location = new System.Drawing.Point(211, 135); - this.ppBtnDefaultPaginationStyle.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppBtnDefaultPaginationStyle.Margin = new System.Windows.Forms.Padding(2); this.ppBtnDefaultPaginationStyle.Name = "ppBtnDefaultPaginationStyle"; this.ppBtnDefaultPaginationStyle.Size = new System.Drawing.Size(38, 19); this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultPaginationStyle, new DevComponents.DotNetBar.SuperTooltipInfo("Default Button", "", "This will revert the format selection back to using the parent\'s format.\r\n\r\nCheck" + @@ -654,9 +657,8 @@ namespace VEPROMS // ppBtnDefaultNumColumns // this.ppBtnDefaultNumColumns.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefaultNumColumns.FocusOnLeftMouseButtonDown = true; this.ppBtnDefaultNumColumns.Location = new System.Drawing.Point(172, 184); - this.ppBtnDefaultNumColumns.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppBtnDefaultNumColumns.Margin = new System.Windows.Forms.Padding(2); this.ppBtnDefaultNumColumns.Name = "ppBtnDefaultNumColumns"; this.ppBtnDefaultNumColumns.Size = new System.Drawing.Size(38, 19); this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultNumColumns, new DevComponents.DotNetBar.SuperTooltipInfo("Default Button", "", "This will revert the format selection back to using the parent\'s format.\r\n\r\nCheck" + @@ -705,7 +707,7 @@ namespace VEPROMS this.panSectBtns.Controls.Add(this.btnFormat); this.panSectBtns.Controls.Add(this.btnGeneral); this.panSectBtns.Location = new System.Drawing.Point(10, 8); - this.panSectBtns.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.panSectBtns.Margin = new System.Windows.Forms.Padding(2); this.panSectBtns.Name = "panSectBtns"; this.panSectBtns.Size = new System.Drawing.Size(144, 340); this.panSectBtns.TabIndex = 28; @@ -715,9 +717,8 @@ namespace VEPROMS this.btnAutomation.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnAutomation.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnAutomation.Dock = System.Windows.Forms.DockStyle.Top; - this.btnAutomation.FocusOnLeftMouseButtonDown = true; this.btnAutomation.Location = new System.Drawing.Point(0, 57); - this.btnAutomation.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.btnAutomation.Margin = new System.Windows.Forms.Padding(2); this.btnAutomation.Name = "btnAutomation"; this.btnAutomation.Size = new System.Drawing.Size(144, 19); this.btnAutomation.TabIndex = 96; @@ -729,9 +730,8 @@ namespace VEPROMS this.btnLibDocs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnLibDocs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnLibDocs.Dock = System.Windows.Forms.DockStyle.Top; - this.btnLibDocs.FocusOnLeftMouseButtonDown = true; this.btnLibDocs.Location = new System.Drawing.Point(0, 38); - this.btnLibDocs.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.btnLibDocs.Margin = new System.Windows.Forms.Padding(2); this.btnLibDocs.Name = "btnLibDocs"; this.btnLibDocs.Size = new System.Drawing.Size(144, 19); this.btnLibDocs.TabIndex = 95; @@ -743,9 +743,8 @@ namespace VEPROMS this.btnFormat.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnFormat.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnFormat.Dock = System.Windows.Forms.DockStyle.Top; - this.btnFormat.FocusOnLeftMouseButtonDown = true; this.btnFormat.Location = new System.Drawing.Point(0, 19); - this.btnFormat.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.btnFormat.Margin = new System.Windows.Forms.Padding(2); this.btnFormat.Name = "btnFormat"; this.btnFormat.Size = new System.Drawing.Size(144, 19); this.btnFormat.TabIndex = 94; @@ -757,9 +756,8 @@ namespace VEPROMS this.btnGeneral.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnGeneral.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnGeneral.Dock = System.Windows.Forms.DockStyle.Top; - this.btnGeneral.FocusOnLeftMouseButtonDown = true; this.btnGeneral.Location = new System.Drawing.Point(0, 0); - this.btnGeneral.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.btnGeneral.Margin = new System.Windows.Forms.Padding(2); this.btnGeneral.Name = "btnGeneral"; this.btnGeneral.Size = new System.Drawing.Size(144, 19); this.btnGeneral.TabIndex = 93; @@ -768,21 +766,21 @@ namespace VEPROMS // // tcSectionProp // - this.tcSectionProp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.tcSectionProp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tcSectionProp.BackColor = System.Drawing.Color.Transparent; this.tcSectionProp.CanReorderTabs = true; this.tcSectionProp.Controls.Add(this.tcpGeneral); this.tcSectionProp.Controls.Add(this.tcpFormat); - this.tcSectionProp.Controls.Add(this.tcpAutomation); this.tcSectionProp.Controls.Add(this.tcpLibDoc); + this.tcSectionProp.Controls.Add(this.tcpAutomation); this.tcSectionProp.Controls.Add(this.tabControlPanel4); - this.tcSectionProp.Location = new System.Drawing.Point(160, 8); - this.tcSectionProp.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.tcSectionProp.Location = new System.Drawing.Point(162, 8); + this.tcSectionProp.Margin = new System.Windows.Forms.Padding(2); this.tcSectionProp.Name = "tcSectionProp"; this.tcSectionProp.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold); this.tcSectionProp.SelectedTabIndex = 0; - this.tcSectionProp.Size = new System.Drawing.Size(532, 340); + this.tcSectionProp.Size = new System.Drawing.Size(536, 340); this.tcSectionProp.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Dock; this.tcSectionProp.TabIndex = 29; this.tcSectionProp.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; @@ -793,6 +791,235 @@ namespace VEPROMS this.tcSectionProp.TabsVisible = false; this.tcSectionProp.Text = "tabControl2"; // + // tcpAutomation + // + this.tcpAutomation.Controls.Add(this.ppCbLinkWithEnhancedDoc); + this.tcpAutomation.Controls.Add(this.ppCbPhoneList); + this.tcpAutomation.Controls.Add(this.ppCbPlaceKeeper); + this.tcpAutomation.Controls.Add(this.ppCbIncTOC); + this.tcpAutomation.Dock = System.Windows.Forms.DockStyle.Fill; + this.tcpAutomation.Location = new System.Drawing.Point(0, 22); + this.tcpAutomation.Margin = new System.Windows.Forms.Padding(2); + this.tcpAutomation.Name = "tcpAutomation"; + this.tcpAutomation.Padding = new System.Windows.Forms.Padding(1); + this.tcpAutomation.Size = new System.Drawing.Size(536, 318); + 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.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tcpAutomation.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tcpAutomation.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tcpAutomation.Style.GradientAngle = 90; + this.tcpAutomation.TabIndex = 5; + this.tcpAutomation.TabItem = this.tiAutomation; + // + // ppCbLinkWithEnhancedDoc + // + this.ppCbLinkWithEnhancedDoc.AutoSize = true; + this.ppCbLinkWithEnhancedDoc.BackColor = System.Drawing.Color.Transparent; + this.ppCbLinkWithEnhancedDoc.Enabled = false; + this.ppCbLinkWithEnhancedDoc.Location = new System.Drawing.Point(15, 20); + this.ppCbLinkWithEnhancedDoc.Margin = new System.Windows.Forms.Padding(2); + this.ppCbLinkWithEnhancedDoc.Name = "ppCbLinkWithEnhancedDoc"; + this.ppCbLinkWithEnhancedDoc.Size = new System.Drawing.Size(175, 17); + this.ppCbLinkWithEnhancedDoc.TabIndex = 50; + this.ppCbLinkWithEnhancedDoc.Text = "Link With Enhanced Document"; + this.ppCbLinkWithEnhancedDoc.UseVisualStyleBackColor = false; + // + // ppCbPhoneList + // + this.ppCbPhoneList.AutoSize = true; + this.ppCbPhoneList.BackColor = System.Drawing.Color.Transparent; + this.ppCbPhoneList.Enabled = false; + this.ppCbPhoneList.Location = new System.Drawing.Point(15, 81); + this.ppCbPhoneList.Margin = new System.Windows.Forms.Padding(2); + this.ppCbPhoneList.Name = "ppCbPhoneList"; + this.ppCbPhoneList.Size = new System.Drawing.Size(140, 17); + this.ppCbPhoneList.TabIndex = 52; + this.ppCbPhoneList.Text = "Print Phone Number List"; + this.ppCbPhoneList.UseVisualStyleBackColor = false; + this.ppCbPhoneList.CheckedChanged += new System.EventHandler(this.ppCbPhoneList_CheckedChanged); + // + // ppCbPlaceKeeper + // + this.ppCbPlaceKeeper.AutoSize = true; + this.ppCbPlaceKeeper.BackColor = System.Drawing.Color.Transparent; + this.ppCbPlaceKeeper.Enabled = false; + this.ppCbPlaceKeeper.Location = new System.Drawing.Point(15, 60); + this.ppCbPlaceKeeper.Margin = new System.Windows.Forms.Padding(2); + this.ppCbPlaceKeeper.Name = "ppCbPlaceKeeper"; + this.ppCbPlaceKeeper.Size = new System.Drawing.Size(135, 17); + this.ppCbPlaceKeeper.TabIndex = 52; + this.ppCbPlaceKeeper.Text = "Include in Placekeeper"; + this.ppCbPlaceKeeper.UseVisualStyleBackColor = false; + this.ppCbPlaceKeeper.CheckedChanged += new System.EventHandler(this.ppCbPlaceKeeper_CheckedChanged); + // + // ppCbIncTOC + // + this.ppCbIncTOC.AutoSize = true; + this.ppCbIncTOC.BackColor = System.Drawing.Color.Transparent; + this.ppCbIncTOC.Enabled = false; + this.ppCbIncTOC.Location = new System.Drawing.Point(15, 40); + this.ppCbIncTOC.Margin = new System.Windows.Forms.Padding(2); + this.ppCbIncTOC.Name = "ppCbIncTOC"; + this.ppCbIncTOC.Size = new System.Drawing.Size(165, 17); + this.ppCbIncTOC.TabIndex = 51; + this.ppCbIncTOC.Text = "Include on Table Of Contents"; + this.ppCbIncTOC.UseVisualStyleBackColor = false; + this.ppCbIncTOC.CheckedChanged += new System.EventHandler(this.ppCbIncTOC_CheckedChanged); + // + // tiAutomation + // + this.tiAutomation.AttachedControl = this.tcpAutomation; + this.tiAutomation.Name = "tiAutomation"; + this.tiAutomation.Text = "Automation"; + // + // tcpGeneral + // + this.tcpGeneral.Controls.Add(this.ppCbAutoIndent); + this.tcpGeneral.Controls.Add(this.ppCbEditableData); + this.tcpGeneral.Controls.Add(this.ppCbPrnSecNumTitle); + this.tcpGeneral.Controls.Add(this.ppSectNumberStpRTB); + this.tcpGeneral.Controls.Add(this.ppSectTitleStpRTB); + this.tcpGeneral.Controls.Add(this.ppDtTmLastMod); + this.tcpGeneral.Controls.Add(this.lblSectNumber); + this.tcpGeneral.Controls.Add(this.lblSectTitle); + this.tcpGeneral.Controls.Add(this.ppTxtBxUserID); + this.tcpGeneral.Controls.Add(this.lblUserID); + this.tcpGeneral.Controls.Add(this.lblLastModDate); + this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill; + this.tcpGeneral.Location = new System.Drawing.Point(0, 22); + this.tcpGeneral.Margin = new System.Windows.Forms.Padding(2); + this.tcpGeneral.Name = "tcpGeneral"; + this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1); + this.tcpGeneral.Size = new System.Drawing.Size(536, 318); + 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; + // + // ppCbAutoIndent + // + this.ppCbAutoIndent.AutoSize = true; + this.ppCbAutoIndent.BackColor = System.Drawing.Color.Transparent; + this.ppCbAutoIndent.Location = new System.Drawing.Point(268, 180); + this.ppCbAutoIndent.Margin = new System.Windows.Forms.Padding(2); + this.ppCbAutoIndent.Name = "ppCbAutoIndent"; + this.ppCbAutoIndent.Size = new System.Drawing.Size(106, 17); + this.ppCbAutoIndent.TabIndex = 56; + this.ppCbAutoIndent.Text = "Automatic Indent"; + this.ppCbAutoIndent.UseVisualStyleBackColor = false; + this.ppCbAutoIndent.CheckedChanged += new System.EventHandler(this.ppCbAutoIndent_CheckedChanged); + // + // ppCbEditableData + // + this.ppCbEditableData.AutoSize = true; + this.ppCbEditableData.BackColor = System.Drawing.Color.Transparent; + this.ppCbEditableData.Location = new System.Drawing.Point(268, 152); + this.ppCbEditableData.Margin = new System.Windows.Forms.Padding(2); + this.ppCbEditableData.Name = "ppCbEditableData"; + this.ppCbEditableData.Size = new System.Drawing.Size(90, 17); + 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(268, 121); + this.ppCbPrnSecNumTitle.Margin = new System.Windows.Forms.Padding(2); + this.ppCbPrnSecNumTitle.Name = "ppCbPrnSecNumTitle"; + this.ppCbPrnSecNumTitle.Size = new System.Drawing.Size(170, 17); + 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 + // + this.ppSectNumberStpRTB.ActiveMode = false; + this.ppSectNumberStpRTB.AdjustSize = new System.Drawing.Size(0, 0); + this.ppSectNumberStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.ppSectNumberStpRTB.CheckAbove = "|?????????"; + this.ppSectNumberStpRTB.CheckBelow = "|?"; + this.ppSectNumberStpRTB.CheckLeft = "-?????????"; + this.ppSectNumberStpRTB.CheckRight = "-??"; + this.ppSectNumberStpRTB.Closed = false; + this.ppSectNumberStpRTB.ContentsRectangle = new System.Drawing.Rectangle(85, 12, 159, 16); + this.ppSectNumberStpRTB.DetectUrls = false; + this.ppSectNumberStpRTB.EditMode = true; + this.ppSectNumberStpRTB.FieldToEdit = Volian.Controls.Library.E_FieldToEdit.StepText; + this.ppSectNumberStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F); + this.ppSectNumberStpRTB.LastRtf = ""; + this.ppSectNumberStpRTB.Location = new System.Drawing.Point(64, 10); + this.ppSectNumberStpRTB.Margin = new System.Windows.Forms.Padding(2); + this.ppSectNumberStpRTB.MinimumSize = new System.Drawing.Size(119, 15); + this.ppSectNumberStpRTB.MyClassName = "RichEdit20W"; + this.ppSectNumberStpRTB.MyItemInfo = null; + this.ppSectNumberStpRTB.MyLinkText = null; + this.ppSectNumberStpRTB.Name = "ppSectNumberStpRTB"; + this.ppSectNumberStpRTB.OrigDisplayText = null; + this.ppSectNumberStpRTB.OrigRTF = null; + this.ppSectNumberStpRTB.ProcessKeystrokes = true; + this.ppSectNumberStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks; + this.ppSectNumberStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None; + this.ppSectNumberStpRTB.ShowDebug = false; + this.ppSectNumberStpRTB.Size = new System.Drawing.Size(406, 15); + this.ppSectNumberStpRTB.TabIndex = 10; + this.ppSectNumberStpRTB.Text = ""; + this.ppSectNumberStpRTB.ThisContextMenuStrip = null; + this.ppSectNumberStpRTB.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit; + this.ppSectNumberStpRTB.Enter += new System.EventHandler(this.ppSectNumberStpRTB_Enter); + // + // ppSectTitleStpRTB + // + this.ppSectTitleStpRTB.ActiveMode = false; + this.ppSectTitleStpRTB.AdjustSize = new System.Drawing.Size(0, 0); + this.ppSectTitleStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.ppSectTitleStpRTB.CheckAbove = "|?????????"; + this.ppSectTitleStpRTB.CheckBelow = "|?"; + this.ppSectTitleStpRTB.CheckLeft = "-?????????"; + this.ppSectTitleStpRTB.CheckRight = "-??"; + this.ppSectTitleStpRTB.Closed = false; + this.ppSectTitleStpRTB.ContentsRectangle = new System.Drawing.Rectangle(85, 60, 541, 16); + this.ppSectTitleStpRTB.DetectUrls = false; + this.ppSectTitleStpRTB.EditMode = true; + this.ppSectTitleStpRTB.FieldToEdit = Volian.Controls.Library.E_FieldToEdit.StepText; + this.ppSectTitleStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F); + this.ppSectTitleStpRTB.LastRtf = ""; + this.ppSectTitleStpRTB.Location = new System.Drawing.Point(64, 49); + this.ppSectTitleStpRTB.Margin = new System.Windows.Forms.Padding(2); + this.ppSectTitleStpRTB.MinimumSize = new System.Drawing.Size(406, 50); + this.ppSectTitleStpRTB.MyClassName = "RichEdit20W"; + this.ppSectTitleStpRTB.MyItemInfo = null; + this.ppSectTitleStpRTB.MyLinkText = null; + this.ppSectTitleStpRTB.Name = "ppSectTitleStpRTB"; + this.ppSectTitleStpRTB.OrigDisplayText = null; + this.ppSectTitleStpRTB.OrigRTF = null; + this.ppSectTitleStpRTB.ProcessKeystrokes = true; + this.ppSectTitleStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks; + this.ppSectTitleStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None; + this.ppSectTitleStpRTB.ShowDebug = false; + this.ppSectTitleStpRTB.Size = new System.Drawing.Size(406, 50); + this.ppSectTitleStpRTB.TabIndex = 11; + this.ppSectTitleStpRTB.Text = ""; + this.ppSectTitleStpRTB.ThisContextMenuStrip = null; + this.ppSectTitleStpRTB.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit; + this.ppSectTitleStpRTB.Enter += new System.EventHandler(this.ppSectTitleStpRTB_Enter); + // + // tiGeneral + // + this.tiGeneral.AttachedControl = this.tcpGeneral; + this.tiGeneral.Name = "tiGeneral"; + this.tiGeneral.Text = "General"; + // // tcpFormat // this.tcpFormat.Controls.Add(this.cbKeepWordDocMargins); @@ -815,10 +1042,10 @@ namespace VEPROMS this.tcpFormat.Controls.Add(this.ppLblFormatDefault); this.tcpFormat.Dock = System.Windows.Forms.DockStyle.Fill; this.tcpFormat.Location = new System.Drawing.Point(0, 22); - this.tcpFormat.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.tcpFormat.Margin = new System.Windows.Forms.Padding(2); this.tcpFormat.Name = "tcpFormat"; this.tcpFormat.Padding = new System.Windows.Forms.Padding(1); - this.tcpFormat.Size = new System.Drawing.Size(532, 318); + this.tcpFormat.Size = new System.Drawing.Size(536, 318); 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.Border = DevComponents.DotNetBar.eBorderType.SingleLine; @@ -836,7 +1063,7 @@ namespace VEPROMS this.cbKeepWordDocMargins.AutoSize = true; this.cbKeepWordDocMargins.BackColor = System.Drawing.Color.Transparent; this.cbKeepWordDocMargins.Location = new System.Drawing.Point(14, 289); - this.cbKeepWordDocMargins.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.cbKeepWordDocMargins.Margin = new System.Windows.Forms.Padding(2); this.cbKeepWordDocMargins.Name = "cbKeepWordDocMargins"; this.cbKeepWordDocMargins.Size = new System.Drawing.Size(172, 17); this.cbKeepWordDocMargins.TabIndex = 59; @@ -855,7 +1082,7 @@ namespace VEPROMS this.rbWordSect.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton; this.rbWordSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.rbWordSect.Location = new System.Drawing.Point(247, 60); - this.rbWordSect.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.rbWordSect.Margin = new System.Windows.Forms.Padding(2); this.rbWordSect.Name = "rbWordSect"; this.rbWordSect.Size = new System.Drawing.Size(88, 19); this.rbWordSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; @@ -877,7 +1104,7 @@ namespace VEPROMS this.rbStepSect.FocusCuesEnabled = false; this.rbStepSect.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.rbStepSect.Location = new System.Drawing.Point(138, 60); - this.rbStepSect.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.rbStepSect.Margin = new System.Windows.Forms.Padding(2); this.rbStepSect.Name = "rbStepSect"; this.rbStepSect.Size = new System.Drawing.Size(86, 19); this.rbStepSect.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; @@ -896,7 +1123,7 @@ namespace VEPROMS this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffType); this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffHeading); this.ppGpbxSignoffCheckoff.Location = new System.Drawing.Point(272, 123); - this.ppGpbxSignoffCheckoff.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.ppGpbxSignoffCheckoff.Margin = new System.Windows.Forms.Padding(2); this.ppGpbxSignoffCheckoff.Name = "ppGpbxSignoffCheckoff"; this.ppGpbxSignoffCheckoff.Size = new System.Drawing.Size(206, 117); // @@ -936,217 +1163,6 @@ namespace VEPROMS this.tiFormat.Name = "tiFormat"; this.tiFormat.Text = "Format"; // - // tcpGeneral - // - this.tcpGeneral.Controls.Add(this.ppCbAutoIndent); - this.tcpGeneral.Controls.Add(this.ppCbEditableData); - this.tcpGeneral.Controls.Add(this.ppCbPrnSecNumTitle); - this.tcpGeneral.Controls.Add(this.ppSectNumberStpRTB); - this.tcpGeneral.Controls.Add(this.ppSectTitleStpRTB); - this.tcpGeneral.Controls.Add(this.ppDtTmLastMod); - this.tcpGeneral.Controls.Add(this.lblSectNumber); - this.tcpGeneral.Controls.Add(this.lblSectTitle); - this.tcpGeneral.Controls.Add(this.ppTxtBxUserID); - this.tcpGeneral.Controls.Add(this.lblUserID); - this.tcpGeneral.Controls.Add(this.lblLastModDate); - this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill; - this.tcpGeneral.Location = new System.Drawing.Point(0, 22); - this.tcpGeneral.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.tcpGeneral.Name = "tcpGeneral"; - this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1); - this.tcpGeneral.Size = new System.Drawing.Size(532, 318); - 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; - // - // ppCbAutoIndent - // - this.ppCbAutoIndent.AutoSize = true; - this.ppCbAutoIndent.BackColor = System.Drawing.Color.Transparent; - this.ppCbAutoIndent.Location = new System.Drawing.Point(268, 180); - this.ppCbAutoIndent.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCbAutoIndent.Name = "ppCbAutoIndent"; - this.ppCbAutoIndent.Size = new System.Drawing.Size(106, 17); - this.ppCbAutoIndent.TabIndex = 56; - this.ppCbAutoIndent.Text = "Automatic Indent"; - this.ppCbAutoIndent.UseVisualStyleBackColor = false; - this.ppCbAutoIndent.CheckedChanged += new System.EventHandler(this.ppCbAutoIndent_CheckedChanged); - // - // ppCbEditableData - // - this.ppCbEditableData.AutoSize = true; - this.ppCbEditableData.BackColor = System.Drawing.Color.Transparent; - this.ppCbEditableData.Location = new System.Drawing.Point(268, 152); - this.ppCbEditableData.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCbEditableData.Name = "ppCbEditableData"; - this.ppCbEditableData.Size = new System.Drawing.Size(90, 17); - 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(268, 121); - this.ppCbPrnSecNumTitle.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCbPrnSecNumTitle.Name = "ppCbPrnSecNumTitle"; - this.ppCbPrnSecNumTitle.Size = new System.Drawing.Size(170, 17); - 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 - // - this.ppSectNumberStpRTB.ActiveMode = false; - this.ppSectNumberStpRTB.AdjustSize = new System.Drawing.Size(0, 0); - this.ppSectNumberStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.ppSectNumberStpRTB.CheckAbove = "|?????????"; - this.ppSectNumberStpRTB.CheckBelow = "|?"; - this.ppSectNumberStpRTB.CheckLeft = "-?????????"; - this.ppSectNumberStpRTB.CheckRight = "-??"; - this.ppSectNumberStpRTB.Closed = false; - 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.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F); - this.ppSectNumberStpRTB.LastRtf = ""; - this.ppSectNumberStpRTB.Location = new System.Drawing.Point(64, 10); - this.ppSectNumberStpRTB.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppSectNumberStpRTB.MinimumSize = new System.Drawing.Size(119, 15); - this.ppSectNumberStpRTB.MyClassName = "RichEdit20W"; - this.ppSectNumberStpRTB.MyItemInfo = null; - this.ppSectNumberStpRTB.MyLinkText = null; - this.ppSectNumberStpRTB.Name = "ppSectNumberStpRTB"; - this.ppSectNumberStpRTB.OrigDisplayText = null; - this.ppSectNumberStpRTB.OrigRTF = null; - this.ppSectNumberStpRTB.ProcessKeystrokes = true; - this.ppSectNumberStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks; - this.ppSectNumberStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None; - this.ppSectNumberStpRTB.ShowDebug = false; - this.ppSectNumberStpRTB.Size = new System.Drawing.Size(406, 15); - this.ppSectNumberStpRTB.TabIndex = 10; - this.ppSectNumberStpRTB.Text = ""; - this.ppSectNumberStpRTB.ThisContextMenuStrip = null; - this.ppSectNumberStpRTB.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit; - this.ppSectNumberStpRTB.Enter += new System.EventHandler(this.ppSectNumberStpRTB_Enter); - // - // ppSectTitleStpRTB - // - this.ppSectTitleStpRTB.ActiveMode = false; - this.ppSectTitleStpRTB.AdjustSize = new System.Drawing.Size(0, 0); - this.ppSectTitleStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.ppSectTitleStpRTB.CheckAbove = "|?????????"; - this.ppSectTitleStpRTB.CheckBelow = "|?"; - this.ppSectTitleStpRTB.CheckLeft = "-?????????"; - this.ppSectTitleStpRTB.CheckRight = "-??"; - this.ppSectTitleStpRTB.Closed = false; - 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.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F); - this.ppSectTitleStpRTB.LastRtf = ""; - this.ppSectTitleStpRTB.Location = new System.Drawing.Point(64, 49); - this.ppSectTitleStpRTB.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppSectTitleStpRTB.MinimumSize = new System.Drawing.Size(406, 50); - this.ppSectTitleStpRTB.MyClassName = "RichEdit20W"; - this.ppSectTitleStpRTB.MyItemInfo = null; - this.ppSectTitleStpRTB.MyLinkText = null; - this.ppSectTitleStpRTB.Name = "ppSectTitleStpRTB"; - this.ppSectTitleStpRTB.OrigDisplayText = null; - this.ppSectTitleStpRTB.OrigRTF = null; - this.ppSectTitleStpRTB.ProcessKeystrokes = true; - this.ppSectTitleStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks; - this.ppSectTitleStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None; - this.ppSectTitleStpRTB.ShowDebug = false; - this.ppSectTitleStpRTB.Size = new System.Drawing.Size(406, 50); - this.ppSectTitleStpRTB.TabIndex = 11; - this.ppSectTitleStpRTB.Text = ""; - this.ppSectTitleStpRTB.ThisContextMenuStrip = null; - this.ppSectTitleStpRTB.VwMode = VEPROMS.CSLA.Library.E_ViewMode.Edit; - this.ppSectTitleStpRTB.Enter += new System.EventHandler(this.ppSectTitleStpRTB_Enter); - // - // tiGeneral - // - this.tiGeneral.AttachedControl = this.tcpGeneral; - this.tiGeneral.Name = "tiGeneral"; - this.tiGeneral.Text = "General"; - // - // tcpAutomation - // - this.tcpAutomation.Controls.Add(this.ppCbLinkWithEnhancedDoc); - this.tcpAutomation.Controls.Add(this.ppCbPlaceKeeper); - this.tcpAutomation.Controls.Add(this.ppCbIncTOC); - this.tcpAutomation.Dock = System.Windows.Forms.DockStyle.Fill; - this.tcpAutomation.Location = new System.Drawing.Point(0, 22); - this.tcpAutomation.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.tcpAutomation.Name = "tcpAutomation"; - this.tcpAutomation.Padding = new System.Windows.Forms.Padding(1); - this.tcpAutomation.Size = new System.Drawing.Size(532, 318); - 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.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpAutomation.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); - this.tcpAutomation.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) - | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tcpAutomation.Style.GradientAngle = 90; - this.tcpAutomation.TabIndex = 5; - this.tcpAutomation.TabItem = this.tiAutomation; - // - // ppCbLinkWithEnhancedDoc - // - this.ppCbLinkWithEnhancedDoc.AutoSize = true; - this.ppCbLinkWithEnhancedDoc.BackColor = System.Drawing.Color.Transparent; - this.ppCbLinkWithEnhancedDoc.Enabled = false; - this.ppCbLinkWithEnhancedDoc.Location = new System.Drawing.Point(15, 20); - this.ppCbLinkWithEnhancedDoc.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCbLinkWithEnhancedDoc.Name = "ppCbLinkWithEnhancedDoc"; - this.ppCbLinkWithEnhancedDoc.Size = new System.Drawing.Size(175, 17); - this.ppCbLinkWithEnhancedDoc.TabIndex = 50; - this.ppCbLinkWithEnhancedDoc.Text = "Link With Enhanced Document"; - this.ppCbLinkWithEnhancedDoc.UseVisualStyleBackColor = false; - // - // ppCbPlaceKeeper - // - this.ppCbPlaceKeeper.AutoSize = true; - this.ppCbPlaceKeeper.BackColor = System.Drawing.Color.Transparent; - this.ppCbPlaceKeeper.Enabled = false; - this.ppCbPlaceKeeper.Location = new System.Drawing.Point(15, 60); - this.ppCbPlaceKeeper.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCbPlaceKeeper.Name = "ppCbPlaceKeeper"; - this.ppCbPlaceKeeper.Size = new System.Drawing.Size(158, 17); - this.ppCbPlaceKeeper.TabIndex = 52; - this.ppCbPlaceKeeper.Text = "Auto Generate Placekeeper"; - this.ppCbPlaceKeeper.UseVisualStyleBackColor = false; - // - // ppCbIncTOC - // - this.ppCbIncTOC.AutoSize = true; - this.ppCbIncTOC.BackColor = System.Drawing.Color.Transparent; - this.ppCbIncTOC.Enabled = false; - this.ppCbIncTOC.Location = new System.Drawing.Point(15, 40); - this.ppCbIncTOC.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.ppCbIncTOC.Name = "ppCbIncTOC"; - this.ppCbIncTOC.Size = new System.Drawing.Size(165, 17); - this.ppCbIncTOC.TabIndex = 51; - this.ppCbIncTOC.Text = "Include on Table Of Contents"; - this.ppCbIncTOC.UseVisualStyleBackColor = false; - this.ppCbIncTOC.CheckedChanged += new System.EventHandler(this.ppCbIncTOC_CheckedChanged); - // - // tiAutomation - // - this.tiAutomation.AttachedControl = this.tcpAutomation; - this.tiAutomation.Name = "tiAutomation"; - this.tiAutomation.Text = "Automation"; - // // tcpLibDoc // this.tcpLibDoc.Controls.Add(this.ppBtnCvrtToLibDoc); @@ -1154,10 +1170,10 @@ namespace VEPROMS this.tcpLibDoc.Controls.Add(this.ppCmbxLibDoc); this.tcpLibDoc.Dock = System.Windows.Forms.DockStyle.Fill; this.tcpLibDoc.Location = new System.Drawing.Point(0, 22); - this.tcpLibDoc.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.tcpLibDoc.Margin = new System.Windows.Forms.Padding(2); this.tcpLibDoc.Name = "tcpLibDoc"; this.tcpLibDoc.Padding = new System.Windows.Forms.Padding(1); - this.tcpLibDoc.Size = new System.Drawing.Size(532, 318); + this.tcpLibDoc.Size = new System.Drawing.Size(536, 318); 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; @@ -1183,10 +1199,10 @@ namespace VEPROMS this.tabControlPanel4.Controls.Add(this.ppCbDeviationView); this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel4.Location = new System.Drawing.Point(0, 22); - this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(2); this.tabControlPanel4.Name = "tabControlPanel4"; this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel4.Size = new System.Drawing.Size(532, 318); + this.tabControlPanel4.Size = new System.Drawing.Size(536, 318); this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; @@ -1208,7 +1224,7 @@ namespace VEPROMS this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 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(706, 387); + this.ClientSize = new System.Drawing.Size(698, 392); this.ControlBox = false; this.Controls.Add(this.tcSectionProp); this.Controls.Add(this.panSectBtns); @@ -1216,9 +1232,8 @@ namespace VEPROMS this.Controls.Add(this.ppLblDefSettingsInfo); this.Controls.Add(this.ppBtnCancel); this.Controls.Add(this.ppBtnOK); - this.DoubleBuffered = true; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.Margin = new System.Windows.Forms.Padding(2); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmSectionProperties"; @@ -1232,14 +1247,14 @@ namespace VEPROMS this.panSectBtns.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).EndInit(); this.tcSectionProp.ResumeLayout(false); + this.tcpAutomation.ResumeLayout(false); + this.tcpAutomation.PerformLayout(); + this.tcpGeneral.ResumeLayout(false); + this.tcpGeneral.PerformLayout(); this.tcpFormat.ResumeLayout(false); this.tcpFormat.PerformLayout(); this.ppGpbxSignoffCheckoff.ResumeLayout(false); this.ppGpbxSignoffCheckoff.PerformLayout(); - this.tcpGeneral.ResumeLayout(false); - this.tcpGeneral.PerformLayout(); - this.tcpAutomation.ResumeLayout(false); - this.tcpAutomation.PerformLayout(); this.tcpLibDoc.ResumeLayout(false); this.tcpLibDoc.PerformLayout(); this.tabControlPanel4.ResumeLayout(false); @@ -1326,5 +1341,6 @@ namespace VEPROMS private System.Windows.Forms.CheckBox ppCbPrnSecNumTitle; private System.Windows.Forms.CheckBox ppCbAutoIndent; private System.Windows.Forms.CheckBox cbKeepWordDocMargins; + private System.Windows.Forms.CheckBox ppCbPhoneList; } } \ No newline at end of file diff --git a/PROMS/VEPROMS User Interface/frmSectionProperties.cs b/PROMS/VEPROMS User Interface/frmSectionProperties.cs index e461e807..3335ed27 100644 --- a/PROMS/VEPROMS User Interface/frmSectionProperties.cs +++ b/PROMS/VEPROMS User Interface/frmSectionProperties.cs @@ -124,7 +124,8 @@ namespace VEPROMS myStepRTB.ClearUndo(); } } - private static void FinishSectionSave(Section section) + //private static void FinishSectionSave(Section section) + private void FinishSectionSave(Section section) { ItemInfo sectinfo = ItemInfo.Get(section.ItemID); @@ -140,7 +141,8 @@ namespace VEPROMS break; } } - if (isWordSect && !sectinfo.HasWordContent && !sectinfo.IsAutoTOCSection) + if (isWordSect && !sectinfo.HasWordContent && !sectinfo.IsAutoTOCSection && + (!sectinfo.IsPlacekeeperSection || (sectinfo.IsPlacekeeperSection && !ppCbPlaceKeeper.Checked))) { using (Content cont = Content.Get(sectinfo.MyContent.ContentID)) { @@ -308,6 +310,22 @@ namespace VEPROMS } if (!_SectionConfig.MySection.MySectionInfo.IsStepSection) cbKeepWordDocMargins.Checked = _SectionConfig.Section_WordMargin == "Y"; + if ((pf.FormatData.PurchaseOptions & E_PurchaseOptions.AutoPlacekeeper) == E_PurchaseOptions.AutoPlacekeeper) + { + ppCbPlaceKeeper.Text = "Include In Placekeeper"; + ppCbPlaceKeeper.Enabled = _isStepSection; + if (!_isStepSection && (_SectionConfig.MySection.MySectionInfo.MyDocStyle.StructureStyle.Style & E_DocStructStyle.Placekeeper) == E_DocStructStyle.Placekeeper) + { + ppCbPlaceKeeper.Text = "Auto Generate Placekeeper"; + ppCbPlaceKeeper.Enabled = true; + } + if (ppCbPlaceKeeper.Enabled) ppCbPlaceKeeper.Checked = _SectionConfig.Section_Placekeeper == "Y"; + } + if (pf.FormatData.SectData.PrintPhoneList) + { + ppCbPhoneList.Enabled = true; + ppCbPhoneList.Checked = _SectionConfig.Section_PhoneList == "Y"; + } _Initializing = false; } @@ -687,6 +705,7 @@ namespace VEPROMS /// private void defaultSettingsVisiblity() { + //ItemInfo ii = ItemInfo.Get(_SectionConfig.MySection.ItemID); ppLblDefSettingsInfo.Visible = ppCbShwDefSettings.Checked; ppLblFormatDefault.Visible = ppCbShwDefSettings.Checked && ppBtnDefaultFmt.Visible; ppLblDefaultNumColumns.Visible = _isStepSection && ppCbShwDefSettings.Checked && ppBtnDefaultNumColumns.Visible; @@ -899,6 +918,18 @@ namespace VEPROMS _SectionConfig.Section_WordMargin = doWordMargin ? "Y" : "N"; } + private void ppCbPlaceKeeper_CheckedChanged(object sender, EventArgs e) + { + if (!_Initializing) + _SectionConfig.Section_Placekeeper = ppCbPlaceKeeper.Checked ? "Y" : "N"; + } + + private void ppCbPhoneList_CheckedChanged(object sender, EventArgs e) + { + if (!_Initializing) + _SectionConfig.Section_PhoneList = ppCbPhoneList.Checked ? "Y" : "N"; + } + //private void ppBtnDefaultPrintSize_Click(object sender, EventArgs e) //{ // // Get the parent setting diff --git a/PROMS/VEPROMS.CSLA.Library/Config/SectionConfig.cs b/PROMS/VEPROMS.CSLA.Library/Config/SectionConfig.cs index d3ea033c..320dc35d 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/SectionConfig.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/SectionConfig.cs @@ -375,23 +375,58 @@ namespace VEPROMS.CSLA.Library OnPropertyChanged("Section_TOC"); } } - [Category("Section")] - //PROPGRID: Hide AutoGen - [DisplayName("Section AutoGen")] + [Category("General")] + // Placekeeper + [DisplayName("Placekeeper")] [RefreshProperties(RefreshProperties.All)] - [Description("Section AutoGen")] - public string Section_AutoGen + [Description("Include in Placekeeper")] + public string Section_Placekeeper { get { - return _Xp["Section", "AutoGen"]; + string tmp = _Xp["Section", "Placekeeper"]; + return tmp == null || tmp == "" ? "N" : tmp; } set { - _Xp["Section", "AutoGen"] = value; - OnPropertyChanged("Section_AutoGen"); + _Xp["Section", "Placekeeper"] = value; + OnPropertyChanged("Section_Placekeeper"); } } + // Phonelist + [DisplayName("PhoneList")] + [RefreshProperties(RefreshProperties.All)] + [Description("Include PhoneList")] + public string Section_PhoneList + { + get + { + string tmp = _Xp["Section", "PhoneList"]; + return tmp == null || tmp == "" ? "N" : tmp; + } + set + { + _Xp["Section", "PhoneList"] = value; + OnPropertyChanged("Section_PhoneList"); + } + } + //[Category("Section")] + ////PROPGRID: Hide AutoGen + //[DisplayName("Section AutoGen")] + //[RefreshProperties(RefreshProperties.All)] + //[Description("Section AutoGen")] + //public string Section_AutoGen + //{ + // get + // { + // return _Xp["Section", "AutoGen"]; + // } + // set + // { + // _Xp["Section", "AutoGen"] = value; + // OnPropertyChanged("Section_AutoGen"); + // } + //} [Category("Section")] //PROPGRID: Hide Subsection PH [DisplayName("Section PrintHdr")] diff --git a/PROMS/VEPROMS.CSLA.Library/Config/StepConfig.cs b/PROMS/VEPROMS.CSLA.Library/Config/StepConfig.cs index 4726bef9..218c5586 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/StepConfig.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/StepConfig.cs @@ -136,6 +136,29 @@ namespace VEPROMS.CSLA.Library } } //[Category("Step Attributes")] + //[DisplayName("Step Placekeeper")] + //[RefreshProperties(RefreshProperties.All)] + //[Description("Step Placekeeper")] + public bool Step_Placekeeper + { + get + { + string s = _Xp["Step", "Placekeeper"]; + + //If there is no value to get, then get the parent value (a.k.a. default value). + if (s == string.Empty) return false; + if (s == "True") return true; + return false; + } + set + { + string s = _Xp["Step", "Placekeeper"]; + if (value.ToString() == s) return; + _Xp["Step", "Placekeeper"] = value.ToString(); + OnPropertyChanged("Step_Placekeeper"); + } + } + //[Category("Step Attributes")] //[DisplayName("Step Check Off Index")] //[RefreshProperties(RefreshProperties.All)] //[Description("Step Check Off Index")] diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index d1a5e20a..06ec3291 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -631,6 +631,28 @@ namespace VEPROMS.CSLA.Library (MyDocStyle.StructureStyle.Style & E_DocStructStyle.TableOfContents) == E_DocStructStyle.TableOfContents); } } + public bool IsPlacekeeperSection + { + get + { + if (!IsSection) return false; + if (MyDocStyle.StructureStyle.Style == null) return false; + return ((ActiveFormat.PlantFormat.FormatData.PurchaseOptions & E_PurchaseOptions.AutoPlacekeeper) == E_PurchaseOptions.AutoPlacekeeper && + (MyDocStyle.StructureStyle.Style & E_DocStructStyle.Placekeeper) == E_DocStructStyle.Placekeeper); + } + } + public bool CanSetPlacekeeper + { + get + { + SectionConfig scfg = (SectionConfig)MyActiveSection.MyConfig; + if (MyDocStyle.StructureStyle.Style == null || scfg == null) return false; + bool PlacekeepOption = ((ActiveFormat.PlantFormat.FormatData.PurchaseOptions & E_PurchaseOptions.AutoPlacekeeper) == E_PurchaseOptions.AutoPlacekeeper) + && scfg.Section_Placekeeper.Equals("Y"); + //return (PlacekeepOption && IsHigh); + return (PlacekeepOption); + } + } public bool MoreThanOneStepSection() { if (IsProcedure || IsSection) return false; diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ROFSTExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ROFSTExt.cs index 8464a2f2..b692b99c 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ROFSTExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ROFSTExt.cs @@ -173,8 +173,8 @@ namespace VEPROMS.CSLA.Library private Dictionary dicLookups = new Dictionary(); public ROFSTLookup GetROFSTLookup(DocVersionInfo dvi) { - string key = string.Format("{0}.{1}",dvi.DocVersionAssociations[0].ROFstID,dvi.DocVersionConfig.SelectedSlave); - if (!dicLookups.ContainsKey(key)) + //string key = string.Format("{0}.{1}",dvi.DocVersionAssociations[0].ROFstID,dvi.DocVersionConfig.SelectedSlave); + string key = string.Format("{0}.{1}.{2}", ROFstID, dvi.DocVersionConfig.MaxSlaveIndex, dvi.DocVersionConfig.SelectedSlave); if (!dicLookups.ContainsKey(key)) dicLookups.Add(key, new ROFSTLookup(this, dvi)); return dicLookups[key]; } diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index b10d8d7e..c2b311c6 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -1708,6 +1708,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _UseMetaSections, "@UseMetaSections"); } } + private LazyLoad _PrintPhoneList; + public bool PrintPhoneList + { + get + { + return LazyLoad(ref _PrintPhoneList, "@PrintPhoneList"); + } + } private LazyLoad _DefaultNoSubAutoIndent; public bool DefaultNoSubAutoIndent { diff --git a/PROMS/Volian.Controls.Library/DisplayTags.Designer.cs b/PROMS/Volian.Controls.Library/DisplayTags.Designer.cs index 916392dc..06ddf140 100644 --- a/PROMS/Volian.Controls.Library/DisplayTags.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayTags.Designer.cs @@ -28,13 +28,11 @@ namespace Volian.Controls.Library /// private void InitializeComponent() { - this.groupPanelMisc = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.cbCAS = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.groupPanelPaginate = new DevComponents.DotNetBar.Controls.GroupPanel(); this.cbPageBreak = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.cbCAS = new DevComponents.DotNetBar.Controls.CheckBoxX(); this.cmbCheckoff = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.groupPanelCheckoff = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.checkedListBoxApplic = new System.Windows.Forms.CheckedListBox(); - this.groupPanelApplic = new DevComponents.DotNetBar.Controls.GroupPanel(); this.groupPanelChgBar = new DevComponents.DotNetBar.Controls.GroupPanel(); this.rbChgBarOff = new System.Windows.Forms.RadioButton(); this.rbChgBarOn = new System.Windows.Forms.RadioButton(); @@ -43,73 +41,56 @@ namespace Volian.Controls.Library this.cbChgAll = new System.Windows.Forms.CheckBox(); this.listBoxStepTypes = new System.Windows.Forms.ListBox(); this.superTooltipTags = new DevComponents.DotNetBar.SuperTooltip(); - this.groupPanelMisc.SuspendLayout(); + this.groupPanelIncludeOn = new DevComponents.DotNetBar.Controls.GroupPanel(); + this.cbPlaceKeeper = new DevComponents.DotNetBar.Controls.CheckBoxX(); + this.groupPanelPaginate.SuspendLayout(); this.groupPanelCheckoff.SuspendLayout(); - this.groupPanelApplic.SuspendLayout(); this.groupPanelChgBar.SuspendLayout(); this.groupPanelChgStepType.SuspendLayout(); + this.groupPanelIncludeOn.SuspendLayout(); this.SuspendLayout(); // - // groupPanelMisc + // groupPanelPaginate // - this.groupPanelMisc.BackColor = System.Drawing.Color.Transparent; - this.groupPanelMisc.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelMisc.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelMisc.Controls.Add(this.cbCAS); - this.groupPanelMisc.Controls.Add(this.cbPageBreak); - this.groupPanelMisc.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelMisc.Location = new System.Drawing.Point(0, 0); - this.groupPanelMisc.Name = "groupPanelMisc"; - this.groupPanelMisc.Size = new System.Drawing.Size(230, 86); + this.groupPanelPaginate.BackColor = System.Drawing.Color.Transparent; + this.groupPanelPaginate.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelPaginate.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelPaginate.Controls.Add(this.cbPageBreak); + this.groupPanelPaginate.Dock = System.Windows.Forms.DockStyle.Top; + this.groupPanelPaginate.Location = new System.Drawing.Point(0, 303); + this.groupPanelPaginate.Margin = new System.Windows.Forms.Padding(2); + this.groupPanelPaginate.Name = "groupPanelPaginate"; + this.groupPanelPaginate.Size = new System.Drawing.Size(172, 58); // // // - this.groupPanelMisc.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelMisc.Style.BackColorGradientAngle = 90; - this.groupPanelMisc.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelMisc.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelMisc.Style.BorderBottomWidth = 1; - this.groupPanelMisc.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelMisc.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelMisc.Style.BorderLeftWidth = 1; - this.groupPanelMisc.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelMisc.Style.BorderRightWidth = 1; - this.groupPanelMisc.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelMisc.Style.BorderTopWidth = 1; - this.groupPanelMisc.Style.Class = ""; - this.groupPanelMisc.Style.CornerDiameter = 4; - this.groupPanelMisc.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelMisc.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelMisc.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelMisc.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + this.groupPanelPaginate.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelPaginate.Style.BackColorGradientAngle = 90; + this.groupPanelPaginate.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelPaginate.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelPaginate.Style.BorderBottomWidth = 1; + this.groupPanelPaginate.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelPaginate.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelPaginate.Style.BorderLeftWidth = 1; + this.groupPanelPaginate.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelPaginate.Style.BorderRightWidth = 1; + this.groupPanelPaginate.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelPaginate.Style.BorderTopWidth = 1; + this.groupPanelPaginate.Style.CornerDiameter = 4; + this.groupPanelPaginate.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelPaginate.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelPaginate.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelPaginate.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; // // // - this.groupPanelMisc.StyleMouseDown.Class = ""; - this.groupPanelMisc.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelPaginate.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // - this.groupPanelMisc.StyleMouseOver.Class = ""; - this.groupPanelMisc.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelMisc.TabIndex = 11; - this.groupPanelMisc.Text = "Miscellaneous"; - // - // cbCAS - // - this.cbCAS.AutoSize = true; - // - // - // - this.cbCAS.BackgroundStyle.Class = ""; - this.cbCAS.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbCAS.Location = new System.Drawing.Point(0, 32); - this.cbCAS.Name = "cbCAS"; - this.cbCAS.Size = new System.Drawing.Size(187, 17); - this.superTooltipTags.SetSuperTooltip(this.cbCAS, new DevComponents.DotNetBar.SuperTooltipInfo("Continuous Action Summary", "", "Include this in the Continuous Action Summary section", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); - this.cbCAS.TabIndex = 1; - this.cbCAS.Text = "Continuous Action Summary"; - this.cbCAS.CheckedChanged += new System.EventHandler(this.cbCAS_CheckedChanged); + this.groupPanelPaginate.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelPaginate.TabIndex = 11; + this.groupPanelPaginate.Text = "Pagination"; // // cbPageBreak // @@ -117,32 +98,50 @@ namespace Volian.Controls.Library // // // - this.cbPageBreak.BackgroundStyle.Class = ""; this.cbPageBreak.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.cbPageBreak.Location = new System.Drawing.Point(0, 3); + this.cbPageBreak.Location = new System.Drawing.Point(3, 11); + this.cbPageBreak.Margin = new System.Windows.Forms.Padding(2); this.cbPageBreak.Name = "cbPageBreak"; - this.cbPageBreak.Size = new System.Drawing.Size(140, 17); + this.cbPageBreak.Size = new System.Drawing.Size(122, 15); this.superTooltipTags.SetSuperTooltip(this.cbPageBreak, new DevComponents.DotNetBar.SuperTooltipInfo("Manual Page Break", "", "When set, starts this step at the top of a page.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.cbPageBreak.TabIndex = 0; this.cbPageBreak.Text = "Manual Page Break"; this.cbPageBreak.CheckedChanged += new System.EventHandler(this.cbPageBreak_CheckedChanged); // + // cbCAS + // + this.cbCAS.AutoSize = true; + this.cbCAS.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.cbCAS.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.cbCAS.Location = new System.Drawing.Point(3, 14); + this.cbCAS.Margin = new System.Windows.Forms.Padding(2); + this.cbCAS.Name = "cbCAS"; + this.cbCAS.Size = new System.Drawing.Size(162, 15); + this.superTooltipTags.SetSuperTooltip(this.cbCAS, new DevComponents.DotNetBar.SuperTooltipInfo("Continuous Action Summary", "", "Include this in the Continuous Action Summary section", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.cbCAS.TabIndex = 1; + this.cbCAS.Text = "Continuous Action Summary"; + this.cbCAS.CheckedChanged += new System.EventHandler(this.cbCAS_CheckedChanged); + // // cmbCheckoff // this.cmbCheckoff.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.cmbCheckoff.DisplayMember = "Text"; this.cmbCheckoff.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.cmbCheckoff.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbCheckoff.FormattingEnabled = true; this.cmbCheckoff.ItemHeight = 17; - this.cmbCheckoff.Location = new System.Drawing.Point(4, 20); + this.cmbCheckoff.Location = new System.Drawing.Point(3, 17); + this.cmbCheckoff.Margin = new System.Windows.Forms.Padding(2); this.cmbCheckoff.Name = "cmbCheckoff"; - this.cmbCheckoff.Size = new System.Drawing.Size(217, 23); + this.cmbCheckoff.Size = new System.Drawing.Size(164, 23); this.cmbCheckoff.TabIndex = 0; this.cmbCheckoff.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cmbCheckoff.WatermarkText = "select signoff / checkoff"; this.cmbCheckoff.SelectedIndexChanged += new System.EventHandler(this.cmbCheckoff_SelectedIndexChanged); - this.cmbCheckoff.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; // // groupPanelCheckoff // @@ -150,9 +149,10 @@ namespace Volian.Controls.Library this.groupPanelCheckoff.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.groupPanelCheckoff.Controls.Add(this.cmbCheckoff); this.groupPanelCheckoff.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelCheckoff.Location = new System.Drawing.Point(0, 365); + this.groupPanelCheckoff.Location = new System.Drawing.Point(0, 145); + this.groupPanelCheckoff.Margin = new System.Windows.Forms.Padding(2); this.groupPanelCheckoff.Name = "groupPanelCheckoff"; - this.groupPanelCheckoff.Size = new System.Drawing.Size(230, 115); + this.groupPanelCheckoff.Size = new System.Drawing.Size(172, 77); // // // @@ -168,7 +168,6 @@ namespace Volian.Controls.Library this.groupPanelCheckoff.Style.BorderRightWidth = 1; this.groupPanelCheckoff.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanelCheckoff.Style.BorderTopWidth = 1; - this.groupPanelCheckoff.Style.Class = ""; this.groupPanelCheckoff.Style.CornerDiameter = 4; this.groupPanelCheckoff.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; this.groupPanelCheckoff.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; @@ -177,77 +176,15 @@ namespace Volian.Controls.Library // // // - this.groupPanelCheckoff.StyleMouseDown.Class = ""; this.groupPanelCheckoff.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // - this.groupPanelCheckoff.StyleMouseOver.Class = ""; this.groupPanelCheckoff.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.groupPanelCheckoff.TabIndex = 8; this.groupPanelCheckoff.Text = "Signoff / Checkoff"; this.groupPanelCheckoff.VisibleChanged += new System.EventHandler(this.groupPanelCheckoff_VisibleChanged); // - // checkedListBoxApplic - // - this.checkedListBoxApplic.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.checkedListBoxApplic.CheckOnClick = true; - this.checkedListBoxApplic.FormattingEnabled = true; - this.checkedListBoxApplic.Items.AddRange(new object[] { - "Unit 1", - "Unit 2", - "Unit 3", - "Unit 4"}); - this.checkedListBoxApplic.Location = new System.Drawing.Point(3, 3); - this.checkedListBoxApplic.Name = "checkedListBoxApplic"; - this.checkedListBoxApplic.Size = new System.Drawing.Size(218, 89); - this.checkedListBoxApplic.TabIndex = 1; - // - // groupPanelApplic - // - this.groupPanelApplic.CanvasColor = System.Drawing.SystemColors.Control; - this.groupPanelApplic.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - this.groupPanelApplic.Controls.Add(this.checkedListBoxApplic); - this.groupPanelApplic.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelApplic.Location = new System.Drawing.Point(0, 480); - this.groupPanelApplic.Name = "groupPanelApplic"; - this.groupPanelApplic.Size = new System.Drawing.Size(230, 140); - // - // - // - this.groupPanelApplic.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.groupPanelApplic.Style.BackColorGradientAngle = 90; - this.groupPanelApplic.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.groupPanelApplic.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelApplic.Style.BorderBottomWidth = 1; - this.groupPanelApplic.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.groupPanelApplic.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelApplic.Style.BorderLeftWidth = 1; - this.groupPanelApplic.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelApplic.Style.BorderRightWidth = 1; - this.groupPanelApplic.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.groupPanelApplic.Style.BorderTopWidth = 1; - this.groupPanelApplic.Style.Class = ""; - this.groupPanelApplic.Style.CornerDiameter = 4; - this.groupPanelApplic.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; - this.groupPanelApplic.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - this.groupPanelApplic.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.groupPanelApplic.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // - this.groupPanelApplic.StyleMouseDown.Class = ""; - this.groupPanelApplic.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.groupPanelApplic.StyleMouseOver.Class = ""; - this.groupPanelApplic.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.groupPanelApplic.TabIndex = 17; - this.groupPanelApplic.Text = "Applicability"; - this.groupPanelApplic.Visible = false; - // // groupPanelChgBar // this.groupPanelChgBar.BackColor = System.Drawing.Color.Transparent; @@ -256,9 +193,10 @@ namespace Volian.Controls.Library this.groupPanelChgBar.Controls.Add(this.rbChgBarOff); this.groupPanelChgBar.Controls.Add(this.rbChgBarOn); this.groupPanelChgBar.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelChgBar.Location = new System.Drawing.Point(0, 86); + this.groupPanelChgBar.Location = new System.Drawing.Point(0, 222); + this.groupPanelChgBar.Margin = new System.Windows.Forms.Padding(2); this.groupPanelChgBar.Name = "groupPanelChgBar"; - this.groupPanelChgBar.Size = new System.Drawing.Size(230, 100); + this.groupPanelChgBar.Size = new System.Drawing.Size(172, 81); // // // @@ -274,7 +212,6 @@ namespace Volian.Controls.Library this.groupPanelChgBar.Style.BorderRightWidth = 1; this.groupPanelChgBar.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanelChgBar.Style.BorderTopWidth = 1; - this.groupPanelChgBar.Style.Class = ""; this.groupPanelChgBar.Style.CornerDiameter = 4; this.groupPanelChgBar.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; this.groupPanelChgBar.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; @@ -283,12 +220,10 @@ namespace Volian.Controls.Library // // // - this.groupPanelChgBar.StyleMouseDown.Class = ""; this.groupPanelChgBar.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // - this.groupPanelChgBar.StyleMouseOver.Class = ""; this.groupPanelChgBar.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.groupPanelChgBar.TabIndex = 18; this.groupPanelChgBar.Text = "Change Bar"; @@ -296,9 +231,10 @@ namespace Volian.Controls.Library // rbChgBarOff // this.rbChgBarOff.AutoSize = true; - this.rbChgBarOff.Location = new System.Drawing.Point(4, 43); + this.rbChgBarOff.Location = new System.Drawing.Point(3, 35); + this.rbChgBarOff.Margin = new System.Windows.Forms.Padding(2); this.rbChgBarOff.Name = "rbChgBarOff"; - this.rbChgBarOff.Size = new System.Drawing.Size(56, 21); + this.rbChgBarOff.Size = new System.Drawing.Size(45, 17); this.superTooltipTags.SetSuperTooltip(this.rbChgBarOff, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar OFF", "", "Turn change bar off. Note that \'OVERRIDE\' will turn off a change bar even though" + " text is changed.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.rbChgBarOff.TabIndex = 2; @@ -310,9 +246,10 @@ namespace Volian.Controls.Library // rbChgBarOn // this.rbChgBarOn.AutoSize = true; - this.rbChgBarOn.Location = new System.Drawing.Point(4, 16); + this.rbChgBarOn.Location = new System.Drawing.Point(3, 13); + this.rbChgBarOn.Margin = new System.Windows.Forms.Padding(2); this.rbChgBarOn.Name = "rbChgBarOn"; - this.rbChgBarOn.Size = new System.Drawing.Size(50, 21); + this.rbChgBarOn.Size = new System.Drawing.Size(41, 17); this.superTooltipTags.SetSuperTooltip(this.rbChgBarOn, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar ON", "", "Add a change bar on this step", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.rbChgBarOn.TabIndex = 1; this.rbChgBarOn.TabStop = true; @@ -329,9 +266,10 @@ namespace Volian.Controls.Library this.groupPanelChgStepType.Controls.Add(this.cbChgAll); this.groupPanelChgStepType.Controls.Add(this.listBoxStepTypes); this.groupPanelChgStepType.Dock = System.Windows.Forms.DockStyle.Top; - this.groupPanelChgStepType.Location = new System.Drawing.Point(0, 186); + this.groupPanelChgStepType.Location = new System.Drawing.Point(0, 0); + this.groupPanelChgStepType.Margin = new System.Windows.Forms.Padding(2); this.groupPanelChgStepType.Name = "groupPanelChgStepType"; - this.groupPanelChgStepType.Size = new System.Drawing.Size(230, 179); + this.groupPanelChgStepType.Size = new System.Drawing.Size(172, 145); // // // @@ -347,7 +285,6 @@ namespace Volian.Controls.Library this.groupPanelChgStepType.Style.BorderRightWidth = 1; this.groupPanelChgStepType.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanelChgStepType.Style.BorderTopWidth = 1; - this.groupPanelChgStepType.Style.Class = ""; this.groupPanelChgStepType.Style.CornerDiameter = 4; this.groupPanelChgStepType.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; this.groupPanelChgStepType.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; @@ -356,12 +293,10 @@ namespace Volian.Controls.Library // // // - this.groupPanelChgStepType.StyleMouseDown.Class = ""; this.groupPanelChgStepType.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // - this.groupPanelChgStepType.StyleMouseOver.Class = ""; this.groupPanelChgStepType.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.groupPanelChgStepType.TabIndex = 19; this.groupPanelChgStepType.Text = "Change Step Type"; @@ -374,21 +309,22 @@ namespace Volian.Controls.Library // // // - this.lblNoTypeChgReason.BackgroundStyle.Class = ""; this.lblNoTypeChgReason.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.lblNoTypeChgReason.ForeColor = System.Drawing.Color.Red; - this.lblNoTypeChgReason.Location = new System.Drawing.Point(3, 35); + this.lblNoTypeChgReason.Location = new System.Drawing.Point(2, 28); + this.lblNoTypeChgReason.Margin = new System.Windows.Forms.Padding(2); this.lblNoTypeChgReason.Name = "lblNoTypeChgReason"; - this.lblNoTypeChgReason.Size = new System.Drawing.Size(218, 118); + this.lblNoTypeChgReason.Size = new System.Drawing.Size(164, 96); this.lblNoTypeChgReason.TabIndex = 5; // // cbChgAll // this.cbChgAll.AutoSize = true; this.cbChgAll.BackColor = System.Drawing.Color.Transparent; - this.cbChgAll.Location = new System.Drawing.Point(3, 8); + this.cbChgAll.Location = new System.Drawing.Point(2, 6); + this.cbChgAll.Margin = new System.Windows.Forms.Padding(2); this.cbChgAll.Name = "cbChgAll"; - this.cbChgAll.Size = new System.Drawing.Size(153, 21); + this.cbChgAll.Size = new System.Drawing.Size(119, 17); this.superTooltipTags.SetSuperTooltip(this.cbChgAll, new DevComponents.DotNetBar.SuperTooltipInfo("Change Step Type - All At Level", "", "When checked, all steps at the level of current step will have their step type ch" + "anged to the selected type in list below...", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.cbChgAll.TabIndex = 4; @@ -400,10 +336,10 @@ namespace Volian.Controls.Library this.listBoxStepTypes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.listBoxStepTypes.FormattingEnabled = true; - this.listBoxStepTypes.ItemHeight = 16; - this.listBoxStepTypes.Location = new System.Drawing.Point(3, 35); + this.listBoxStepTypes.Location = new System.Drawing.Point(2, 28); + this.listBoxStepTypes.Margin = new System.Windows.Forms.Padding(2); this.listBoxStepTypes.Name = "listBoxStepTypes"; - this.listBoxStepTypes.Size = new System.Drawing.Size(218, 116); + this.listBoxStepTypes.Size = new System.Drawing.Size(164, 95); this.superTooltipTags.SetSuperTooltip(this.listBoxStepTypes, new DevComponents.DotNetBar.SuperTooltipInfo("Possible Step Types", "", "This list allows change of type showing all selections of any possible step type " + "for the current step.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.listBoxStepTypes.TabIndex = 3; @@ -413,36 +349,95 @@ namespace Volian.Controls.Library // this.superTooltipTags.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; // + // groupPanelIncludeOn + // + this.groupPanelIncludeOn.BackColor = System.Drawing.Color.Transparent; + this.groupPanelIncludeOn.CanvasColor = System.Drawing.SystemColors.Control; + this.groupPanelIncludeOn.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + this.groupPanelIncludeOn.Controls.Add(this.cbPlaceKeeper); + this.groupPanelIncludeOn.Controls.Add(this.cbCAS); + this.groupPanelIncludeOn.Dock = System.Windows.Forms.DockStyle.Top; + this.groupPanelIncludeOn.Location = new System.Drawing.Point(0, 361); + this.groupPanelIncludeOn.Margin = new System.Windows.Forms.Padding(2); + this.groupPanelIncludeOn.Name = "groupPanelIncludeOn"; + this.groupPanelIncludeOn.Size = new System.Drawing.Size(172, 79); + // + // + // + this.groupPanelIncludeOn.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.groupPanelIncludeOn.Style.BackColorGradientAngle = 90; + this.groupPanelIncludeOn.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.groupPanelIncludeOn.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelIncludeOn.Style.BorderBottomWidth = 1; + this.groupPanelIncludeOn.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.groupPanelIncludeOn.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelIncludeOn.Style.BorderLeftWidth = 1; + this.groupPanelIncludeOn.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelIncludeOn.Style.BorderRightWidth = 1; + this.groupPanelIncludeOn.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.groupPanelIncludeOn.Style.BorderTopWidth = 1; + this.groupPanelIncludeOn.Style.CornerDiameter = 4; + this.groupPanelIncludeOn.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; + this.groupPanelIncludeOn.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + this.groupPanelIncludeOn.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.groupPanelIncludeOn.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // + this.groupPanelIncludeOn.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.groupPanelIncludeOn.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.groupPanelIncludeOn.TabIndex = 17; + this.groupPanelIncludeOn.Text = "Include On"; + // + // cbPlaceKeeper + // + this.cbPlaceKeeper.AutoSize = true; + this.cbPlaceKeeper.BackColor = System.Drawing.Color.Transparent; + // + // + // + this.cbPlaceKeeper.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.cbPlaceKeeper.Location = new System.Drawing.Point(3, 33); + this.cbPlaceKeeper.Margin = new System.Windows.Forms.Padding(2); + this.cbPlaceKeeper.Name = "cbPlaceKeeper"; + this.cbPlaceKeeper.Size = new System.Drawing.Size(84, 15); + this.cbPlaceKeeper.TabIndex = 1; + this.cbPlaceKeeper.Text = "Placekeeper"; + this.cbPlaceKeeper.CheckedChanged += new System.EventHandler(this.cbPlacekeeper_CheckedChanged); + // // DisplayTags // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.groupPanelApplic); + this.Controls.Add(this.groupPanelIncludeOn); + this.Controls.Add(this.groupPanelPaginate); + this.Controls.Add(this.groupPanelChgBar); this.Controls.Add(this.groupPanelCheckoff); this.Controls.Add(this.groupPanelChgStepType); - this.Controls.Add(this.groupPanelChgBar); - this.Controls.Add(this.groupPanelMisc); + this.Margin = new System.Windows.Forms.Padding(2); this.Name = "DisplayTags"; - this.Size = new System.Drawing.Size(230, 630); - this.groupPanelMisc.ResumeLayout(false); - this.groupPanelMisc.PerformLayout(); + this.Size = new System.Drawing.Size(172, 512); + this.groupPanelPaginate.ResumeLayout(false); + this.groupPanelPaginate.PerformLayout(); this.groupPanelCheckoff.ResumeLayout(false); - this.groupPanelApplic.ResumeLayout(false); this.groupPanelChgBar.ResumeLayout(false); this.groupPanelChgBar.PerformLayout(); this.groupPanelChgStepType.ResumeLayout(false); this.groupPanelChgStepType.PerformLayout(); + this.groupPanelIncludeOn.ResumeLayout(false); + this.groupPanelIncludeOn.PerformLayout(); this.ResumeLayout(false); } #endregion - private DevComponents.DotNetBar.Controls.GroupPanel groupPanelMisc; + private DevComponents.DotNetBar.Controls.GroupPanel groupPanelPaginate; private DevComponents.DotNetBar.Controls.ComboBoxEx cmbCheckoff; private DevComponents.DotNetBar.Controls.GroupPanel groupPanelCheckoff; - private System.Windows.Forms.CheckedListBox checkedListBoxApplic; - private DevComponents.DotNetBar.Controls.GroupPanel groupPanelApplic; private DevComponents.DotNetBar.Controls.CheckBoxX cbPageBreak; private DevComponents.DotNetBar.Controls.CheckBoxX cbCAS; private DevComponents.DotNetBar.Controls.GroupPanel groupPanelChgBar; @@ -453,5 +448,7 @@ namespace Volian.Controls.Library private System.Windows.Forms.RadioButton rbChgBarOff; private System.Windows.Forms.RadioButton rbChgBarOn; private DevComponents.DotNetBar.SuperTooltip superTooltipTags; + private DevComponents.DotNetBar.Controls.GroupPanel groupPanelIncludeOn; + private DevComponents.DotNetBar.Controls.CheckBoxX cbPlaceKeeper; } } diff --git a/PROMS/Volian.Controls.Library/DisplayTags.cs b/PROMS/Volian.Controls.Library/DisplayTags.cs index f35b5eda..eb2b5b32 100644 --- a/PROMS/Volian.Controls.Library/DisplayTags.cs +++ b/PROMS/Volian.Controls.Library/DisplayTags.cs @@ -104,6 +104,7 @@ namespace Volian.Controls.Library { cmbCheckoff.Enabled = false; cbPageBreak.Enabled = false; + cbPlaceKeeper.Enabled = false; cbCAS.Enabled = false; rbChgBarOff.Enabled = false; rbChgBarOn.Enabled = false; @@ -137,10 +138,13 @@ namespace Volian.Controls.Library // don't like: Goldenrod, Gold groupPanelChgBar.Style.BackColor = Color.Cornsilk; groupPanelChgStepType.Style.BackColor = Color.Cornsilk; - groupPanelMisc.Style.BackColor = Color.Cornsilk; + groupPanelPaginate.Style.BackColor = Color.Cornsilk; groupPanelCheckoff.Style.BackColor = Color.Cornsilk; + groupPanelIncludeOn.Style.BackColor = Color.Cornsilk; cbPageBreak.Checked = false; // will be set below if HLS & config has it on + cbPlaceKeeper.Checked = false; // will be set below if HLS & config has this set cbPageBreak.Enabled = CurItemInfo.IsHigh; + cbPlaceKeeper.Enabled = ((SectionConfig)CurItemInfo.MyActiveSection.MyConfig).Section_Placekeeper == "Y"; cbCAS.Enabled = true; rbChgBarOff.Enabled = true; rbChgBarOn.Enabled = true; @@ -167,10 +171,13 @@ namespace Volian.Controls.Library { if (CurItemInfo.IsHigh)cbPageBreak.Checked = false; cbCAS.Checked = false; + cbPlaceKeeper.Checked = false; } else // otherwise, get data from config { - if (CurItemInfo.IsHigh) cbPageBreak.Checked = sc.Step_NewManualPagebreak; + if (CurItemInfo.IsHigh) + cbPageBreak.Checked = sc.Step_NewManualPagebreak; + cbPlaceKeeper.Checked = sc.Step_Placekeeper; cbCAS.Checked = sc.Step_CAS; } bool _checkoffsAllowed = true; @@ -257,6 +264,7 @@ namespace Volian.Controls.Library lblNoTypeChgReason.Visible = !(listBoxStepTypes.Items.Count>0); cbChgAll.Enabled = (listBoxStepTypes.Items.Count > 0); listBoxStepTypes.Visible = (listBoxStepTypes.Items.Count>0); + cbPlaceKeeper.Enabled = MyEditItem.MyItemInfo.CanSetPlacekeeper; _Initalizing = false; } private int DoListStepTypes(FormatData fmtdata, StepData topType, string curType) @@ -308,6 +316,14 @@ namespace Volian.Controls.Library if (sc == null) return; sc.Step_CAS = cbCAS.Checked; } + private void cbPlacekeeper_CheckedChanged(object sender, EventArgs e) + { + if (_Initalizing) return; + MyEditItem.SaveContents(); + StepConfig sc = CurItemInfo.MyConfig as StepConfig; + if (sc == null) return; + sc.Step_Placekeeper = cbPlaceKeeper.Checked; + } private void listBoxStepTypes_SelectedIndexChanged(object sender, EventArgs e) { if (_Initalizing) return;