| | |
| | | Height = Application.GetMinRealAverage(28), |
| | | UnSelectedImagePath = "Public/ChooseIcon.png", |
| | | SelectedImagePath = "Public/ChooseOnIcon.png", |
| | | IsSelected = OnAppConfig.Instance.isAgreePrivacyPolicy, |
| | | Gravity = Gravity.Center |
| | | IsSelected = false, |
| | | Gravity = Gravity.Center, |
| | | }; |
| | | agreeView.AddChidren(agreeBtn); |
| | | |
| | |
| | | if (agreeBtn.IsSelected) |
| | | { |
| | | UserInfo.Current.doorPasswordString = password; |
| | | UserInfo.Current.LastTimeOpenDoor = DateTime.Now; |
| | | } |
| | | Control.Ins.OneKeyUnlocking(this.device, etPassword.Text.Trim()); |
| | | this.RemoveFromParent(); |