diff --git a/PROMS/Volian.Controls.Library/FindReplace.cs b/PROMS/Volian.Controls.Library/FindReplace.cs index 502f8f62..6e674035 100644 --- a/PROMS/Volian.Controls.Library/FindReplace.cs +++ b/PROMS/Volian.Controls.Library/FindReplace.cs @@ -77,7 +77,6 @@ namespace Volian.Controls.Library get { return _InApproved; } set { _InApproved = value; } } - public FindReplace() { InitializeComponent(); @@ -443,15 +442,18 @@ namespace Volian.Controls.Library } public void ToggleReplaceTab(E_ViewMode vm) { - if (vm == E_ViewMode.View) - { - if (tabReplace.IsSelected) - tabFind.PerformClick(); - tabReplace.Visible = false; - } - else - tabReplace.Visible = true; + if (vm == E_ViewMode.View) + { + if (tabReplace.IsSelected) + tabFind.PerformClick(); + tabReplace.Visible = false; + Text = "Find"; //C2021-021 change the dialog title + } + else + { + tabReplace.Visible = true; + Text = "Find and Replace";//C2021-021 change the dialog title + } } - } } \ No newline at end of file