From c047239d340038cea872bae276e713ef866c0a34 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 02 三月 2021 13:22:21 +0800 Subject: [PATCH] Merge branch 'NewFilePath' into CJL --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/TipView.cs | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/TipView.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/TipView.cs index 599f167..5d70028 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/TipView.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/TipView.cs @@ -20,7 +20,7 @@ /// 杈撳叆妗� /// </summary> /// <param name="confirmAction">鍥炶皟鍑芥暟</param> - public void InputBox(string tnputEditTxet, Action<string> confirmAction) + public void InputBox(string tnputEditTxet, Action<string, Dialog> confirmAction,bool if_bool=true) { Dialog dialog = new Dialog() { @@ -163,14 +163,16 @@ { return; } - confirmAction(editText.Text.Trim()); - dialog.Close(); + confirmAction(editText.Text.Trim(), dialog); + if (if_bool) { + dialog.Close(); + } }; } - + } -- Gitblit v1.8.0