From c5d150e13573f81601367e70dee9b16a781c700b Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 5 Aug 2020 15:24:52 +0000 Subject: [PATCH] =?UTF-8?q?C2020-031:=20clarify=20dialog=20caption=20for?= =?UTF-8?q?=20export=20of=20approved=20procedure=20C2020-030:=20replace=20?= =?UTF-8?q?=E2=80=98Word=20Sections=E2=80=99=20with=20=E2=80=98WORD=20Sect?= =?UTF-8?q?ions=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Volian.Controls.Library/DisplaySearch.cs | 8 ++++---- PROMS/Volian.Controls.Library/vlnTreeView.cs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PROMS/Volian.Controls.Library/DisplaySearch.cs b/PROMS/Volian.Controls.Library/DisplaySearch.cs index ff888370..e9446c30 100644 --- a/PROMS/Volian.Controls.Library/DisplaySearch.cs +++ b/PROMS/Volian.Controls.Library/DisplaySearch.cs @@ -449,7 +449,7 @@ namespace Volian.Controls.Library //newnode.CheckBoxStyle = eCheckBoxStyle.CheckBox; //newnode.CheckBoxThreeState = false; //newnode.CheckBoxVisible = true; - newnode = NewAdvTreeNode("Word Sections", true, true); // C2020-010: Change Accessory Sections to Word Sections + newnode = NewAdvTreeNode("WORD Sections", true, true); // C2020-010: Change Accessory Sections to Word Sections wordSectionTreeNode = newnode; wordSectionTreeNode.Enabled = !(tabSearchTypes.SelectedTab == tabTranSearch); advTreeStepTypes.Nodes.Add(newnode); @@ -1864,10 +1864,10 @@ namespace Volian.Controls.Library n.Style = DevComponents.AdvTree.NodeStyles.Apple; if (sd == null) { - if (!lstCheckedStepTypesStr.Contains("Word Sections")) + if (!lstCheckedStepTypesStr.Contains("WORD Sections")) { lstCheckedStepTypes.Add(0); //use zero to identify attachment search - lstCheckedStepTypesStr.Add("Word Sections"); + lstCheckedStepTypesStr.Add("WORD Sections"); } } else @@ -1884,7 +1884,7 @@ namespace Volian.Controls.Library n.Style = null; if (sd == null) { - lstCheckedStepTypesStr.Remove("Word Sections"); + lstCheckedStepTypesStr.Remove("WORD Sections"); lstCheckedStepTypes.Remove(0); } else diff --git a/PROMS/Volian.Controls.Library/vlnTreeView.cs b/PROMS/Volian.Controls.Library/vlnTreeView.cs index 58fcda94..bafd62a1 100644 --- a/PROMS/Volian.Controls.Library/vlnTreeView.cs +++ b/PROMS/Volian.Controls.Library/vlnTreeView.cs @@ -1276,7 +1276,7 @@ namespace Volian.Controls.Library if (!di.Exists) di.Create(); string fileName = PEIPath + "\\" + str + "Approved_Rev_" + ri.RevisionNumber.Replace(" ", "_").Replace("\\", "-").Replace("/", "-") +"_" + xd.SelectSingleNode("procedure/content/@number").InnerText.Replace(" ", "_").Replace(@"\u8209?", "-").Replace(@"\u9586?", "_") + ".pxml"; xd.Save(fileName); - FlexibleMessageBox.Show("Approved procedure saved to import file " + fileName, "Saving TempMod", MessageBoxButtons.OK, MessageBoxIcon.Information); + FlexibleMessageBox.Show("Approved procedure saved to import file " + fileName, "Creating Export of Approved Procedure", MessageBoxButtons.OK, MessageBoxIcon.Information); } void ApprovedRevision_Click(object sender, EventArgs e)