From 4f61757a216eb4d36ad628c7d16d17a6e442e95a Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 22 十二月 2020 16:12:55 +0800
Subject: [PATCH] 2020-12-22 1.登录、注册、忘记密码增加键盘关闭时间

---
 HDL_ON/UI/UI1-Login/LoginPageBLL.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
index c5a084d..cd43eee 100644
--- a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
@@ -835,6 +835,9 @@
         {
             btnRegister.MouseUpEventHandler += (sender, e) =>
             {
+                //2020-12-22 澧炲姞鐐瑰嚮闅愯棌閿洏浜嬩欢
+                Application.HideSoftInput();
+
                 //鍒ゆ柇鏄惁鍚屾剰浜嗛殣绉佹斂绛�
                 if (CheckPrivacyPolicy() == false) return;
 
@@ -849,6 +852,7 @@
                         MainPage.Log($"login callBackAction : {ex.Message}");
                     }
                 };
+               
 
                 var registerPage = new RegisterPage(autoLoginAction);
                 registerPage.Show();
@@ -863,6 +867,9 @@
         {
             btnForgetPassword.MouseUpEventHandler += (sender, e) =>
             {
+                //2020-12-22 澧炲姞鐐瑰嚮闅愯棌閿洏浜嬩欢
+                Application.HideSoftInput();
+
                 //鍒ゆ柇鏄惁鍚屾剰浜嗛殣绉佹斂绛�
                 if (CheckPrivacyPolicy() == false) return;
 
@@ -878,6 +885,7 @@
                         MainPage.Log($"login callBackAction : {ex.Message}");
                     }
                 };
+
                 var forgetPasswordDialog = new ForgetPasswordPage(autoLoginAction);
                 forgetPasswordDialog.Show();
                 forgetPasswordDialog.ShowDialog();

--
Gitblit v1.8.0