From e4573a6880ccaccd03819b106bee7cdc7673e17f Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 15 Jun 2016 14:26:23 +0000 Subject: [PATCH] C2016-020: Improve Delete step prompt dialog text to include that enhanced step is deleted also, if linked --- PROMS/Volian.Controls.Library/StepTabRibbon.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index d41ade84..52785c29 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -2531,6 +2531,8 @@ namespace Volian.Controls.Library msgs = string.Format("Are you sure you want to delete this {0} and its substeps?", typeDescription); else msgs = string.Format("Are you sure you want to delete this {0}?", typeDescription); + if (stpi.HasEnhancedLinkedStep) + msgs = msgs + " The linked Enhanced step will also be deleted!"; //string msgs = stpi.HasChildren ? "Are you sure you want to delete this step and its substeps?" : "Are you sure you want to delete this step?"; DialogResult results = MessageBox.Show(msgs, "Verify Delete", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (MyFlexGrid != null)