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();
@ -296,8 +297,8 @@ namespace VEPROMS
this.ppBtnDefaultChgBar.Name = "ppBtnDefaultChgBar";
this.ppBtnDefaultChgBar.Size = new System.Drawing.Size(50, 23);
this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultChgBar, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", "This will revert the Change Bar selection back to using the parent\'s (default) se" +
"tting.\r\n\r\nCheck \"Show Default Settings\" to display the \"default\" Change Bar (bel" +
"ow the Change Bars selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 145)));
"tting.\r\n\r\nCheck \"Show Default Settings\" to display the \"default\" Change Bar (bel" +
"ow the Change Bars selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 145)));
this.ppBtnDefaultChgBar.TabIndex = 53;
this.ppBtnDefaultChgBar.Text = "Default";
this.ppBtnDefaultChgBar.ThemeAware = true;
@ -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";
@ -326,8 +328,8 @@ namespace VEPROMS
this.ppBtnDefaultFmt.Name = "ppBtnDefaultFmt";
this.ppBtnDefaultFmt.Size = new System.Drawing.Size(50, 23);
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));
" \"Show Default Settings\" to display the \"default\" format name (below the format " +
"selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppBtnDefaultFmt.TabIndex = 21;
this.ppBtnDefaultFmt.Text = "Default";
this.ppBtnDefaultFmt.ThemeAware = true;
@ -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)));
@ -362,7 +365,7 @@ namespace VEPROMS
this.ppLblChangeBarTypeDefault.Name = "ppLblChangeBarTypeDefault";
this.ppLblChangeBarTypeDefault.Size = new System.Drawing.Size(61, 17);
this.superTooltip1.SetSuperTooltip(this.ppLblChangeBarTypeDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Change Bar setting", "", "Pressing the Default Button (to the right)\r\nwill set the Change Bar setting back " +
"to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(270, 70)));
"to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(270, 70)));
this.ppLblChangeBarTypeDefault.TabIndex = 38;
this.ppLblChangeBarTypeDefault.Text = "(default)";
this.ppLblChangeBarTypeDefault.Visible = false;
@ -377,7 +380,7 @@ namespace VEPROMS
this.ppLblFormatDefault.Name = "ppLblFormatDefault";
this.ppLblFormatDefault.Size = new System.Drawing.Size(61, 17);
this.superTooltip1.SetSuperTooltip(this.ppLblFormatDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Format setting", "", "Pressing the Default Button (to the right)\r\nwill set the format setting back to t" +
"his.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(255, 70)));
"his.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(255, 70)));
this.ppLblFormatDefault.TabIndex = 35;
this.ppLblFormatDefault.Text = "(default)";
//
@ -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;
@ -451,7 +456,7 @@ namespace VEPROMS
this.ppLblChgBarTxtTypeDefault.Name = "ppLblChgBarTxtTypeDefault";
this.ppLblChgBarTxtTypeDefault.Size = new System.Drawing.Size(61, 17);
this.superTooltip1.SetSuperTooltip(this.ppLblChgBarTxtTypeDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Custom Change Bar Text Type", "", "Pressing the Default Button (to the right) will set the Cusotom Change Bar Positi" +
"on setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
"on setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
this.ppLblChgBarTxtTypeDefault.TabIndex = 40;
this.ppLblChgBarTxtTypeDefault.Text = "(default)";
//
@ -465,7 +470,7 @@ namespace VEPROMS
this.ppLblChgBarPosDefault.Name = "ppLblChgBarPosDefault";
this.ppLblChgBarPosDefault.Size = new System.Drawing.Size(61, 17);
this.superTooltip1.SetSuperTooltip(this.ppLblChgBarPosDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Custom Change Bar Position", "", "Pressing the Default Button (to the right) will set the Cusotom Change Bar Positi" +
"on setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(300, 80)));
"on setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(300, 80)));
this.ppLblChgBarPosDefault.TabIndex = 39;
this.ppLblChgBarPosDefault.Text = "(default)";
//
@ -506,7 +511,7 @@ namespace VEPROMS
this.ppLblChgBarUserMsgOneDefault.Name = "ppLblChgBarUserMsgOneDefault";
this.ppLblChgBarUserMsgOneDefault.Size = new System.Drawing.Size(61, 17);
this.superTooltip1.SetSuperTooltip(this.ppLblChgBarUserMsgOneDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Custom Message Line One", "", "Pressing the Default Button (to the right) will set the Cusotom Change Bar Messag" +
"e Line One setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
"e Line One setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
this.ppLblChgBarUserMsgOneDefault.TabIndex = 6;
this.ppLblChgBarUserMsgOneDefault.Text = "(default)";
//
@ -528,7 +533,7 @@ namespace VEPROMS
this.ppLblChgBarUserMsgTwoDefault.Name = "ppLblChgBarUserMsgTwoDefault";
this.ppLblChgBarUserMsgTwoDefault.Size = new System.Drawing.Size(61, 17);
this.superTooltip1.SetSuperTooltip(this.ppLblChgBarUserMsgTwoDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Custom Message Line Two", "", "Pressing the Default Button (to the right) will set the Cusotom Change Bar Messag" +
"e Line Two setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
"e Line Two setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
this.ppLblChgBarUserMsgTwoDefault.TabIndex = 7;
this.ppLblChgBarUserMsgTwoDefault.Text = "(default)";
//
@ -707,7 +712,7 @@ namespace VEPROMS
this.ppLblAutoDuplexDefault.Name = "ppLblAutoDuplexDefault";
this.ppLblAutoDuplexDefault.Size = new System.Drawing.Size(86, 17);
this.superTooltip1.SetSuperTooltip(this.ppLblAutoDuplexDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the Automatic Duplex default setting", "", "Pressing the Default Button (to the right)\r\nwill reset the Automatic Duplex setti" +
"ng back\r\nto this default.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
"ng back\r\nto this default.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
this.ppLblAutoDuplexDefault.TabIndex = 62;
this.ppLblAutoDuplexDefault.Text = "(default ON)";
//
@ -720,7 +725,7 @@ namespace VEPROMS
this.ppChbxDisAutoDuplex.Name = "ppChbxDisAutoDuplex";
this.ppChbxDisAutoDuplex.Size = new System.Drawing.Size(209, 21);
this.superTooltip1.SetSuperTooltip(this.ppChbxDisAutoDuplex, new DevComponents.DotNetBar.SuperTooltipInfo("Disable Automatic Duplex", "", "Checking this box will turn OFF the automatic duplexing used in some formats for " +
"Foldout pages.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
"Foldout pages.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
this.ppChbxDisAutoDuplex.TabIndex = 61;
this.ppChbxDisAutoDuplex.TabStop = false;
this.ppChbxDisAutoDuplex.Text = "Disable Automatic Duplexing";
@ -734,8 +739,8 @@ namespace VEPROMS
this.ppBtnDefWatermark.Name = "ppBtnDefWatermark";
this.ppBtnDefWatermark.Size = new System.Drawing.Size(50, 23);
this.superTooltip1.SetSuperTooltip(this.ppBtnDefWatermark, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", "This will revert the watermark selection back to using the parent\'s (default) set" +
"ting.\r\n\r\nCheck \"Show Default Settings\" to display the \"default\" watermark (below" +
" the Watermark selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(255, 145)));
"ting.\r\n\r\nCheck \"Show Default Settings\" to display the \"default\" watermark (below" +
" the Watermark selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(255, 145)));
this.ppBtnDefWatermark.TabIndex = 60;
this.ppBtnDefWatermark.TabStop = false;
this.ppBtnDefWatermark.Text = "Default";
@ -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)));
@ -768,7 +774,7 @@ namespace VEPROMS
this.ppLblWatermarkDefault.Name = "ppLblWatermarkDefault";
this.ppLblWatermarkDefault.Size = new System.Drawing.Size(61, 17);
this.superTooltip1.SetSuperTooltip(this.ppLblWatermarkDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Watermark setting", "", "Pressing the Default Button (to the right)\r\nwill reset the watermark setting back" +
" to \r\nthis default.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
" to \r\nthis default.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0)));
this.ppLblWatermarkDefault.TabIndex = 56;
this.ppLblWatermarkDefault.Text = "(default)";
//
@ -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,13 +1033,12 @@ 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";
this.ppCbShwDefSettings.Size = new System.Drawing.Size(150, 17);
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));
"ection.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
this.ppCbShwDefSettings.TabIndex = 5;
this.ppCbShwDefSettings.Text = "Show Default Settings";
this.ppCbShwDefSettings.CheckedChanged += new System.EventHandler(this.tabpage_Enter);
@ -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";
@ -1501,13 +1505,13 @@ namespace VEPROMS
//
// tcProcProp
//
this.tcProcProp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.tcProcProp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.tcProcProp.BackColor = System.Drawing.Color.Transparent;
this.tcProcProp.CanReorderTabs = true;
this.tcProcProp.Controls.Add(this.tcpGeneral);
this.tcProcProp.Controls.Add(this.tcpOutputSettings);
this.tcProcProp.Controls.Add(this.tcpFormatSettings);
this.tcProcProp.Controls.Add(this.tcpFormatSettings);
this.tcProcProp.Controls.Add(this.tabControlPanel4);
this.tcProcProp.Location = new System.Drawing.Point(180, 7);
this.tcProcProp.Name = "tcProcProp";
@ -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,17 +1540,18 @@ 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";
this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1);
this.tcpGeneral.Size = new System.Drawing.Size(672, 332);
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.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.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;
@ -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,17 +1644,18 @@ 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";
this.tcpOutputSettings.Padding = new System.Windows.Forms.Padding(1);
this.tcpOutputSettings.Size = new System.Drawing.Size(672, 332);
this.tcpOutputSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpOutputSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpOutputSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpOutputSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpOutputSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpOutputSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpOutputSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpOutputSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpOutputSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpOutputSettings.Style.GradientAngle = 90;
this.tcpOutputSettings.TabIndex = 3;
this.tcpOutputSettings.TabItem = this.tiOutputStngs;
@ -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,17 +1732,18 @@ 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";
this.tcpFormatSettings.Padding = new System.Windows.Forms.Padding(1);
this.tcpFormatSettings.Size = new System.Drawing.Size(672, 332);
this.tcpFormatSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpFormatSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpFormatSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
this.tcpFormatSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
this.tcpFormatSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tcpFormatSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpFormatSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpFormatSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tcpFormatSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tcpFormatSettings.Style.GradientAngle = 90;
this.tcpFormatSettings.TabIndex = 2;
this.tcpFormatSettings.TabItem = this.tiFmtStngs;
@ -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,17 +1812,18 @@ 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";
this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel4.Size = new System.Drawing.Size(672, 332);
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.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;
this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel4.Style.GradientAngle = 90;
this.tabControlPanel4.TabIndex = 4;
this.tabControlPanel4.TabItem = this.tiViewStngs;
@ -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;
}

File diff suppressed because it is too large Load Diff

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,12 +267,12 @@ namespace VEPROMS
cmbo.WatermarkText = deftext;
}
}
private bool checkEnhancedSettings = false;
private void frmSectionProperties_Load(object sender, EventArgs e)
{
_Initializing = true;
sectionConfigBindingSource.DataSource = _SectionConfig;
ppCmbxFormat.DataSource = null;
ppCmbxFormat.DisplayMember = "FullName";
ppCmbxFormat.ValueMember = "FullName";
@ -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";
@ -314,7 +332,7 @@ namespace VEPROMS
//ppCmbxAccPgPrintSize.ValueMember = "Evalue";
//ppCmbxAccPgPrintSize.SelectedIndex = -1;
if (!_isStepSection)
if (!_isStepSection)
ppCmbxLibDocFill();
// check type of section from document styles to determine if the stepsection checkbox should
@ -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
@ -391,7 +409,7 @@ namespace VEPROMS
// Handle Default Step Section. First, this checkbox is only visible if it is
// a step section & it is the highest level (top, right below procedures).
ppCbDefaultStepSection.Visible = false;
if (_isStepSection && _SectionConfig.MySection.MySectionInfo.MyParent.IsProcedure)
if (_isStepSection && _SectionConfig.MySection.MySectionInfo.MyParent.IsProcedure)
{
ppCbDefaultStepSection.Visible = true;
ppCbDefaultStepSection.Checked = _SectionConfig.Section_OriginalSteps == "Y";
@ -407,8 +425,50 @@ namespace VEPROMS
ppCbDefaultStepSection.Text = "Make this the Default Step Section";
}
_Initializing = false;
//_InitialIndex = ppCmbxFormat.SelectedIndex;
// 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;
}
int _InitialIndex = -2;

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
//