From 56ec1f45d70ccd4c741b47317a69ac70ea4971a0 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 18 Jun 2020 14:19:12 +0000 Subject: [PATCH] =?UTF-8?q?C2020-016=20=E2=80=93=20Improved=20the=20wordin?= =?UTF-8?q?g=20and=20formatting=20of=20the=20message=20that=20appears=20wh?= =?UTF-8?q?en=20you=20add=20a=20subsection=20to=20a=20section=20that=20has?= =?UTF-8?q?=20steps.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Volian.Controls.Library/vlnTreeView.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/PROMS/Volian.Controls.Library/vlnTreeView.cs b/PROMS/Volian.Controls.Library/vlnTreeView.cs index 1d70d27b..3a2ed384 100644 --- a/PROMS/Volian.Controls.Library/vlnTreeView.cs +++ b/PROMS/Volian.Controls.Library/vlnTreeView.cs @@ -2504,8 +2504,15 @@ namespace Volian.Controls.Library // know that the steps will not be visible after the subsection insert (C2016-042): if (_LastItemInfo.Sections == null && _LastItemInfo.Steps != null && _LastItemInfo.Steps.Count > 0) { - - if (FlexibleMessageBox.Show(this, "Inserting a subsection at this location will cause the steps of this section to become hidden. After inserting the subsection, you will need exit and re-enter PROMS, then select the Editable Data checkbox on the properties page for the section containing the hidden steps in order for the steps to become visible again. Do you want to continue?", "Subsection Insert", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) + // C2020-016 reformatted and reworded the message. + string msgstr = + "PROMS will hide the steps in this section when the subsection is created.\n\n" + + "If you would like to view or copy these hidden steps you will need to go\n" + + "into the properties of this section and check the Editable Data checkbox.\n" + + "You will then be able to view and copy those steps. When finished, open\n" + + "the properties page again and uncheck the Editable Data checkbox.\n\n"+ + "Do you want to continue creating the subsection?"; + if (FlexibleMessageBox.Show(this, msgstr, "Subsection Insert", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) { return; }