C2020-008: Change to ‘Folder Specific Information’ as menu text for folder level from ‘Procedure Set Specific Information’

This commit is contained in:
Kathy Ruffing 2020-04-16 14:10:53 +00:00
parent 0ef0a57945
commit eb31b3b1a6

View File

@ -659,7 +659,7 @@ namespace Volian.Controls.Library
else
cm.MenuItems.Add("Import Procedure Set", new EventHandler(mi_Click));
if (DoSpecificInfo)
cm.MenuItems.Add("Procedure Set Specific Information", new EventHandler(mi_Click));
cm.MenuItems.Add("Folder Specific Information", new EventHandler(mi_Click)); // C2020-008: change to 'Folder'
}
//_MyLog.WarnFormat("Context Menu 1b - {0}", GC.GetTotalMemory(true));
if (ui.IsAdministrator() || ui.IsSetAdministrator(fi))
@ -1006,7 +1006,7 @@ namespace Volian.Controls.Library
{
/*
--Folder level
see if we need to disable "Export Procedure Set" or "Procedure Set Specific Information"
see if we need to disable "Export Procedure Set" or "Folder Specific Information"
*/
if (tn.MovedToSeparateWindow)
{
@ -1044,7 +1044,7 @@ namespace Volian.Controls.Library
{
foreach (MenuItem itm in cm.MenuItems)
{
if (itm.Text == "Export Procedure Set" || itm.Text == "Procedure Set Specific Information")
if (itm.Text == "Export Procedure Set" || itm.Text == "Folder Specific Information") // C2020-008: change to 'Folder'
itm.Enabled = false;
}
}
@ -1653,7 +1653,7 @@ namespace Volian.Controls.Library
if (mi == null)
return;
// B2019-076: make folder/working draft level proc set specific info consistent (various places in this file were changed from Folder Specific & Working Draft Specific)
if (mi.Text == "Procedure Set Specific Information")
if (mi.Text == "Procedure Set Specific Information" || mi.Text == "Folder Specific Information") // C2020-008: change to 'Folder'
{
VETreeNode tn = SelectedNode as VETreeNode;
OnNodeSI(this, new vlnTreeEventArgs(tn, null, 0));