| | |
| | | btnConfirm.MouseUpEventHandler += (dou, ni) => { |
| | | string password = etPw.Text.Trim (); |
| | | if (string.IsNullOrEmpty (password)) { |
| | | Utlis.ShowAlertOnMainThread (Language.StringByID (R.MyInternationalizationString.PasswordIsEmpty)); |
| | | return; |
| | | } |
| | | System.Threading.Tasks.Task.Run (() => { |
| | |
| | | MainPage.Loading.Start ("Please wait..."); |
| | | }); |
| | | |
| | | var revertObj = HttpServerRequest.Current.LoginByPassword (MainPage.LoginUser.AccountString, MainPage.LoginUser.Password); |
| | | var revertObj = HttpServerRequest.Current.LoginByPassword (MainPage.LoginUser.AccountString, password); |
| | | if (revertObj.Code == StateCode.SUCCESS) { |
| | | //删除住宅 |
| | | var revertObj2 = HttpServerRequest.Current.DeleteHome (home.Id); |