| | |
| | | using System; |
| | | using System.Text.RegularExpressions; |
| | | using System.Threading; |
| | | using HDL_ON.DAL.Server; |
| | | using HDL_ON.UI.CSS; |
| | |
| | | string registerPhone; |
| | | string registerEmail; |
| | | |
| | | public void VerfifyLogin(string account ) |
| | | { |
| | | verAccount = account; |
| | | LoadView(account); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 加载视图 |
| | | /// </summary> |
| | | public void LoadView(string account = "") |
| | | public void LoadView(UserInfo userInfo = null) |
| | | { |
| | | Language.CurrentLanguage = "Chinese"; |
| | | |
| | | var btnIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(28), |
| | |
| | | }; |
| | | accountView.AddChidren(etAccount); |
| | | |
| | | if (account != "") |
| | | if (userInfo != null) |
| | | { |
| | | etAccount.Text = account; |
| | | registerEmail = userInfo.userEmailInfo; |
| | | etAccount.Text = registerPhone = userInfo.userMobileInfo; |
| | | } |
| | | |
| | | btnAccountViewBottomLine = new Button() |