From 7273a8b13b3da589f87670f176262f9f5e5ef92e Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Mon, 27 Apr 2026 15:43:38 -0400 Subject: [PATCH 01/18] Development --- PROMS/VEPROMS User Interface/frmVEPROMS.cs | 1 - .../DisplayApplicability.Designer.cs | 2 +- .../DisplayApplicability.cs | 18 +++++++++++++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 10210c96..d998f451 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -11,7 +11,6 @@ using System.IO; using System.Configuration; using System.Reflection; using VEPROMS.CSLA.Library; -//using Csla; using DevComponents; using DevComponents.DotNetBar; using DevComponents.DotNetBar.Rendering; diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs index cc37fbea..0faa9a92 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs @@ -49,7 +49,7 @@ namespace Volian.Controls.Library this.btnApplicabilitychg.Size = new System.Drawing.Size(80, 22); this.btnApplicabilitychg.Margin = new System.Windows.Forms.Padding(2); this.btnApplicabilitychg.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.superTooltip1.SetSuperTooltip(this.btnApplicabilitychg, new DevComponents.DotNetBar.SuperTooltipInfo("Change applicability settings - All At Level", "", "When clicked, all steps at the level of the current step will have their applicability settings changed. Note that for two column procedures, the left column and right column are handled separately.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.superTooltip1.SetSuperTooltip(this.btnApplicabilitychg, new DevComponents.DotNetBar.SuperTooltipInfo("Change applicability settings - All At Level", "", "When clicked, all sub-steps at that level of the current step will be set to the selected applicability. Note that this button is disabled when on a RNO step type but enabled for sub-step under it.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.btnApplicabilitychg.TabIndex = 0; this.btnApplicabilitychg.Text = "Set All at Level"; this.btnApplicabilitychg.ColorTable = DevComponents.DotNetBar.eButtonColor.BlueOrb; diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.cs index 48b7003e..d5a06001 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.cs @@ -69,6 +69,14 @@ namespace Volian.Controls.Library { MyItemInfo = _MyDisplayTabItem.MyItemInfo; } + if (MyItemInfo.IsRNOPart == true) + { + btnApplicabilitychg.Enabled = false; + } + else + { + btnApplicabilitychg.Enabled = true; + } } } } @@ -390,10 +398,18 @@ namespace Volian.Controls.Library } } } - _MyItemInfo = value; + _MyItemInfo = value; if (_MyItemInfo != null) { if (this.Visible == false) return; + if (_MyItemInfo.IsRNOPart == true) // Check if step is an RNO disable "Set All To Level" button. + { + btnApplicabilitychg.Enabled = false; + } + else + { + btnApplicabilitychg.Enabled = true; + } IItemConfig cfg = _MyItemInfo.MyConfig as IItemConfig; List apples = cfg.MasterSlave_Applicability.GetFlags(); UnwireCheckboxes(true); From b321bc354b5b9d9665c8d5d04ae6f09797a28fa4 Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Tue, 28 Apr 2026 18:09:15 -0400 Subject: [PATCH 02/18] C2026-027-New-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-3 --- PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs | 1 + PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs | 1 + PROMS/Volian.Controls.Library/DisplayApplicability.cs | 1 + 3 files changed, 3 insertions(+) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index 5150df19..6bbb9e0a 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -9241,3 +9241,4 @@ namespace VEPROMS.CSLA.Library Everything = 2 } } + diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs index 0faa9a92..d3f1a844 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs @@ -175,3 +175,4 @@ namespace Volian.Controls.Library } } + diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.cs index d5a06001..77342c37 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.cs @@ -516,3 +516,4 @@ namespace Volian.Controls.Library } } } + From 123b1b08c2071f4094a6f58d8a02d16e49ba48e0 Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Thu, 30 Apr 2026 08:20:41 -0400 Subject: [PATCH 03/18] C2026-027-New-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-3 --- PROMS/VEPROMS User Interface/frmVEPROMS.cs | 1 + PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs | 1 - PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index d998f451..10210c96 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -11,6 +11,7 @@ using System.IO; using System.Configuration; using System.Reflection; using VEPROMS.CSLA.Library; +//using Csla; using DevComponents; using DevComponents.DotNetBar; using DevComponents.DotNetBar.Rendering; diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index 6bbb9e0a..5150df19 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -9241,4 +9241,3 @@ namespace VEPROMS.CSLA.Library Everything = 2 } } - diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs index d3f1a844..cffdd423 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs @@ -49,7 +49,7 @@ namespace Volian.Controls.Library this.btnApplicabilitychg.Size = new System.Drawing.Size(80, 22); this.btnApplicabilitychg.Margin = new System.Windows.Forms.Padding(2); this.btnApplicabilitychg.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.superTooltip1.SetSuperTooltip(this.btnApplicabilitychg, new DevComponents.DotNetBar.SuperTooltipInfo("Change applicability settings - All At Level", "", "When clicked, all sub-steps at that level of the current step will be set to the selected applicability. Note that this button is disabled when on a RNO step type but enabled for sub-step under it.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.superTooltip1.SetSuperTooltip(this.btnApplicabilitychg, new DevComponents.DotNetBar.SuperTooltipInfo("Change applicability settings - All At Level", "", "When clicked, all steps at that level of the current step will be set to the selected applicability. Note that this button is disabled when on a RNO step type but enabled for sub-step under it.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.btnApplicabilitychg.TabIndex = 0; this.btnApplicabilitychg.Text = "Set All at Level"; this.btnApplicabilitychg.ColorTable = DevComponents.DotNetBar.eButtonColor.BlueOrb; From 2a9f2e188dc857d6bde55a56a97f2c3610a7e313 Mon Sep 17 00:00:00 2001 From: mschill Date: Thu, 30 Apr 2026 13:53:02 -0400 Subject: [PATCH 04/18] C2026-015 Set overall Changebar date when approving multi-unit --- PROMS/VEPROMS User Interface/dlgApproveProcedure.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/PROMS/VEPROMS User Interface/dlgApproveProcedure.cs b/PROMS/VEPROMS User Interface/dlgApproveProcedure.cs index cdbfc521..b808b138 100644 --- a/PROMS/VEPROMS User Interface/dlgApproveProcedure.cs +++ b/PROMS/VEPROMS User Interface/dlgApproveProcedure.cs @@ -1478,11 +1478,15 @@ namespace VEPROMS { ProcedureConfig pc = procedureInfo.MyConfig as ProcedureConfig; if (pc == null) return; - pc.SelectedSlave = selectedSlave; + + //C2026-015 set overall change bar date + pc.Print_ChangeBarDate = dts.ToString("MM/dd/yyyy HH:mm:ss"); + + pc.SelectedSlave = selectedSlave; pc.Print_Rev = revNumber; //AppRevDate Change pc.Print_RevDate = revDate.ToString("MM/dd/yyyy"); - pc.Print_ChangeBarDate = dts.ToString("MM/dd/yyyy HH:mm:ss"); + pc.Print_ChangeBarDate = dts.ToString("MM/dd/yyyy HH:mm:ss"); //this is needed to set the changebar date for an indeividual unit also using (Item itm = Item.Get(procedureInfo.ItemID)) { itm.MyContent.Config = pc.ToString(); From 1b1dc785489c337ed833c778db5520f4181299f3 Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Thu, 30 Apr 2026 16:37:10 -0400 Subject: [PATCH 05/18] C2026-027-New-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-4 --- .../DisplayApplicability.cs | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.cs index 77342c37..e68ced7a 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.cs @@ -69,13 +69,16 @@ namespace Volian.Controls.Library { MyItemInfo = _MyDisplayTabItem.MyItemInfo; } - if (MyItemInfo.IsRNOPart == true) + if (MyItemInfo != null) { - btnApplicabilitychg.Enabled = false; - } - else - { - btnApplicabilitychg.Enabled = true; + if (MyItemInfo.IsRNOPart == true) // Check if step is an RNO disable "Set All To Level" button. + { + btnApplicabilitychg.Enabled = false; + } + else + { + btnApplicabilitychg.Enabled = true; + } } } } @@ -402,13 +405,16 @@ namespace Volian.Controls.Library if (_MyItemInfo != null) { if (this.Visible == false) return; - if (_MyItemInfo.IsRNOPart == true) // Check if step is an RNO disable "Set All To Level" button. + if (MyItemInfo != null) { - btnApplicabilitychg.Enabled = false; - } - else - { - btnApplicabilitychg.Enabled = true; + if (MyItemInfo.IsRNOPart == true) // Check if step is an RNO disable "Set All To Level" button. + { + btnApplicabilitychg.Enabled = false; + } + else + { + btnApplicabilitychg.Enabled = true; + } } IItemConfig cfg = _MyItemInfo.MyConfig as IItemConfig; List apples = cfg.MasterSlave_Applicability.GetFlags(); From 90c215d4c1821b3106782cef40125348154c0163 Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Fri, 1 May 2026 16:26:04 -0400 Subject: [PATCH 06/18] B2026-042-Fix-Null-Error-for-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-4 --- .../DisplayApplicability.cs | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.cs index e68ced7a..5022dde7 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.cs @@ -42,7 +42,7 @@ namespace Volian.Controls.Library names.Add(dcfg.Unit_Name); } dcfg.SelectedSlave = 0; -// string[] names = dcfg.Unit_Name.Split(','); + // string[] names = dcfg.Unit_Name.Split(','); int apple = -1; if(_MyDisplayTabItem.MyStepTabPanel != null) apple = _MyDisplayTabItem.MyStepTabPanel.MyStepPanel.ApplDisplayMode; @@ -69,17 +69,6 @@ namespace Volian.Controls.Library { MyItemInfo = _MyDisplayTabItem.MyItemInfo; } - if (MyItemInfo != null) - { - if (MyItemInfo.IsRNOPart == true) // Check if step is an RNO disable "Set All To Level" button. - { - btnApplicabilitychg.Enabled = false; - } - else - { - btnApplicabilitychg.Enabled = true; - } - } } } } @@ -405,9 +394,9 @@ namespace Volian.Controls.Library if (_MyItemInfo != null) { if (this.Visible == false) return; - if (MyItemInfo != null) + if (_MyItemInfo != null) { - if (MyItemInfo.IsRNOPart == true) // Check if step is an RNO disable "Set All To Level" button. + if (_MyItemInfo.IsRNOPart == true) // Check if step is an RNO disable "Set All To Level" button. { btnApplicabilitychg.Enabled = false; } From d0cae8c2fc1f4c3ddfbd831006fb38c1ebdee3eb Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Mon, 4 May 2026 08:48:51 -0400 Subject: [PATCH 07/18] B2026-042-Fix-Null-Error-for-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-4 --- .../DisplayApplicability.cs | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.cs index 5022dde7..271f1f98 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.cs @@ -394,16 +394,13 @@ namespace Volian.Controls.Library if (_MyItemInfo != null) { if (this.Visible == false) return; - if (_MyItemInfo != null) + if (_MyItemInfo.IsRNOPart == true) // Check if step is an RNO disable "Set All To Level" button. { - if (_MyItemInfo.IsRNOPart == true) // Check if step is an RNO disable "Set All To Level" button. - { - btnApplicabilitychg.Enabled = false; - } - else - { - btnApplicabilitychg.Enabled = true; - } + btnApplicabilitychg.Enabled = false; + } + else + { + btnApplicabilitychg.Enabled = true; } IItemConfig cfg = _MyItemInfo.MyConfig as IItemConfig; List apples = cfg.MasterSlave_Applicability.GetFlags(); From a0e0b1e788030378e00596c8e7431717d8a6937e Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Mon, 4 May 2026 16:33:08 -0400 Subject: [PATCH 08/18] B2026-043-Fix-Error-for-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-when-clicked-executes-function --- .../DisplayApplicability.Designer.cs | 39 ++++++++++++++++--- .../DisplayApplicability.cs | 13 ++++++- 2 files changed, 45 insertions(+), 7 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs index cffdd423..25f3c2de 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs @@ -1,3 +1,4 @@ +using System.Drawing; using System.Security.Cryptography; using VEPROMS.CSLA.Library; @@ -34,7 +35,8 @@ namespace Volian.Controls.Library { this.gpMode = new DevComponents.DotNetBar.Controls.GroupPanel(); this.gpItem = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.btnApplicabilitychg2 = new DevComponents.DotNetBar.ButtonItem(); + this.gpSubItem = new DevComponents.DotNetBar.Controls.GroupPanel(); + //this.btnApplicabilitychg2 = new DevComponents.DotNetBar.ButtonItem(); this.btnApplicabilitychg = new DevComponents.DotNetBar.ButtonX(); this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); this.gpItem.SuspendLayout(); @@ -42,11 +44,11 @@ namespace Volian.Controls.Library // // btnApplicabilitychg // - this.btnApplicabilitychg.Location = new System.Drawing.Point(60, 8); + this.btnApplicabilitychg.Location = new System.Drawing.Point(90, 8); this.btnApplicabilitychg.Margin = new System.Windows.Forms.Padding(4); this.btnApplicabilitychg.BackColor = System.Drawing.SystemColors.Control; this.btnApplicabilitychg.Name = "btnApplicabilitychg"; - this.btnApplicabilitychg.Size = new System.Drawing.Size(80, 22); + this.btnApplicabilitychg.Size = new System.Drawing.Size(85, 22); this.btnApplicabilitychg.Margin = new System.Windows.Forms.Padding(2); this.btnApplicabilitychg.RightToLeft = System.Windows.Forms.RightToLeft.No; this.superTooltip1.SetSuperTooltip(this.btnApplicabilitychg, new DevComponents.DotNetBar.SuperTooltipInfo("Change applicability settings - All At Level", "", "When clicked, all steps at that level of the current step will be set to the selected applicability. Note that this button is disabled when on a RNO step type but enabled for sub-step under it.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); @@ -112,7 +114,8 @@ namespace Volian.Controls.Library this.gpItem.Location = new System.Drawing.Point(0, 49); this.gpItem.Margin = new System.Windows.Forms.Padding(4); this.gpItem.Name = "gpItem"; - this.gpItem.Padding = new System.Windows.Forms.Padding(13, 12, 13, 37); + //this.gpItem.Padding = new System.Windows.Forms.Padding(13, 20, 13, 37); + this.gpItem.Padding = new System.Windows.Forms.Padding(0, 20, 0, 0); this.gpItem.Size = new System.Drawing.Size(432, 85); // // @@ -144,6 +147,31 @@ namespace Volian.Controls.Library this.gpItem.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.gpItem.TabIndex = 1; this.gpItem.Text = "Item Mode"; + // + // gpSubItem + // + gpSubItem.AutoSize = true; + gpSubItem.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + gpSubItem.CanvasColor = System.Drawing.SystemColors.Control; + gpSubItem.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + gpSubItem.DisabledBackColor = System.Drawing.Color.Empty; + gpSubItem.Dock = System.Windows.Forms.DockStyle.Top; + gpSubItem.Location = new System.Drawing.Point(0, 49); + gpSubItem.Margin = new System.Windows.Forms.Padding(4); + gpSubItem.Name = "gpSubItem"; + gpSubItem.Padding = new System.Windows.Forms.Padding(13, 12, 13, 37); + gpSubItem.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + gpSubItem.Style.BackColorGradientAngle = 90; + gpSubItem.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + gpSubItem.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + gpSubItem.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + gpSubItem.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + gpSubItem.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + gpSubItem.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + gpSubItem.TabIndex = 1; + gpSubItem.Text = ""; + gpSubItem.Location = new System.Drawing.Point(0, 49); + gpSubItem.Size = new System.Drawing.Size(400, 250); // // DisplayApplicability // @@ -169,7 +197,8 @@ namespace Volian.Controls.Library private DevComponents.DotNetBar.Controls.GroupPanel gpMode; private DevComponents.DotNetBar.Controls.GroupPanel gpItem; - private DevComponents.DotNetBar.ButtonItem btnApplicabilitychg2; + private DevComponents.DotNetBar.Controls.GroupPanel gpSubItem; + //private DevComponents.DotNetBar.ButtonItem btnApplicabilitychg2; private DevComponents.DotNetBar.ButtonX btnApplicabilitychg; private DevComponents.DotNetBar.SuperTooltip superTooltip1; diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.cs index 271f1f98..97dc1c00 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.cs @@ -31,6 +31,7 @@ namespace Volian.Controls.Library _MyDisplayTabItem = value; gpMode.Controls.Clear(); gpItem.Controls.Clear(); + gpSubItem.Controls.Clear(); MyCheckBoxes.Clear(); if (_MyDisplayTabItem != null) { @@ -59,6 +60,8 @@ namespace Volian.Controls.Library foreach (string name in names) AddItemMode(name.Trim(), (++i).ToString()); AddItemMode("None", "0"); + gpItem.Controls.Add(gpSubItem); + gpSubItem.BringToFront(); gpItem.Controls.Add(btnApplicabilitychg); btnApplicabilitychg.BringToFront(); if (_MyDisplayTabItem.MyStepTabPanel != null) @@ -131,11 +134,17 @@ namespace Volian.Controls.Library private void AddItemMode(string name, string value) { CheckBox cb = new CheckBox(); + //cb.BackColor = Color.Beige; cb.BackColor = Color.Transparent; + cb.Height = 24; + cb.Width = 75; + cb.AutoSize = true; cb.Text = name; cb.Tag = value; cb.Dock = DockStyle.Top; - gpItem.Controls.Add(cb); + //cb.Dock = DockStyle.Left; + //gpItem.Controls.Add(cb); + gpSubItem.Controls.Add(cb); cb.BringToFront(); cb.CheckedChanged += new EventHandler(cb_CheckedChanged); MyCheckBoxes.Add(value == null ? -1 : int.Parse(value), cb); @@ -401,7 +410,7 @@ namespace Volian.Controls.Library else { btnApplicabilitychg.Enabled = true; - } + } IItemConfig cfg = _MyItemInfo.MyConfig as IItemConfig; List apples = cfg.MasterSlave_Applicability.GetFlags(); UnwireCheckboxes(true); From ec5229101f50f44adbb36879462eea29fc7f5ce3 Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Mon, 4 May 2026 17:00:42 -0400 Subject: [PATCH 09/18] B2026-043-Fix-Error-for-Set_At_AAll_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-when-clicked-executes-function --- PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs index 25f3c2de..b88fceca 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs @@ -48,7 +48,7 @@ namespace Volian.Controls.Library this.btnApplicabilitychg.Margin = new System.Windows.Forms.Padding(4); this.btnApplicabilitychg.BackColor = System.Drawing.SystemColors.Control; this.btnApplicabilitychg.Name = "btnApplicabilitychg"; - this.btnApplicabilitychg.Size = new System.Drawing.Size(85, 22); + this.btnApplicabilitychg.Size = new System.Drawing.Size(87, 22); this.btnApplicabilitychg.Margin = new System.Windows.Forms.Padding(2); this.btnApplicabilitychg.RightToLeft = System.Windows.Forms.RightToLeft.No; this.superTooltip1.SetSuperTooltip(this.btnApplicabilitychg, new DevComponents.DotNetBar.SuperTooltipInfo("Change applicability settings - All At Level", "", "When clicked, all steps at that level of the current step will be set to the selected applicability. Note that this button is disabled when on a RNO step type but enabled for sub-step under it.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); From 7baa9628d61966f02f613a0e4645f802ae38af8d Mon Sep 17 00:00:00 2001 From: mschill Date: Tue, 5 May 2026 06:00:43 -0400 Subject: [PATCH 10/18] C2026-015 Set overall Changebar date when approving multi-unit --- .../dlgApproveProcedure.cs | 19 +++++++++++++++---- .../VEPROMS.CSLA.Library/Extension/ItemExt.cs | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/PROMS/VEPROMS User Interface/dlgApproveProcedure.cs b/PROMS/VEPROMS User Interface/dlgApproveProcedure.cs index b808b138..60266e0e 100644 --- a/PROMS/VEPROMS User Interface/dlgApproveProcedure.cs +++ b/PROMS/VEPROMS User Interface/dlgApproveProcedure.cs @@ -1479,9 +1479,6 @@ namespace VEPROMS ProcedureConfig pc = procedureInfo.MyConfig as ProcedureConfig; if (pc == null) return; - //C2026-015 set overall change bar date - pc.Print_ChangeBarDate = dts.ToString("MM/dd/yyyy HH:mm:ss"); - pc.SelectedSlave = selectedSlave; pc.Print_Rev = revNumber; //AppRevDate Change @@ -1493,8 +1490,22 @@ namespace VEPROMS //itm.DTS = dts; itm.UserID = Volian.Base.Library.VlnSettings.UserID; itm.Save(); - } + //C2026-015 set overall change bar date + if (selectedSlave > 0) + { + pc.SelectedSlave = 0; + pc.Print_Rev = revNumber; + pc.Print_RevDate = revDate.ToString("MM/dd/yyyy"); + pc.Print_ChangeBarDate = dts.ToString("MM/dd/yyyy HH:mm:ss"); //this is needed to set the changebar date for an indeividual unit also + using (Item itm2 = Item.Get(procedureInfo.ItemID)) + { + itm2.MyContent.Config = pc.ToString(); + itm2.UserID = Volian.Base.Library.VlnSettings.UserID; + itm2.Save(); + } + } + } } } public class RevType diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index 5150df19..a8656812 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -4054,7 +4054,7 @@ namespace VEPROMS.CSLA.Library // date). Print_ViewableAfterChangeBarDate was created to get only that user specified date, if it exists. If it does exist, we compare // that with the Content datetime, otherwise we proceed as before. DateTime? viewableStartingDateTime = (MyProcedure.MyConfig as ProcedureConfig).Print_ViewableStartingChangeBarDate; - if (viewableStartingDateTime != null && viewableStartingDateTime > MyProcedure.ChangeBarDate) + if (viewableStartingDateTime != null && viewableStartingDateTime > MyProcedure.ChangeBarDate && (MyProcedure.MyConfig as ProcedureConfig).SelectedSlave == 0) return (MyContent.DTS > viewableStartingDateTime); return (MyContent.DTS > MyProcedure.ChangeBarDate); } From d0fe36f86e80622038b127236e0e3008cfaf7515 Mon Sep 17 00:00:00 2001 From: mschill Date: Tue, 5 May 2026 08:50:39 -0400 Subject: [PATCH 11/18] C2026-014 Set Changebar date with multi-unit --- .../dlgSetChangeBarStartDate.cs | 37 +++++++++++++++---- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/PROMS/VEPROMS User Interface/dlgSetChangeBarStartDate.cs b/PROMS/VEPROMS User Interface/dlgSetChangeBarStartDate.cs index a9ba9321..1ccd47a5 100644 --- a/PROMS/VEPROMS User Interface/dlgSetChangeBarStartDate.cs +++ b/PROMS/VEPROMS User Interface/dlgSetChangeBarStartDate.cs @@ -68,8 +68,26 @@ namespace VEPROMS MyProcConfig.Print_ChangeBarDate = dateTimeInput1.Value.ToString("MM/dd/yyyy HH:mm:ss");// ("MM/dd/yyyy HH:mm:ss"); //CSM - C2026-010 - Add Audit Record for Change Bar Audit History - ChangeBarAuditHistory.AddAudit(MyProcInfo.ItemID, $"Set ChangeBars set to ({ dateTimeInput1.Value.ToString("MM/dd/yyyy HH:mm:ss")}) by ({ VlnSettings.UserID}) on ({DateTime.Now})", DateTime.Now, VlnSettings.UserID, 0); + ChangeBarAuditHistory.AddAudit(MyProcInfo.ItemID, $"Set ChangeBars set to ({dateTimeInput1.Value.ToString("MM/dd/yyyy HH:mm:ss")}) by ({VlnSettings.UserID}) on ({DateTime.Now})", DateTime.Now, VlnSettings.UserID, 0); + //CSM C2026-014 if multi-unit, set for each unit + System.Data.DataTable dt = RevisionData.GetRevisionDataByUnit(MyProcInfo.ItemID); + if (RevisionData.HasUnits(dt)) + { + //Change the ChangeBarDate for each unit + foreach (DataRow r in dt.Rows) + { + if (!r.IsNull("UnitID")) + { + MyProcConfig.SelectedSlave = Convert.ToInt32(r["UnitID"]); + MyProcConfig.Print_ChangeBarDate = dateTimeInput1.Value.ToString("MM/dd/yyyy HH:mm:ss"); + + //CSM - C2026-010 - Add Audit Record for Change Bar Audit History + ChangeBarAuditHistory.AddAudit(MyProcInfo.ItemID, $"Set ChangeBars set to ({dateTimeInput1.Value.ToString("MM/dd/yyyy HH:mm:ss")}) by ({VlnSettings.UserID}) on ({DateTime.Now}) for (Unit {r["UnitName"]})", DateTime.Now, VlnSettings.UserID, MyProcConfig.SelectedSlave); + } + } + MyProcConfig.SelectedSlave = 0; + } } @@ -108,7 +126,10 @@ namespace VEPROMS sb.Append($" The Procedure Viewer Change Bar Date will be set to ({maxDTS})."); foreach (DataRow r in dt.Rows) { - sb.Append($"\r\n The Change Bar Date for Unit ({r["UnitName"]}) will be set to ({Convert.ToDateTime(r["DTS"]):MM/dd/yyyy HH:mm:ss})."); + if (!r.IsNull("UnitID")) + { + sb.Append($"\r\n The Change Bar Date for Unit ({r["UnitName"]}) will be set to ({Convert.ToDateTime(r["DTS"]):MM/dd/yyyy HH:mm:ss})."); + } } sb.Append("\r\n Any Change Bars for Units not listed above will use the Overall/Procedure Viewer Change Bar Date (as these Units have no approvals)."); @@ -121,12 +142,14 @@ namespace VEPROMS //Change the ChangeBarDate for each unit foreach (DataRow r in dt.Rows) { - MyProcConfig.SelectedSlave = Convert.ToInt32(r["UnitID"]); - MyProcConfig.Print_ChangeBarDate = Convert.ToDateTime(r["DTS"]).ToString("MM / dd / yyyy HH: mm: ss"); - - //CSM - C2026-010 - Add Audit Record for Change Bar Audit History - ChangeBarAuditHistory.AddAudit(MyProcInfo.ItemID, $"Reset ChangeBars performed by ({VlnSettings.UserID}) on ({DateTime.Now}). ChangeBars reset to show since last approval ({Convert.ToDateTime(r["DTS"]):MM/dd/yyyy HH:mm:ss}) for (Unit {r["UnitName"]})", DateTime.Now, VlnSettings.UserID, MyProcConfig.SelectedSlave); + if (!r.IsNull("UnitID")) + { + MyProcConfig.SelectedSlave = Convert.ToInt32(r["UnitID"]); + MyProcConfig.Print_ChangeBarDate = Convert.ToDateTime(r["DTS"]).ToString("MM / dd / yyyy HH: mm: ss"); + //CSM - C2026-010 - Add Audit Record for Change Bar Audit History + ChangeBarAuditHistory.AddAudit(MyProcInfo.ItemID, $"Reset ChangeBars performed by ({VlnSettings.UserID}) on ({DateTime.Now}). ChangeBars reset to show since last approval ({Convert.ToDateTime(r["DTS"]):MM/dd/yyyy HH:mm:ss}) for (Unit {r["UnitName"]})", DateTime.Now, VlnSettings.UserID, MyProcConfig.SelectedSlave); + } } MyProcConfig.SelectedSlave = 0; DialogResult = DialogResult.OK; From 2a0849fae5939628a8c6078e66ee11e472484b3a Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Tue, 5 May 2026 22:08:27 -0400 Subject: [PATCH 12/18] B2026-043-Fix-Error-for-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-when-clicked-executes-function --- .../DisplayApplicability.Designer.cs | 35 +----------------- .../DisplayApplicability.cs | 37 +++++++++++++++++-- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs index b88fceca..9d682f94 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs @@ -1,4 +1,4 @@ -using System.Drawing; +//using System.Drawing; using System.Security.Cryptography; using VEPROMS.CSLA.Library; @@ -35,8 +35,6 @@ namespace Volian.Controls.Library { this.gpMode = new DevComponents.DotNetBar.Controls.GroupPanel(); this.gpItem = new DevComponents.DotNetBar.Controls.GroupPanel(); - this.gpSubItem = new DevComponents.DotNetBar.Controls.GroupPanel(); - //this.btnApplicabilitychg2 = new DevComponents.DotNetBar.ButtonItem(); this.btnApplicabilitychg = new DevComponents.DotNetBar.ButtonX(); this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip(); this.gpItem.SuspendLayout(); @@ -51,7 +49,7 @@ namespace Volian.Controls.Library this.btnApplicabilitychg.Size = new System.Drawing.Size(87, 22); this.btnApplicabilitychg.Margin = new System.Windows.Forms.Padding(2); this.btnApplicabilitychg.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.superTooltip1.SetSuperTooltip(this.btnApplicabilitychg, new DevComponents.DotNetBar.SuperTooltipInfo("Change applicability settings - All At Level", "", "When clicked, all steps at that level of the current step will be set to the selected applicability. Note that this button is disabled when on a RNO step type but enabled for sub-step under it.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.superTooltip1.SetSuperTooltip(this.btnApplicabilitychg, new DevComponents.DotNetBar.SuperTooltipInfo("Set All at Level", "", "When clicked, all steps at that level of the current step will be set to the selected applicability. Note that the Set All at Level button is disabled for RNO step types unless they are substeps off of a RNO step.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.btnApplicabilitychg.TabIndex = 0; this.btnApplicabilitychg.Text = "Set All at Level"; this.btnApplicabilitychg.ColorTable = DevComponents.DotNetBar.eButtonColor.BlueOrb; @@ -71,9 +69,6 @@ namespace Volian.Controls.Library this.gpMode.Name = "gpMode"; this.gpMode.Padding = new System.Windows.Forms.Padding(13, 12, 13, 37); this.gpMode.Size = new System.Drawing.Size(432, 49); - // - // - // this.gpMode.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.gpMode.Style.BackColorGradientAngle = 90; this.gpMode.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; @@ -147,31 +142,6 @@ namespace Volian.Controls.Library this.gpItem.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.gpItem.TabIndex = 1; this.gpItem.Text = "Item Mode"; - // - // gpSubItem - // - gpSubItem.AutoSize = true; - gpSubItem.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - gpSubItem.CanvasColor = System.Drawing.SystemColors.Control; - gpSubItem.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - gpSubItem.DisabledBackColor = System.Drawing.Color.Empty; - gpSubItem.Dock = System.Windows.Forms.DockStyle.Top; - gpSubItem.Location = new System.Drawing.Point(0, 49); - gpSubItem.Margin = new System.Windows.Forms.Padding(4); - gpSubItem.Name = "gpSubItem"; - gpSubItem.Padding = new System.Windows.Forms.Padding(13, 12, 13, 37); - gpSubItem.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - gpSubItem.Style.BackColorGradientAngle = 90; - gpSubItem.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - gpSubItem.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; - gpSubItem.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - gpSubItem.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - gpSubItem.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - gpSubItem.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - gpSubItem.TabIndex = 1; - gpSubItem.Text = ""; - gpSubItem.Location = new System.Drawing.Point(0, 49); - gpSubItem.Size = new System.Drawing.Size(400, 250); // // DisplayApplicability // @@ -197,7 +167,6 @@ namespace Volian.Controls.Library private DevComponents.DotNetBar.Controls.GroupPanel gpMode; private DevComponents.DotNetBar.Controls.GroupPanel gpItem; - private DevComponents.DotNetBar.Controls.GroupPanel gpSubItem; //private DevComponents.DotNetBar.ButtonItem btnApplicabilitychg2; private DevComponents.DotNetBar.ButtonX btnApplicabilitychg; private DevComponents.DotNetBar.SuperTooltip superTooltip1; diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.cs index 97dc1c00..9cebebe4 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.cs @@ -21,6 +21,7 @@ namespace Volian.Controls.Library if (ApplicabilityViewModeChanged != null) ApplicabilityViewModeChanged(this, new EventArgs()); } + private DisplayTabItem _MyDisplayTabItem = null; public DisplayTabItem MyDisplayTabItem { @@ -88,6 +89,38 @@ namespace Volian.Controls.Library return 0; } } + private void InitializegpSubItem() //B2026-043 Fix "Set All At Level" button. + { + this.gpSubItem = new DevComponents.DotNetBar.Controls.GroupPanel(); + // + // gpSubItem + // + gpSubItem.AutoSize = true; + gpSubItem.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + gpSubItem.CanvasColor = System.Drawing.SystemColors.Control; + gpSubItem.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; + gpSubItem.DisabledBackColor = System.Drawing.Color.Empty; + gpSubItem.Dock = System.Windows.Forms.DockStyle.Top; + gpSubItem.Location = new System.Drawing.Point(0, 49); + gpSubItem.Margin = new System.Windows.Forms.Padding(4); + gpSubItem.Name = "gpSubItem"; + gpSubItem.Padding = new System.Windows.Forms.Padding(13, 12, 13, 37); + gpSubItem.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + gpSubItem.Style.BackColorGradientAngle = 90; + gpSubItem.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + gpSubItem.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; + gpSubItem.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + gpSubItem.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + gpSubItem.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + gpSubItem.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + gpSubItem.TabIndex = 1; + gpSubItem.Text = ""; + gpSubItem.Location = new System.Drawing.Point(0, 49); + gpSubItem.Size = new System.Drawing.Size(400, 250); + // + + } + private DevComponents.DotNetBar.Controls.GroupPanel gpSubItem; private Dictionary MyCheckBoxes = new Dictionary(); private string _MyApplicability = string.Empty; public string MyApplicability @@ -134,7 +167,6 @@ namespace Volian.Controls.Library private void AddItemMode(string name, string value) { CheckBox cb = new CheckBox(); - //cb.BackColor = Color.Beige; cb.BackColor = Color.Transparent; cb.Height = 24; cb.Width = 75; @@ -142,8 +174,6 @@ namespace Volian.Controls.Library cb.Text = name; cb.Tag = value; cb.Dock = DockStyle.Top; - //cb.Dock = DockStyle.Left; - //gpItem.Controls.Add(cb); gpSubItem.Controls.Add(cb); cb.BringToFront(); cb.CheckedChanged += new EventHandler(cb_CheckedChanged); @@ -507,6 +537,7 @@ namespace Volian.Controls.Library public DisplayApplicability() { InitializeComponent(); + InitializegpSubItem(); //B2026-043 Fix "Set All At Level" button. this.VisibleChanged += new EventHandler(DisplayApplicability_VisibleChanged); } From 3924e2fca5cafb56eab32c617116ac409be4ea4d Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Wed, 6 May 2026 07:54:39 -0400 Subject: [PATCH 13/18] B2026-043-Fix-Error-for-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-when-clicked-executes-function --- PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs index 9d682f94..fbe58344 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs @@ -109,7 +109,6 @@ namespace Volian.Controls.Library this.gpItem.Location = new System.Drawing.Point(0, 49); this.gpItem.Margin = new System.Windows.Forms.Padding(4); this.gpItem.Name = "gpItem"; - //this.gpItem.Padding = new System.Windows.Forms.Padding(13, 20, 13, 37); this.gpItem.Padding = new System.Windows.Forms.Padding(0, 20, 0, 0); this.gpItem.Size = new System.Drawing.Size(432, 85); // @@ -167,7 +166,6 @@ namespace Volian.Controls.Library private DevComponents.DotNetBar.Controls.GroupPanel gpMode; private DevComponents.DotNetBar.Controls.GroupPanel gpItem; - //private DevComponents.DotNetBar.ButtonItem btnApplicabilitychg2; private DevComponents.DotNetBar.ButtonX btnApplicabilitychg; private DevComponents.DotNetBar.SuperTooltip superTooltip1; From 7bbf62d7358814b7a073f1e33bbfd6a10ae5fbd2 Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Thu, 7 May 2026 11:27:36 -0400 Subject: [PATCH 14/18] B2026-043-Fix-Error-for-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-when-clicked-executes-function --- .../DisplayApplicability.Designer.cs | 12 +--- .../DisplayApplicability.cs | 68 +++++++++++-------- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs index fbe58344..cf30191f 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs @@ -1,4 +1,4 @@ -//using System.Drawing; +using System.Drawing; using System.Security.Cryptography; using VEPROMS.CSLA.Library; @@ -24,7 +24,6 @@ namespace Volian.Controls.Library base.Dispose(disposing); } - #region Component Designer generated code /// @@ -49,7 +48,7 @@ namespace Volian.Controls.Library this.btnApplicabilitychg.Size = new System.Drawing.Size(87, 22); this.btnApplicabilitychg.Margin = new System.Windows.Forms.Padding(2); this.btnApplicabilitychg.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.superTooltip1.SetSuperTooltip(this.btnApplicabilitychg, new DevComponents.DotNetBar.SuperTooltipInfo("Set All at Level", "", "When clicked, all steps at that level of the current step will be set to the selected applicability. Note that the Set All at Level button is disabled for RNO step types unless they are substeps off of a RNO step.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); + this.superTooltip1.SetSuperTooltip(this.btnApplicabilitychg, new DevComponents.DotNetBar.SuperTooltipInfo("Set All at Level", "", "When clicked, all steps at that level of the current step will be set to the selected applicability. Note that the Set All at Level button is disabled for RNO step types unless they are substeps off of a RNO step.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); // C2026-034 fix tool tip text. this.btnApplicabilitychg.TabIndex = 0; this.btnApplicabilitychg.Text = "Set All at Level"; this.btnApplicabilitychg.ColorTable = DevComponents.DotNetBar.eButtonColor.BlueOrb; @@ -86,13 +85,7 @@ namespace Volian.Controls.Library this.gpMode.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; this.gpMode.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.gpMode.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; - // - // - // this.gpMode.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // this.gpMode.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.gpMode.TabIndex = 0; this.gpMode.Text = "Viewing Mode"; @@ -103,7 +96,6 @@ namespace Volian.Controls.Library this.gpItem.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.gpItem.CanvasColor = System.Drawing.SystemColors.Control; this.gpItem.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - //this.gpItem.Controls.Add(this.btnApplicabilitychg); this.gpItem.DisabledBackColor = System.Drawing.Color.Empty; this.gpItem.Dock = System.Windows.Forms.DockStyle.Top; this.gpItem.Location = new System.Drawing.Point(0, 49); diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.cs index 9cebebe4..96cdaf98 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.cs @@ -28,15 +28,18 @@ namespace Volian.Controls.Library get { return _MyDisplayTabItem; } set { - if (DesignMode) return; // B2019-043 need to check if we are just saving changes to the user interface + if (DesignMode) return; // B2019-043 need to check if we are just saving changes to the user interface _MyDisplayTabItem = value; gpMode.Controls.Clear(); gpItem.Controls.Clear(); - gpSubItem.Controls.Clear(); MyCheckBoxes.Clear(); if (_MyDisplayTabItem != null) { - DocVersionConfig dcfg = _MyDisplayTabItem.MyItemInfo.MyDocVersion.MyConfig as DocVersionConfig; + //B2026-043 Fix "Set All At Level" button. + DevComponents.DotNetBar.Controls.GroupPanel gpSubItem = InitializegpSubItem(); + gpSubItem.Controls.Clear(); + + DocVersionConfig dcfg = _MyDisplayTabItem.MyItemInfo.MyDocVersion.MyConfig as DocVersionConfig; List names = new List(); for (int n = 1; n <= dcfg.Unit_Count; n++) { @@ -56,11 +59,11 @@ namespace Volian.Controls.Library AddViewMode(name.Trim(), i.ToString(), apple == i); } - AddItemMode("All", "-1"); + AddItemMode("All", "-1", ref gpSubItem); i = 0; foreach (string name in names) - AddItemMode(name.Trim(), (++i).ToString()); - AddItemMode("None", "0"); + AddItemMode(name.Trim(), (++i).ToString(), ref gpSubItem); + AddItemMode("None", "0", ref gpSubItem); gpItem.Controls.Add(gpSubItem); gpSubItem.BringToFront(); gpItem.Controls.Add(btnApplicabilitychg); @@ -89,25 +92,26 @@ namespace Volian.Controls.Library return 0; } } - private void InitializegpSubItem() //B2026-043 Fix "Set All At Level" button. + private DevComponents.DotNetBar.Controls.GroupPanel InitializegpSubItem() //B2026-043 Fix "Set All At Level" button. { - this.gpSubItem = new DevComponents.DotNetBar.Controls.GroupPanel(); - // - // gpSubItem - // - gpSubItem.AutoSize = true; - gpSubItem.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - gpSubItem.CanvasColor = System.Drawing.SystemColors.Control; - gpSubItem.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; - gpSubItem.DisabledBackColor = System.Drawing.Color.Empty; - gpSubItem.Dock = System.Windows.Forms.DockStyle.Top; - gpSubItem.Location = new System.Drawing.Point(0, 49); - gpSubItem.Margin = new System.Windows.Forms.Padding(4); - gpSubItem.Name = "gpSubItem"; - gpSubItem.Padding = new System.Windows.Forms.Padding(13, 12, 13, 37); - gpSubItem.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - gpSubItem.Style.BackColorGradientAngle = 90; - gpSubItem.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + DevComponents.DotNetBar.Controls.GroupPanel gpSubItem; + gpSubItem = new DevComponents.DotNetBar.Controls.GroupPanel + { + // + // gpSubItem + // + AutoSize = true, + AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink, + CanvasColor = System.Drawing.SystemColors.Control, + ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007, + DisabledBackColor = System.Drawing.Color.Empty, + Dock = System.Windows.Forms.DockStyle.Top, + Location = new System.Drawing.Point(0, 49), + Margin = new System.Windows.Forms.Padding(4), + Name = "gpSubItem", + Padding = new System.Windows.Forms.Padding(13, 12, 13, 37) + }; + gpSubItem.BackColor = Color.Transparent; gpSubItem.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; gpSubItem.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; gpSubItem.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; @@ -117,10 +121,8 @@ namespace Volian.Controls.Library gpSubItem.Text = ""; gpSubItem.Location = new System.Drawing.Point(0, 49); gpSubItem.Size = new System.Drawing.Size(400, 250); - // - + return gpSubItem; } - private DevComponents.DotNetBar.Controls.GroupPanel gpSubItem; private Dictionary MyCheckBoxes = new Dictionary(); private string _MyApplicability = string.Empty; public string MyApplicability @@ -164,7 +166,7 @@ namespace Volian.Controls.Library // } //} //} - private void AddItemMode(string name, string value) + private void AddItemMode(string name, string value, ref DevComponents.DotNetBar.Controls.GroupPanel gpSubItem) { CheckBox cb = new CheckBox(); cb.BackColor = Color.Transparent; @@ -181,6 +183,8 @@ namespace Volian.Controls.Library } private void cb_CheckedChanged(object sender, EventArgs e) { + EditItem ei = MyDisplayTabItem.MyStepTabPanel.SelectedEditItem; + ei.SaveCurrentAndContents(); // C2026-035 save unsaved step text. UnwireCheckboxes(false); CheckBox cb = sender as CheckBox; CheckState cs = cb.CheckState; @@ -326,8 +330,12 @@ namespace Volian.Controls.Library MasterSlave_ApplicabilityTmp = sc.MasterSlave_Applicability; StringBuilder sb = new StringBuilder(); + EditItem ei = MyDisplayTabItem.MyStepTabPanel.SelectedEditItem; + ei.SaveCurrentAndContents(); // C2026-035 save unsaved step text. - ItemInfo startitm = MyItemInfo.FirstSibling; + + + ItemInfo startitm = MyItemInfo.FirstSibling; while (startitm != null) { @@ -537,7 +545,7 @@ namespace Volian.Controls.Library public DisplayApplicability() { InitializeComponent(); - InitializegpSubItem(); //B2026-043 Fix "Set All At Level" button. + //InitializegpSubItem(); //B2026-043 Fix "Set All At Level" button. this.VisibleChanged += new EventHandler(DisplayApplicability_VisibleChanged); } From 194ca84d38c17eff9475440243ad8c05afa3214b Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Thu, 7 May 2026 11:34:16 -0400 Subject: [PATCH 15/18] B2026-043-Fix-Error-for-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-when-clicked-executes-function --- PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs index cf30191f..debee89f 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs @@ -1,4 +1,3 @@ -using System.Drawing; using System.Security.Cryptography; using VEPROMS.CSLA.Library; From 401fa128514726d0b3243e56a598120783dd83a2 Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Thu, 7 May 2026 13:29:55 -0400 Subject: [PATCH 16/18] B2026-043-Fix-Error-for-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-when-clicked-executes-function --- .../DisplayApplicability.Designer.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs index debee89f..e51b1e5b 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.Designer.cs @@ -67,6 +67,9 @@ namespace Volian.Controls.Library this.gpMode.Name = "gpMode"; this.gpMode.Padding = new System.Windows.Forms.Padding(13, 12, 13, 37); this.gpMode.Size = new System.Drawing.Size(432, 49); + // + // + // this.gpMode.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.gpMode.Style.BackColorGradientAngle = 90; this.gpMode.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; @@ -84,7 +87,13 @@ namespace Volian.Controls.Library this.gpMode.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; this.gpMode.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.gpMode.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; + // + // + // this.gpMode.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // this.gpMode.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.gpMode.TabIndex = 0; this.gpMode.Text = "Viewing Mode"; From d07e132216cd0af858d6903be6659ba074172d2a Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Thu, 7 May 2026 14:55:44 -0400 Subject: [PATCH 17/18] B2026-043-Fix-Error-for-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-when-clicked-executes-function --- PROMS/Volian.Controls.Library/DisplayApplicability.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.cs index 96cdaf98..1f4a388c 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.cs @@ -37,7 +37,6 @@ namespace Volian.Controls.Library { //B2026-043 Fix "Set All At Level" button. DevComponents.DotNetBar.Controls.GroupPanel gpSubItem = InitializegpSubItem(); - gpSubItem.Controls.Clear(); DocVersionConfig dcfg = _MyDisplayTabItem.MyItemInfo.MyDocVersion.MyConfig as DocVersionConfig; List names = new List(); @@ -544,8 +543,7 @@ namespace Volian.Controls.Library public DisplayApplicability() { - InitializeComponent(); - //InitializegpSubItem(); //B2026-043 Fix "Set All At Level" button. + InitializeComponent(); //B2026-043 Fix "Set All At Level" button. this.VisibleChanged += new EventHandler(DisplayApplicability_VisibleChanged); } From 23173074aa818b33a27d72bbd1bfe51fe3f1e028 Mon Sep 17 00:00:00 2001 From: John Jenko Date: Thu, 7 May 2026 15:21:48 -0400 Subject: [PATCH 18/18] F2026_013 Fixed typo in Vogtle format title --- PROMS/Formats/fmtall/VEGP1all.xml | Bin 186088 -> 186088 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/PROMS/Formats/fmtall/VEGP1all.xml b/PROMS/Formats/fmtall/VEGP1all.xml index 09565922260b6aadb7c8ff92536d65e897168d71..3904e24a029dc212629f7c4df5fde20d46cbeb44 100644 GIT binary patch delta 27 jcmaE{mixt8?hSE_)AK$vay4f#wr4OhZqHz3YPbpjrN;`V delta 26 icmaE{mixt8?hSE_%q0xz&54ZdiHwZf6B(J>uL1y!EeUi0