From d4811b7d34b45ff6b21b97f11da128b5572ec526 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 03 三月 2021 16:03:03 +0800 Subject: [PATCH] 20210303-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