C2020-031: clarify dialog caption for export of approved procedure

C2020-030: replace ‘Word Sections’ with ‘WORD Sections’
This commit is contained in:
Kathy Ruffing 2020-08-05 15:24:52 +00:00
parent 784986f388
commit c5d150e135
2 changed files with 5 additions and 5 deletions

View File

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

View File

@ -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)