From f26d7b01a57fdb53dbe58ad355e3c45e3ec06d60 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 26 二月 2021 16:14:02 +0800
Subject: [PATCH] 2021-2-26-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