From a469a96ee8c38f7d98366dcd633e3a15f92fec65 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 01 三月 2021 17:53:52 +0800 Subject: [PATCH] 2021-3-1-1 --- 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