Enhanced Documents for Procedures – add checkbox

Enhanced Documents for Sections – add radiobox
Enhanced Documents – set sync checkbox
This commit is contained in:
Kathy Ruffing 2016-01-20 16:33:09 +00:00
parent 58d52eefc0
commit 33850f59c1
5 changed files with 1527 additions and 1320 deletions

View File

@ -156,6 +156,7 @@ namespace VEPROMS
this.tiFmtStngs = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel();
this.tiViewStngs = new DevComponents.DotNetBar.TabItem(this.components);
this.cbEnhanced = new System.Windows.Forms.CheckBox();
((System.ComponentModel.ISupportInitialize)(this.procedureConfigBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ppNumUpDwnOvrdPrnPenWidth)).BeginInit();
@ -311,9 +312,10 @@ namespace VEPROMS
this.ppCmbxChangeBarType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxChangeBarType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxChangeBarType.FormattingEnabled = true;
this.ppCmbxChangeBarType.ItemHeight = 16;
this.ppCmbxChangeBarType.Location = new System.Drawing.Point(433, 120);
this.ppCmbxChangeBarType.Name = "ppCmbxChangeBarType";
this.ppCmbxChangeBarType.Size = new System.Drawing.Size(175, 23);
this.ppCmbxChangeBarType.Size = new System.Drawing.Size(175, 22);
this.ppCmbxChangeBarType.TabIndex = 50;
this.ppCmbxChangeBarType.Visible = false;
this.ppCmbxChangeBarType.WatermarkText = "select change bar setting";
@ -339,9 +341,10 @@ namespace VEPROMS
this.ppCmbxFormat.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxFormat.FormattingEnabled = true;
this.ppCmbxFormat.ItemHeight = 16;
this.ppCmbxFormat.Location = new System.Drawing.Point(12, 35);
this.ppCmbxFormat.Name = "ppCmbxFormat";
this.ppCmbxFormat.Size = new System.Drawing.Size(573, 23);
this.ppCmbxFormat.Size = new System.Drawing.Size(573, 22);
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)));
@ -416,9 +419,10 @@ namespace VEPROMS
this.ppCmbxChgBarTxtType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxChgBarTxtType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxChgBarTxtType.FormattingEnabled = true;
this.ppCmbxChgBarTxtType.ItemHeight = 16;
this.ppCmbxChgBarTxtType.Location = new System.Drawing.Point(82, 85);
this.ppCmbxChgBarTxtType.Name = "ppCmbxChgBarTxtType";
this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(184, 23);
this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(184, 22);
this.ppCmbxChgBarTxtType.TabIndex = 51;
this.ppCmbxChgBarTxtType.TabStop = false;
this.ppCmbxChgBarTxtType.Visible = false;
@ -432,9 +436,10 @@ namespace VEPROMS
this.ppCmbxChgBarPos.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxChgBarPos.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxChgBarPos.FormattingEnabled = true;
this.ppCmbxChgBarPos.ItemHeight = 16;
this.ppCmbxChgBarPos.Location = new System.Drawing.Point(82, 30);
this.ppCmbxChgBarPos.Name = "ppCmbxChgBarPos";
this.ppCmbxChgBarPos.Size = new System.Drawing.Size(184, 23);
this.ppCmbxChgBarPos.Size = new System.Drawing.Size(184, 22);
this.ppCmbxChgBarPos.TabIndex = 51;
this.ppCmbxChgBarPos.TabStop = false;
this.ppCmbxChgBarPos.Visible = false;
@ -749,9 +754,10 @@ namespace VEPROMS
this.ppCmbxWatermark.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxWatermark.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxWatermark.FormattingEnabled = true;
this.ppCmbxWatermark.ItemHeight = 16;
this.ppCmbxWatermark.Location = new System.Drawing.Point(98, 30);
this.ppCmbxWatermark.Name = "ppCmbxWatermark";
this.ppCmbxWatermark.Size = new System.Drawing.Size(163, 23);
this.ppCmbxWatermark.Size = new System.Drawing.Size(163, 22);
this.ppCmbxWatermark.TabIndex = 58;
this.ppCmbxWatermark.TabStop = false;
this.ppCmbxWatermark.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -915,7 +921,7 @@ namespace VEPROMS
this.versionsPropChangeBarPositionCombo.FormattingEnabled = true;
this.versionsPropChangeBarPositionCombo.Location = new System.Drawing.Point(86, 39);
this.versionsPropChangeBarPositionCombo.Name = "versionsPropChangeBarPositionCombo";
this.versionsPropChangeBarPositionCombo.Size = new System.Drawing.Size(248, 25);
this.versionsPropChangeBarPositionCombo.Size = new System.Drawing.Size(248, 24);
this.versionsPropChangeBarPositionCombo.TabIndex = 10;
//
// label12
@ -932,7 +938,7 @@ namespace VEPROMS
this.versionsPropChangeBarTextTypeCombo.FormattingEnabled = true;
this.versionsPropChangeBarTextTypeCombo.Location = new System.Drawing.Point(86, 82);
this.versionsPropChangeBarTextTypeCombo.Name = "versionsPropChangeBarTextTypeCombo";
this.versionsPropChangeBarTextTypeCombo.Size = new System.Drawing.Size(248, 25);
this.versionsPropChangeBarTextTypeCombo.Size = new System.Drawing.Size(248, 24);
this.versionsPropChangeBarTextTypeCombo.TabIndex = 7;
//
// versionsPropPaginationCombo
@ -1027,7 +1033,6 @@ namespace VEPROMS
//
//
//
this.ppCbShwDefSettings.BackgroundStyle.Class = "";
this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppCbShwDefSettings.Location = new System.Drawing.Point(6, 395);
this.ppCbShwDefSettings.Name = "ppCbShwDefSettings";
@ -1170,9 +1175,10 @@ namespace VEPROMS
this.comboBoxEx5.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.comboBoxEx5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxEx5.FormattingEnabled = true;
this.comboBoxEx5.ItemHeight = 16;
this.comboBoxEx5.Location = new System.Drawing.Point(86, 83);
this.comboBoxEx5.Name = "comboBoxEx5";
this.comboBoxEx5.Size = new System.Drawing.Size(248, 23);
this.comboBoxEx5.Size = new System.Drawing.Size(248, 22);
this.comboBoxEx5.TabIndex = 51;
this.comboBoxEx5.WatermarkText = "using default";
//
@ -1183,9 +1189,10 @@ namespace VEPROMS
this.comboBoxEx6.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.comboBoxEx6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxEx6.FormattingEnabled = true;
this.comboBoxEx6.ItemHeight = 16;
this.comboBoxEx6.Location = new System.Drawing.Point(86, 27);
this.comboBoxEx6.Name = "comboBoxEx6";
this.comboBoxEx6.Size = new System.Drawing.Size(248, 23);
this.comboBoxEx6.Size = new System.Drawing.Size(248, 22);
this.comboBoxEx6.TabIndex = 51;
this.comboBoxEx6.WatermarkText = "using default";
//
@ -1344,6 +1351,7 @@ namespace VEPROMS
//
// superTooltip1
//
this.superTooltip1.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray);
this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
//
// ppGpbxUserSpecCB
@ -1360,6 +1368,7 @@ namespace VEPROMS
this.ppGpbxUserSpecCB.Controls.Add(this.ppLblChgBarPosDefault);
this.ppGpbxUserSpecCB.Controls.Add(this.ppCmbxChgBarPos);
this.ppGpbxUserSpecCB.Controls.Add(this.ppLblChgBarTxtTypeDefault);
this.ppGpbxUserSpecCB.DisabledBackColor = System.Drawing.Color.Empty;
this.ppGpbxUserSpecCB.Location = new System.Drawing.Point(12, 151);
this.ppGpbxUserSpecCB.Name = "ppGpbxUserSpecCB";
this.ppGpbxUserSpecCB.Size = new System.Drawing.Size(622, 167);
@ -1378,7 +1387,6 @@ namespace VEPROMS
this.ppGpbxUserSpecCB.Style.BorderRightWidth = 1;
this.ppGpbxUserSpecCB.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUserSpecCB.Style.BorderTopWidth = 1;
this.ppGpbxUserSpecCB.Style.Class = "";
this.ppGpbxUserSpecCB.Style.CornerDiameter = 4;
this.ppGpbxUserSpecCB.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGpbxUserSpecCB.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
@ -1387,12 +1395,10 @@ namespace VEPROMS
//
//
//
this.ppGpbxUserSpecCB.StyleMouseDown.Class = "";
this.ppGpbxUserSpecCB.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGpbxUserSpecCB.StyleMouseOver.Class = "";
this.ppGpbxUserSpecCB.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.superTooltip1.SetSuperTooltip(this.ppGpbxUserSpecCB, new DevComponents.DotNetBar.SuperTooltipInfo("Custom Change Bar Settings", "", resources.GetString("ppGpbxUserSpecCB.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(230, 155)));
this.ppGpbxUserSpecCB.TabIndex = 54;
@ -1412,6 +1418,7 @@ namespace VEPROMS
this.ppGpbxUserSpecTxt.Controls.Add(this.label5);
this.ppGpbxUserSpecTxt.Controls.Add(this.ppTxbxChangeBarUserMsgOne);
this.ppGpbxUserSpecTxt.Controls.Add(this.ppLblChgBarUserMsgTwoDefault);
this.ppGpbxUserSpecTxt.DisabledBackColor = System.Drawing.Color.Empty;
this.ppGpbxUserSpecTxt.Location = new System.Drawing.Point(346, 9);
this.ppGpbxUserSpecTxt.Name = "ppGpbxUserSpecTxt";
this.ppGpbxUserSpecTxt.Size = new System.Drawing.Size(260, 130);
@ -1430,7 +1437,6 @@ namespace VEPROMS
this.ppGpbxUserSpecTxt.Style.BorderRightWidth = 1;
this.ppGpbxUserSpecTxt.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGpbxUserSpecTxt.Style.BorderTopWidth = 1;
this.ppGpbxUserSpecTxt.Style.Class = "";
this.ppGpbxUserSpecTxt.Style.CornerDiameter = 4;
this.ppGpbxUserSpecTxt.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGpbxUserSpecTxt.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
@ -1439,12 +1445,10 @@ namespace VEPROMS
//
//
//
this.ppGpbxUserSpecTxt.StyleMouseDown.Class = "";
this.ppGpbxUserSpecTxt.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGpbxUserSpecTxt.StyleMouseOver.Class = "";
this.ppGpbxUserSpecTxt.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppGpbxUserSpecTxt.TabIndex = 56;
this.ppGpbxUserSpecTxt.Text = "Custom Change Bar Message";
@ -1525,6 +1529,7 @@ namespace VEPROMS
//
// tcpGeneral
//
this.tcpGeneral.Controls.Add(this.cbEnhanced);
this.tcpGeneral.Controls.Add(this.ppProcNumStpRTB);
this.tcpGeneral.Controls.Add(this.ppProcTitleStpRTB);
this.tcpGeneral.Controls.Add(this.ppDtTmLastApprv);
@ -1535,6 +1540,7 @@ namespace VEPROMS
this.tcpGeneral.Controls.Add(this.label4);
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
this.tcpGeneral.Controls.Add(this.label21);
this.tcpGeneral.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpGeneral.Location = new System.Drawing.Point(0, 24);
this.tcpGeneral.Name = "tcpGeneral";
@ -1553,19 +1559,28 @@ namespace VEPROMS
//
// ppProcNumStpRTB
//
this.ppProcNumStpRTB.ActiveMode = false;
this.ppProcNumStpRTB.AdjustSize = new System.Drawing.Size(0, 0);
this.ppProcNumStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.ppProcNumStpRTB.CheckAbove = "|?????????";
this.ppProcNumStpRTB.CheckBelow = "|?";
this.ppProcNumStpRTB.CheckLeft = "-?????????";
this.ppProcNumStpRTB.CheckRight = "-??";
this.ppProcNumStpRTB.Closed = false;
this.ppProcNumStpRTB.ContentsRectangle = new System.Drawing.Rectangle(89, 29, 149, 16);
this.ppProcNumStpRTB.FieldToEdit = Volian.Controls.Library.E_FieldToEdit.StepText;
this.ppProcNumStpRTB.DetectUrls = false;
this.ppProcNumStpRTB.EditMode = true;
this.ppProcNumStpRTB.FieldToEdit = VEPROMS.CSLA.Library.E_FieldToEdit.StepText;
this.ppProcNumStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
this.ppProcNumStpRTB.IsExperimenting = false;
this.ppProcNumStpRTB.LastRtf = "";
this.ppProcNumStpRTB.Location = new System.Drawing.Point(89, 29);
this.ppProcNumStpRTB.MyClassName = "RichEdit20W";
this.ppProcNumStpRTB.MyItemInfo = null;
this.ppProcNumStpRTB.MyLinkText = null;
this.ppProcNumStpRTB.Name = "ppProcNumStpRTB";
this.ppProcNumStpRTB.OrigDisplayText = null;
this.ppProcNumStpRTB.OrigRTF = null;
this.ppProcNumStpRTB.ProcessKeystrokes = true;
this.ppProcNumStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks;
this.ppProcNumStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
@ -1579,20 +1594,29 @@ namespace VEPROMS
//
// ppProcTitleStpRTB
//
this.ppProcTitleStpRTB.ActiveMode = false;
this.ppProcTitleStpRTB.AdjustSize = new System.Drawing.Size(0, 0);
this.ppProcTitleStpRTB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.ppProcTitleStpRTB.CheckAbove = "|?????????";
this.ppProcTitleStpRTB.CheckBelow = "|?";
this.ppProcTitleStpRTB.CheckLeft = "-?????????";
this.ppProcTitleStpRTB.CheckRight = "-??";
this.ppProcTitleStpRTB.Closed = false;
this.ppProcTitleStpRTB.ContentsRectangle = new System.Drawing.Rectangle(89, 65, 535, 16);
this.ppProcTitleStpRTB.FieldToEdit = Volian.Controls.Library.E_FieldToEdit.StepText;
this.ppProcTitleStpRTB.DetectUrls = false;
this.ppProcTitleStpRTB.EditMode = true;
this.ppProcTitleStpRTB.FieldToEdit = VEPROMS.CSLA.Library.E_FieldToEdit.StepText;
this.ppProcTitleStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
this.ppProcTitleStpRTB.IsExperimenting = false;
this.ppProcTitleStpRTB.LastRtf = "";
this.ppProcTitleStpRTB.Location = new System.Drawing.Point(89, 65);
this.ppProcTitleStpRTB.MinimumSize = new System.Drawing.Size(539, 59);
this.ppProcTitleStpRTB.MyClassName = "RichEdit20W";
this.ppProcTitleStpRTB.MyItemInfo = null;
this.ppProcTitleStpRTB.MyLinkText = null;
this.ppProcTitleStpRTB.Name = "ppProcTitleStpRTB";
this.ppProcTitleStpRTB.OrigDisplayText = null;
this.ppProcTitleStpRTB.OrigRTF = null;
this.ppProcTitleStpRTB.ProcessKeystrokes = true;
this.ppProcTitleStpRTB.RTBRangeStatus = Volian.Controls.Library.StepRTB.RangeStatus.NoContainedLinks;
this.ppProcTitleStpRTB.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
@ -1620,6 +1644,7 @@ namespace VEPROMS
this.tcpOutputSettings.Controls.Add(this.ppLblWatermarkDefault);
this.tcpOutputSettings.Controls.Add(this.ppBtnDefWatermark);
this.tcpOutputSettings.Controls.Add(this.ppCmbxWatermark);
this.tcpOutputSettings.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpOutputSettings.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpOutputSettings.Location = new System.Drawing.Point(0, 24);
this.tcpOutputSettings.Name = "tcpOutputSettings";
@ -1649,6 +1674,7 @@ namespace VEPROMS
this.ppGrpbxPrnAdj.Controls.Add(this.ppNumUpDwnOverdPrnPenBoldWidth);
this.ppGrpbxPrnAdj.Controls.Add(this.label41);
this.ppGrpbxPrnAdj.Controls.Add(this.ppNumUpDwnOvrdPrnPenULineWidth);
this.ppGrpbxPrnAdj.DisabledBackColor = System.Drawing.Color.Empty;
this.ppGrpbxPrnAdj.Location = new System.Drawing.Point(15, 120);
this.ppGrpbxPrnAdj.Name = "ppGrpbxPrnAdj";
this.ppGrpbxPrnAdj.Size = new System.Drawing.Size(642, 114);
@ -1667,7 +1693,6 @@ namespace VEPROMS
this.ppGrpbxPrnAdj.Style.BorderRightWidth = 1;
this.ppGrpbxPrnAdj.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.ppGrpbxPrnAdj.Style.BorderTopWidth = 1;
this.ppGrpbxPrnAdj.Style.Class = "";
this.ppGrpbxPrnAdj.Style.CornerDiameter = 4;
this.ppGrpbxPrnAdj.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.ppGrpbxPrnAdj.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
@ -1676,12 +1701,10 @@ namespace VEPROMS
//
//
//
this.ppGrpbxPrnAdj.StyleMouseDown.Class = "";
this.ppGrpbxPrnAdj.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ppGrpbxPrnAdj.StyleMouseOver.Class = "";
this.ppGrpbxPrnAdj.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppGrpbxPrnAdj.TabIndex = 65;
this.ppGrpbxPrnAdj.Text = "Output Adjustments";
@ -1709,6 +1732,7 @@ namespace VEPROMS
this.tcpFormatSettings.Controls.Add(this.ppLblFormatDefault);
this.tcpFormatSettings.Controls.Add(this.ppLblStpEditorColsDefault);
this.tcpFormatSettings.Controls.Add(this.ppLblChangeBarTypeDefault);
this.tcpFormatSettings.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpFormatSettings.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpFormatSettings.Location = new System.Drawing.Point(0, 24);
this.tcpFormatSettings.Name = "tcpFormatSettings";
@ -1744,10 +1768,11 @@ namespace VEPROMS
this.ppCmbxStpEditorCols.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxStpEditorCols.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxStpEditorCols.FormattingEnabled = true;
this.ppCmbxStpEditorCols.ItemHeight = 16;
this.ppCmbxStpEditorCols.Location = new System.Drawing.Point(164, 96);
this.ppCmbxStpEditorCols.Name = "ppCmbxStpEditorCols";
this.ppCmbxStpEditorCols.PreventEnterBeep = true;
this.ppCmbxStpEditorCols.Size = new System.Drawing.Size(143, 23);
this.ppCmbxStpEditorCols.Size = new System.Drawing.Size(143, 22);
this.ppCmbxStpEditorCols.TabIndex = 22;
this.ppCmbxStpEditorCols.WatermarkText = "select column mode";
this.ppCmbxStpEditorCols.SelectedValueChanged += new System.EventHandler(this.ppCmbxStpEditorCols_SelectedValueChanged);
@ -1787,6 +1812,7 @@ namespace VEPROMS
this.tabControlPanel4.Controls.Add(this.ppCbProcView);
this.tabControlPanel4.Controls.Add(this.ppCbDeviationView);
this.tabControlPanel4.Controls.Add(this.ppCbBackView);
this.tabControlPanel4.DisabledBackColor = System.Drawing.Color.Empty;
this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel4.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel4.Name = "tabControlPanel4";
@ -1808,6 +1834,17 @@ namespace VEPROMS
this.tiViewStngs.Name = "tiViewStngs";
this.tiViewStngs.Text = "View Settings";
//
// cbEnhanced
//
this.cbEnhanced.AutoSize = true;
this.cbEnhanced.BackColor = System.Drawing.Color.Transparent;
this.cbEnhanced.Location = new System.Drawing.Point(37, 220);
this.cbEnhanced.Name = "cbEnhanced";
this.cbEnhanced.Size = new System.Drawing.Size(140, 21);
this.cbEnhanced.TabIndex = 57;
this.cbEnhanced.Text = "Create Enhanced";
this.cbEnhanced.UseVisualStyleBackColor = false;
//
// frmProcedureProperties
//
this.AcceptButton = this.ppBtnOK;
@ -1996,5 +2033,6 @@ namespace VEPROMS
private System.Windows.Forms.Label ppLblStpEditorColsDefault;
private System.Windows.Forms.Label label43;
private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxStpEditorCols;
private System.Windows.Forms.CheckBox cbEnhanced;
}
}

View File

@ -71,6 +71,7 @@ namespace VEPROMS
_ProcedureConfig.MyProcedure.Save().Dispose();
SaveText(ppProcTitleStpRTB);
SaveText(ppProcNumStpRTB);
_ProcedureConfig.MyProcedure.MyProcedureInfo.CreateEnhanced = cbEnhanced.Checked;
DialogResult = DialogResult.OK;
this.Close();
}
@ -90,6 +91,7 @@ namespace VEPROMS
private void ppBtnCancel_Click(object sender, EventArgs e)
{
procedureConfigBindingSource.CancelEdit();
_ProcedureConfig.MyProcedure.MyProcedureInfo.CreateEnhanced = false;
this.DialogResult = DialogResult.Cancel;
this.Close();
}
@ -210,6 +212,19 @@ namespace VEPROMS
ppCmbxStpEditorCols.ValueMember = "EValue";
ppCmbxStpEditorCols.SelectedIndex = -1;
// if the associated DocVersion has Enhanced, make the Enhanced checkbox visible
cbEnhanced.Visible = false;
DocVersionConfig dvc = _ProcedureConfig.MyProcedure.MyProcedureInfo.MyDocVersion.MyConfig as DocVersionConfig;
if (dvc != null && dvc.MyEnhancedDocuments != null && dvc.MyEnhancedDocuments.Count > 0)
{
if (dvc.MyEnhancedDocuments.Count > 1 || dvc.MyEnhancedDocuments[0].Type != 0)
{
cbEnhanced.Visible = true;
// if this procedure has enhanced data, the checkbox should not be editable:
cbEnhanced.Enabled = !(_ProcedureConfig.MyEnhancedDocuments != null && _ProcedureConfig.MyEnhancedDocuments.Count > 0);
cbEnhanced.Checked = (_ProcedureConfig.MyEnhancedDocuments != null && _ProcedureConfig.MyEnhancedDocuments.Count > 0);
}
}
_Initializing = false;
}

View File

@ -91,6 +91,15 @@ 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.grpLnkEnh = new DevComponents.DotNetBar.Controls.GroupPanel();
this.rbEnhLnkContents = new System.Windows.Forms.RadioButton();
this.rbEnhLnkTitle = new System.Windows.Forms.RadioButton();
this.rbEnhLnkNo = new System.Windows.Forms.RadioButton();
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.tcpFormat = new DevComponents.DotNetBar.TabControlPanel();
this.cbKeepWordDocMargins = new System.Windows.Forms.CheckBox();
this.rbWordSect = new DevComponents.DotNetBar.Controls.CheckBoxX();
@ -99,12 +108,6 @@ namespace VEPROMS
this.tiFormat = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpLibDoc = new DevComponents.DotNetBar.TabControlPanel();
this.tiLibDoc = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpAutomation = new DevComponents.DotNetBar.TabControlPanel();
this.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.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel();
this.tiViewStnns = new DevComponents.DotNetBar.TabItem(this.components);
this.checkBoxX1 = new DevComponents.DotNetBar.Controls.CheckBoxX();
@ -113,10 +116,11 @@ namespace VEPROMS
((System.ComponentModel.ISupportInitialize)(this.tcSectionProp)).BeginInit();
this.tcSectionProp.SuspendLayout();
this.tcpGeneral.SuspendLayout();
this.tcpAutomation.SuspendLayout();
this.grpLnkEnh.SuspendLayout();
this.tcpFormat.SuspendLayout();
this.ppGpbxSignoffCheckoff.SuspendLayout();
this.tcpLibDoc.SuspendLayout();
this.tcpAutomation.SuspendLayout();
this.tabControlPanel4.SuspendLayout();
this.SuspendLayout();
//
@ -193,10 +197,11 @@ namespace VEPROMS
this.ppCmbxSectPagination.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxSectPagination.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxSectPagination.FormattingEnabled = true;
this.ppCmbxSectPagination.ItemHeight = 16;
this.ppCmbxSectPagination.Location = new System.Drawing.Point(101, 166);
this.ppCmbxSectPagination.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxSectPagination.Name = "ppCmbxSectPagination";
this.ppCmbxSectPagination.Size = new System.Drawing.Size(173, 23);
this.ppCmbxSectPagination.Size = new System.Drawing.Size(173, 22);
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)));
this.ppCmbxSectPagination.TabIndex = 25;
this.ppCmbxSectPagination.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -211,10 +216,11 @@ namespace VEPROMS
this.ppCmbxStyleSectionType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxStyleSectionType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxStyleSectionType.FormattingEnabled = true;
this.ppCmbxStyleSectionType.ItemHeight = 16;
this.ppCmbxStyleSectionType.Location = new System.Drawing.Point(112, 110);
this.ppCmbxStyleSectionType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxStyleSectionType.Name = "ppCmbxStyleSectionType";
this.ppCmbxStyleSectionType.Size = new System.Drawing.Size(509, 23);
this.ppCmbxStyleSectionType.Size = new System.Drawing.Size(509, 22);
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;
@ -246,10 +252,11 @@ namespace VEPROMS
this.ppCmbxFormat.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxFormat.FormattingEnabled = true;
this.ppCmbxFormat.ItemHeight = 16;
this.ppCmbxFormat.Location = new System.Drawing.Point(13, 22);
this.ppCmbxFormat.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxFormat.Name = "ppCmbxFormat";
this.ppCmbxFormat.Size = new System.Drawing.Size(608, 23);
this.ppCmbxFormat.Size = new System.Drawing.Size(608, 22);
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)));
@ -281,10 +288,11 @@ namespace VEPROMS
this.ppCmbxCheckoffHeading.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxCheckoffHeading.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxCheckoffHeading.FormattingEnabled = true;
this.ppCmbxCheckoffHeading.ItemHeight = 16;
this.ppCmbxCheckoffHeading.Location = new System.Drawing.Point(12, 86);
this.ppCmbxCheckoffHeading.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxCheckoffHeading.Name = "ppCmbxCheckoffHeading";
this.ppCmbxCheckoffHeading.Size = new System.Drawing.Size(253, 23);
this.ppCmbxCheckoffHeading.Size = new System.Drawing.Size(253, 22);
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));
this.ppCmbxCheckoffHeading.TabIndex = 30;
this.ppCmbxCheckoffHeading.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -297,10 +305,11 @@ namespace VEPROMS
this.ppCmbxCheckoffType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxCheckoffType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxCheckoffType.FormattingEnabled = true;
this.ppCmbxCheckoffType.ItemHeight = 16;
this.ppCmbxCheckoffType.Location = new System.Drawing.Point(12, 34);
this.ppCmbxCheckoffType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxCheckoffType.Name = "ppCmbxCheckoffType";
this.ppCmbxCheckoffType.Size = new System.Drawing.Size(253, 23);
this.ppCmbxCheckoffType.Size = new System.Drawing.Size(253, 22);
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" +
"at.\r\n\r\nThis is considered a default and it can be overridden in the step editor." +
"", null, null, DevComponents.DotNetBar.eTooltipColor.System));
@ -387,10 +396,11 @@ namespace VEPROMS
this.ppCmbxLibDoc.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxLibDoc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxLibDoc.FormattingEnabled = true;
this.ppCmbxLibDoc.ItemHeight = 16;
this.ppCmbxLibDoc.Location = new System.Drawing.Point(24, 30);
this.ppCmbxLibDoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxLibDoc.Name = "ppCmbxLibDoc";
this.ppCmbxLibDoc.Size = new System.Drawing.Size(569, 23);
this.ppCmbxLibDoc.Size = new System.Drawing.Size(569, 22);
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)));
this.ppCmbxLibDoc.TabIndex = 40;
this.ppCmbxLibDoc.WatermarkText = "no library document selected";
@ -474,7 +484,7 @@ 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(811, 454);
this.ppBtnCancel.Location = new System.Drawing.Point(802, 455);
this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnCancel.Name = "ppBtnCancel";
this.ppBtnCancel.Size = new System.Drawing.Size(75, 26);
@ -486,7 +496,7 @@ 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(730, 454);
this.ppBtnOK.Location = new System.Drawing.Point(721, 455);
this.ppBtnOK.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnOK.Name = "ppBtnOK";
this.ppBtnOK.Size = new System.Drawing.Size(75, 26);
@ -500,7 +510,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(12, 437);
this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(10, 436);
this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo";
this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(205, 17);
this.ppLblDefSettingsInfo.TabIndex = 25;
@ -513,7 +523,7 @@ namespace VEPROMS
//
//
this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppCbShwDefSettings.Location = new System.Drawing.Point(15, 487);
this.ppCbShwDefSettings.Location = new System.Drawing.Point(15, 505);
this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbShwDefSettings.Name = "ppCbShwDefSettings";
this.ppCbShwDefSettings.Size = new System.Drawing.Size(193, 27);
@ -608,6 +618,7 @@ namespace VEPROMS
//
// superTooltip1
//
this.superTooltip1.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray);
this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
//
// ppCmbxNumColumns
@ -617,10 +628,11 @@ namespace VEPROMS
this.ppCmbxNumColumns.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ppCmbxNumColumns.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ppCmbxNumColumns.FormattingEnabled = true;
this.ppCmbxNumColumns.ItemHeight = 16;
this.ppCmbxNumColumns.Location = new System.Drawing.Point(103, 226);
this.ppCmbxNumColumns.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCmbxNumColumns.Name = "ppCmbxNumColumns";
this.ppCmbxNumColumns.Size = new System.Drawing.Size(121, 23);
this.ppCmbxNumColumns.Size = new System.Drawing.Size(121, 22);
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" +
"lumns for this section", null, null, DevComponents.DotNetBar.eTooltipColor.System, true, true, new System.Drawing.Size(175, 130)));
this.ppCmbxNumColumns.TabIndex = 27;
@ -772,12 +784,12 @@ namespace VEPROMS
this.tcSectionProp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.tcSectionProp.BackColor = System.Drawing.Color.Transparent;
this.tcSectionProp.CanReorderTabs = true;
this.tcSectionProp.Controls.Add(this.tcpFormat);
this.tcSectionProp.Controls.Add(this.tcpGeneral);
this.tcSectionProp.Controls.Add(this.tcpLibDoc);
this.tcSectionProp.Controls.Add(this.tcpAutomation);
this.tcSectionProp.Controls.Add(this.tcpFormat);
this.tcSectionProp.Controls.Add(this.tcpLibDoc);
this.tcSectionProp.Controls.Add(this.tabControlPanel4);
this.tcSectionProp.Location = new System.Drawing.Point(221, 10);
this.tcSectionProp.Location = new System.Drawing.Point(225, 10);
this.tcSectionProp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcSectionProp.Name = "tcSectionProp";
this.tcSectionProp.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold);
@ -806,6 +818,7 @@ namespace VEPROMS
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
this.tcpGeneral.Controls.Add(this.lblUserID);
this.tcpGeneral.Controls.Add(this.lblLastModDate);
this.tcpGeneral.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpGeneral.Location = new System.Drawing.Point(0, 24);
this.tcpGeneral.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
@ -874,8 +887,10 @@ namespace VEPROMS
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.FieldToEdit = VEPROMS.CSLA.Library.E_FieldToEdit.StepText;
this.ppSectNumberStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
this.ppSectNumberStpRTB.ImageWidth = 0;
this.ppSectNumberStpRTB.IsExperimenting = false;
this.ppSectNumberStpRTB.LastRtf = "";
this.ppSectNumberStpRTB.Location = new System.Drawing.Point(85, 12);
this.ppSectNumberStpRTB.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
@ -910,8 +925,10 @@ namespace VEPROMS
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.FieldToEdit = VEPROMS.CSLA.Library.E_FieldToEdit.StepText;
this.ppSectTitleStpRTB.FormatFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F);
this.ppSectTitleStpRTB.ImageWidth = 0;
this.ppSectTitleStpRTB.IsExperimenting = false;
this.ppSectTitleStpRTB.LastRtf = "";
this.ppSectTitleStpRTB.Location = new System.Drawing.Point(85, 60);
this.ppSectTitleStpRTB.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
@ -939,6 +956,156 @@ namespace VEPROMS
this.tiGeneral.Name = "tiGeneral";
this.tiGeneral.Text = "General";
//
// tcpAutomation
//
this.tcpAutomation.Controls.Add(this.grpLnkEnh);
this.tcpAutomation.Controls.Add(this.ppCbPhoneList);
this.tcpAutomation.Controls.Add(this.ppCbPlaceKeeper);
this.tcpAutomation.Controls.Add(this.ppCbIncTOC);
this.tcpAutomation.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpAutomation.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpAutomation.Location = new System.Drawing.Point(0, 24);
this.tcpAutomation.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpAutomation.Name = "tcpAutomation";
this.tcpAutomation.Padding = new System.Windows.Forms.Padding(1);
this.tcpAutomation.Size = new System.Drawing.Size(695, 394);
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;
//
// grpLnkEnh
//
this.grpLnkEnh.BackColor = System.Drawing.Color.Transparent;
this.grpLnkEnh.CanvasColor = System.Drawing.SystemColors.Control;
this.grpLnkEnh.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.grpLnkEnh.Controls.Add(this.rbEnhLnkContents);
this.grpLnkEnh.Controls.Add(this.rbEnhLnkTitle);
this.grpLnkEnh.Controls.Add(this.rbEnhLnkNo);
this.grpLnkEnh.DisabledBackColor = System.Drawing.Color.Empty;
this.grpLnkEnh.Location = new System.Drawing.Point(24, 130);
this.grpLnkEnh.Name = "grpLnkEnh";
this.grpLnkEnh.Size = new System.Drawing.Size(200, 123);
//
//
//
this.grpLnkEnh.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.grpLnkEnh.Style.BackColorGradientAngle = 90;
this.grpLnkEnh.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.grpLnkEnh.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.grpLnkEnh.Style.BorderBottomWidth = 1;
this.grpLnkEnh.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.grpLnkEnh.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.grpLnkEnh.Style.BorderLeftWidth = 1;
this.grpLnkEnh.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.grpLnkEnh.Style.BorderRightWidth = 1;
this.grpLnkEnh.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.grpLnkEnh.Style.BorderTopWidth = 1;
this.grpLnkEnh.Style.CornerDiameter = 4;
this.grpLnkEnh.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.grpLnkEnh.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.grpLnkEnh.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.grpLnkEnh.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.grpLnkEnh.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.grpLnkEnh.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.grpLnkEnh.TabIndex = 53;
this.grpLnkEnh.Text = "Link Enhanced:";
//
// rbEnhLnkContents
//
this.rbEnhLnkContents.AutoSize = true;
this.rbEnhLnkContents.BackColor = System.Drawing.Color.Transparent;
this.rbEnhLnkContents.Location = new System.Drawing.Point(14, 63);
this.rbEnhLnkContents.Name = "rbEnhLnkContents";
this.rbEnhLnkContents.Size = new System.Drawing.Size(85, 21);
this.rbEnhLnkContents.TabIndex = 2;
this.rbEnhLnkContents.TabStop = true;
this.rbEnhLnkContents.Text = "Contents";
this.rbEnhLnkContents.UseVisualStyleBackColor = false;
//
// rbEnhLnkTitle
//
this.rbEnhLnkTitle.AutoSize = true;
this.rbEnhLnkTitle.BackColor = System.Drawing.Color.Transparent;
this.rbEnhLnkTitle.Location = new System.Drawing.Point(15, 36);
this.rbEnhLnkTitle.Name = "rbEnhLnkTitle";
this.rbEnhLnkTitle.Size = new System.Drawing.Size(56, 21);
this.rbEnhLnkTitle.TabIndex = 1;
this.rbEnhLnkTitle.TabStop = true;
this.rbEnhLnkTitle.Text = "Title";
this.rbEnhLnkTitle.UseVisualStyleBackColor = false;
//
// rbEnhLnkNo
//
this.rbEnhLnkNo.AutoSize = true;
this.rbEnhLnkNo.BackColor = System.Drawing.Color.Transparent;
this.rbEnhLnkNo.Location = new System.Drawing.Point(15, 10);
this.rbEnhLnkNo.Name = "rbEnhLnkNo";
this.rbEnhLnkNo.Size = new System.Drawing.Size(47, 21);
this.rbEnhLnkNo.TabIndex = 0;
this.rbEnhLnkNo.TabStop = true;
this.rbEnhLnkNo.Text = "No";
this.rbEnhLnkNo.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(24, 76);
this.ppCbPhoneList.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbPhoneList.Name = "ppCbPhoneList";
this.ppCbPhoneList.Size = new System.Drawing.Size(184, 21);
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(24, 50);
this.ppCbPlaceKeeper.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbPlaceKeeper.Name = "ppCbPlaceKeeper";
this.ppCbPlaceKeeper.Size = new System.Drawing.Size(173, 21);
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(24, 25);
this.ppCbIncTOC.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbIncTOC.Name = "ppCbIncTOC";
this.ppCbIncTOC.Size = new System.Drawing.Size(214, 21);
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";
//
// tcpFormat
//
this.tcpFormat.Controls.Add(this.ppCbDefaultStepSection);
@ -960,6 +1127,7 @@ namespace VEPROMS
this.tcpFormat.Controls.Add(this.ppBtnDefaultFmt);
this.tcpFormat.Controls.Add(this.ppCmbxFormat);
this.tcpFormat.Controls.Add(this.ppLblFormatDefault);
this.tcpFormat.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpFormat.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpFormat.Location = new System.Drawing.Point(0, 24);
this.tcpFormat.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
@ -985,7 +1153,7 @@ namespace VEPROMS
this.cbKeepWordDocMargins.Location = new System.Drawing.Point(19, 359);
this.cbKeepWordDocMargins.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.cbKeepWordDocMargins.Name = "cbKeepWordDocMargins";
this.cbKeepWordDocMargins.Size = new System.Drawing.Size(223, 21);
this.cbKeepWordDocMargins.Size = new System.Drawing.Size(329, 21);
this.cbKeepWordDocMargins.TabIndex = 59;
this.cbKeepWordDocMargins.Text = "Keep Word Document Margins (and Page Size)";
this.cbKeepWordDocMargins.UseVisualStyleBackColor = false;
@ -1042,6 +1210,7 @@ namespace VEPROMS
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffType);
this.ppGpbxSignoffCheckoff.Controls.Add(this.ppCmbxCheckoffType);
this.ppGpbxSignoffCheckoff.Controls.Add(this.lblCheckoffHeading);
this.ppGpbxSignoffCheckoff.DisabledBackColor = System.Drawing.Color.Empty;
this.ppGpbxSignoffCheckoff.Location = new System.Drawing.Point(363, 151);
this.ppGpbxSignoffCheckoff.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppGpbxSignoffCheckoff.Name = "ppGpbxSignoffCheckoff";
@ -1088,6 +1257,7 @@ namespace VEPROMS
this.tcpLibDoc.Controls.Add(this.ppBtnCvrtToLibDoc);
this.tcpLibDoc.Controls.Add(this.lblLibraryDocument);
this.tcpLibDoc.Controls.Add(this.ppCmbxLibDoc);
this.tcpLibDoc.DisabledBackColor = System.Drawing.Color.Empty;
this.tcpLibDoc.Dock = System.Windows.Forms.DockStyle.Fill;
this.tcpLibDoc.Location = new System.Drawing.Point(0, 24);
this.tcpLibDoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
@ -1110,89 +1280,6 @@ namespace VEPROMS
this.tiLibDoc.Name = "tiLibDoc";
this.tiLibDoc.Text = "Library Document";
//
// 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, 24);
this.tcpAutomation.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tcpAutomation.Name = "tcpAutomation";
this.tcpAutomation.Padding = new System.Windows.Forms.Padding(1);
this.tcpAutomation.Size = new System.Drawing.Size(695, 394);
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(20, 25);
this.ppCbLinkWithEnhancedDoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbLinkWithEnhancedDoc.Name = "ppCbLinkWithEnhancedDoc";
this.ppCbLinkWithEnhancedDoc.Size = new System.Drawing.Size(224, 21);
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(20, 100);
this.ppCbPhoneList.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbPhoneList.Name = "ppCbPhoneList";
this.ppCbPhoneList.Size = new System.Drawing.Size(184, 21);
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(20, 74);
this.ppCbPlaceKeeper.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbPlaceKeeper.Name = "ppCbPlaceKeeper";
this.ppCbPlaceKeeper.Size = new System.Drawing.Size(173, 21);
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(20, 49);
this.ppCbIncTOC.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbIncTOC.Name = "ppCbIncTOC";
this.ppCbIncTOC.Size = new System.Drawing.Size(214, 21);
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";
//
// tabControlPanel4
//
this.tabControlPanel4.Controls.Add(this.ppCkLstApplicabilityDesinations);
@ -1200,6 +1287,7 @@ namespace VEPROMS
this.tabControlPanel4.Controls.Add(this.ppCbProcView);
this.tabControlPanel4.Controls.Add(this.ppCbBackView);
this.tabControlPanel4.Controls.Add(this.ppCbDeviationView);
this.tabControlPanel4.DisabledBackColor = System.Drawing.Color.Empty;
this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel4.Location = new System.Drawing.Point(0, 24);
this.tabControlPanel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
@ -1229,7 +1317,7 @@ namespace VEPROMS
//
//
this.checkBoxX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.checkBoxX1.Location = new System.Drawing.Point(15, 456);
this.checkBoxX1.Location = new System.Drawing.Point(13, 455);
this.checkBoxX1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.checkBoxX1.Name = "checkBoxX1";
this.checkBoxX1.Size = new System.Drawing.Size(193, 27);
@ -1242,7 +1330,7 @@ namespace VEPROMS
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
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(897, 487);
this.ClientSize = new System.Drawing.Size(885, 489);
this.ControlBox = false;
this.Controls.Add(this.tcSectionProp);
this.Controls.Add(this.panSectBtns);
@ -1269,14 +1357,16 @@ namespace VEPROMS
this.tcSectionProp.ResumeLayout(false);
this.tcpGeneral.ResumeLayout(false);
this.tcpGeneral.PerformLayout();
this.tcpAutomation.ResumeLayout(false);
this.tcpAutomation.PerformLayout();
this.grpLnkEnh.ResumeLayout(false);
this.grpLnkEnh.PerformLayout();
this.tcpFormat.ResumeLayout(false);
this.tcpFormat.PerformLayout();
this.ppGpbxSignoffCheckoff.ResumeLayout(false);
this.ppGpbxSignoffCheckoff.PerformLayout();
this.tcpLibDoc.ResumeLayout(false);
this.tcpLibDoc.PerformLayout();
this.tcpAutomation.ResumeLayout(false);
this.tcpAutomation.PerformLayout();
this.tabControlPanel4.ResumeLayout(false);
this.tabControlPanel4.PerformLayout();
this.ResumeLayout(false);
@ -1349,7 +1439,6 @@ namespace VEPROMS
private DevComponents.DotNetBar.TabItem tiAutomation;
private System.Windows.Forms.CheckBox ppCbIncTOC;
private System.Windows.Forms.CheckBox ppCbPlaceKeeper;
private System.Windows.Forms.CheckBox ppCbLinkWithEnhancedDoc;
private DevComponents.DotNetBar.Controls.CheckBoxX rbWordSect;
private DevComponents.DotNetBar.Controls.CheckBoxX rbStepSect;
private DevComponents.DotNetBar.Controls.ComboBoxEx ppCmbxNumColumns;
@ -1364,5 +1453,9 @@ namespace VEPROMS
private System.Windows.Forms.CheckBox ppCbPhoneList;
private DevComponents.DotNetBar.Controls.CheckBoxX checkBoxX1;
private System.Windows.Forms.CheckBox ppCbDefaultStepSection;
private DevComponents.DotNetBar.Controls.GroupPanel grpLnkEnh;
private System.Windows.Forms.RadioButton rbEnhLnkContents;
private System.Windows.Forms.RadioButton rbEnhLnkTitle;
private System.Windows.Forms.RadioButton rbEnhLnkNo;
}
}

View File

@ -149,6 +149,24 @@ namespace VEPROMS
}
}
// Saving of enhanced data: Only need to save if the form_load determined that this may have enhanced & radio type
// boxes were enabled:
if (_isStepSection && checkEnhancedSettings && rbEnhLnkContents.Enabled)
{
// get string that should be used for "LnkEnh"
string type = rbEnhLnkTitle.Checked ? "T" : rbEnhLnkNo.Checked ? "N" : "Y";
if (_SectionConfig.Section_LnkEnh != type)
{
// note that the enhanced section will get created and linked from vlntreeview (to keep the code
// consistent between the way procedures and sections are done).
using (Section ssav = Section.Get(_SectionConfig.MySection.ItemID))
{
ssav.SectionConfig.Section_LnkEnh = type;
ssav.Save();
ItemInfo.Refresh(ssav);
}
}
}
this.DialogResult = DialogResult.OK;
this.Close();
}
@ -249,7 +267,7 @@ namespace VEPROMS
cmbo.WatermarkText = deftext;
}
}
private bool checkEnhancedSettings = false;
private void frmSectionProperties_Load(object sender, EventArgs e)
{
_Initializing = true;
@ -292,7 +310,7 @@ namespace VEPROMS
ppBtnDefaultPaginationStyle.Visible = false;
//Console.WriteLine("{0}, {1}, current pagination", _SectionConfig.MySection.DisplayNumber, ppCmbxSectPagination.SelectedValue);
ppCmbxSectPagination.SelectedValueChanged +=new EventHandler(ppCmbxSectPagination_SelectedValueChanged);
ppCmbxSectPagination.SelectedValueChanged += new EventHandler(ppCmbxSectPagination_SelectedValueChanged);
ppCmbxNumColumns.DataSource = EnumDetail<SectionConfig.SectionColumnMode>.Details();
ppCmbxNumColumns.DisplayMember = "Description";
@ -353,7 +371,7 @@ namespace VEPROMS
// be checked.
ppCbPrnSecNumTitle.Enabled = _isStepSection;//true; // pf.FormatData.SectData.UseMetaSections;
//ppCbPrnSecNumTitle.Checked = ppCbPrnSecNumTitle.Enabled && _SectionConfig.Section_PrintHdr != "N";
ppCbPrnSecNumTitle.Checked = (_isStepSection &&_SectionConfig.Section_PrintHdr != "N");
ppCbPrnSecNumTitle.Checked = (_isStepSection && _SectionConfig.Section_PrintHdr != "N");
ppCbPrnSecNumTitle.Visible = _isStepSection; // only display if we are on a step editor section
// check if format has automated table of contents, if so, check if config flag is set that this
@ -407,6 +425,48 @@ namespace VEPROMS
ppCbDefaultStepSection.Text = "Make this the Default Step Section";
}
// if the parent has enhanced documents (and is not an enhanced document, i.e. the test
// ed.Type != 0 proves that) put up the group panel on the automation tab that allows for setting of
// link types (none, title only, content). The radio buttons are only enabled if the section is
// NEW (determined by the 'LnkEnh' being empty).
if (_isStepSection)
{
ProcedureInfo pi = ProcedureInfo.Get(_SectionConfig.MySection.MySectionInfo.MyProcedure.ItemID);
ProcedureConfig picfg = pi.MyConfig as ProcedureConfig;
bool hasEnh = false;
if (picfg.MyEnhancedDocuments != null && picfg.MyEnhancedDocuments.Count > 0)
{
foreach (EnhancedDocument ed in picfg.MyEnhancedDocuments)
{
if (ed.Type != 0)
{
checkEnhancedSettings = true;
hasEnh = true;
break;
}
}
if (hasEnh)
{
grpLnkEnh.Visible = true;
if (_SectionConfig.Section_LnkEnh == null || _SectionConfig.Section_LnkEnh == "" || _SectionConfig.Section_LnkEnh == "Y")
rbEnhLnkContents.Checked = true;
else if (_SectionConfig.Section_LnkEnh == "N")
rbEnhLnkNo.Checked = true;
else // "T" for title:
rbEnhLnkTitle.Checked = true;
rbEnhLnkContents.Enabled = rbEnhLnkNo.Enabled = rbEnhLnkTitle.Enabled = (_SectionConfig.Section_LnkEnh == null || _SectionConfig.Section_LnkEnh == "");
}
else
grpLnkEnh.Visible = false;
}
else
grpLnkEnh.Visible = false;
}
else
{
// for word docs, no enhanced controls should be visible:
grpLnkEnh.Visible = false;
}
_Initializing = false;
//_InitialIndex = ppCmbxFormat.SelectedIndex;
}

View File

@ -423,6 +423,7 @@ namespace VEPROMS
this.cbEnhancedDocumentSync.Size = new System.Drawing.Size(99, 19);
this.cbEnhancedDocumentSync.TabIndex = 9;
this.cbEnhancedDocumentSync.Text = "Sync Navigation";
this.cbEnhancedDocumentSync.CheckedChanged+=cbEnhancedDocumentSync_CheckedChanged;
//
// groupPanel7
//