From 1a4b95a7ebef71838bd3eda2c22056bbf0db65ec Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 10 一月 2020 16:39:54 +0800
Subject: [PATCH] 2019阶段备份

---
 HDL_ON/UI/UI1-Login/UI/LoginPage.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/UI/LoginPage.cs b/HDL_ON/UI/UI1-Login/UI/LoginPage.cs
index 81e2830..34ca92b 100644
--- a/HDL_ON/UI/UI1-Login/UI/LoginPage.cs
+++ b/HDL_ON/UI/UI1-Login/UI/LoginPage.cs
@@ -145,7 +145,7 @@
         /// <summary>
         /// 鍔犺浇瑙嗗浘
         /// </summary>
-        public void LoadView()
+        public void LoadView(string account = "")
         {
             var btnIcon = new Button()
             {
@@ -171,6 +171,7 @@
 #if DEBUG
                 etAccount.Text = "464027401@qq.com";
                 etPassword.Text = "qqqqqq";
+                btnLogin.IsSelected = true;
 #endif
             };
 
@@ -245,6 +246,10 @@
             };
             accountView.AddChidren(etAccount);
 
+            if(account != "")
+            {
+                etAccount.Text = account;
+            }
 
             btnAccountViewBottomLine = new Button()
             {

--
Gitblit v1.8.0