| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | Radius = (uint)Application.GetRealHeight (0), |
| | | TextColor = SkinStyle.Current.TextColor1, |
| | | //Text = account, |
| | | #if DEBUG |
| | | Text = "18926269190@189.cn" |
| | | //Text = "721343314@qq.com" |
| | | #endif |
| | | Text = account, |
| | | |
| | | }; |
| | | #if DEBUG |
| | | //Text = "18926269190@189.cn" |
| | | etAccount.Text = "721343314@qq.com"; |
| | | #endif |
| | | |
| | | accountView.AddChidren (etAccount); |
| | | |
| | | var userConfigBytes = IO.FileUtils.ReadFile ("AccountListDB"); |
| | |
| | | accountListDB = new AccountListDB (); |
| | | } |
| | | var accountList = accountListDB.account; |
| | | |
| | | |
| | | |
| | | var accountListView = new VerticalScrolViewLayout () { |
| | | Width = Application.GetRealWidth (500), |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | SecureTextEntry = true, |
| | | TextColor = SkinStyle.Current.TextColor1, |
| | | #if DEBUG |
| | | Text = "123456" |
| | | #endif |
| | | //Text = password, |
| | | |
| | | Text = password, |
| | | }; |
| | | #if DEBUG |
| | | etPasswrod.Text = "123456"; |
| | | #endif |
| | | passwrodView.AddChidren (etPasswrod); |
| | | |
| | | Button btnShowPassword = new Button () { |
| | |
| | | NigelLoginPass++; |
| | | }; |
| | | #endif |
| | | //if (accountList.Count > 0) { |
| | | // etAccount.Text = accountList [accountList.Count-1]; |
| | | //} |
| | | |
| | | etAccount.EditorEnterAction += (obj) => { |
| | | Application.HideSoftInput (); |
| | | etPasswrod.Foucs = true; |
| | |
| | | { |
| | | UserConfig.Instance.SaveUserConfig (); |
| | | MainPage.LoginUser.LastTime = DateTime.Now; |
| | | //MainPage.IsOtherDevicesLogin = false; |
| | | |
| | | if (UserConfig.Instance.CheckHomeGatewaysNotEmpty ()) { |
| | | UserConfig.Instance.HomeLists = revertRoomData; |