From dee21bf452a8979d0515d13e534fbb69ed9715dd Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期二, 01 九月 2020 15:33:13 +0800 Subject: [PATCH] 上传一个版本 --- ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs index 7b002f1..d914a28 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs @@ -82,7 +82,7 @@ { frameMiddleBack = new NormalFrameLayout(); frameMiddleBack.Y = Application.GetRealHeight(363); - frameMiddleBack.Height = Application.GetRealHeight(1008); + frameMiddleBack.Height = Application.GetRealHeight(1008) - ControlCommonResourse.ListViewRowHeight - Application.GetRealHeight(12); frameMiddleBack.BackgroundColor = UserCenterColor.Current.White; bodyFrameLayout.AddChidren(frameMiddleBack); } @@ -228,7 +228,7 @@ var rowOther = new FrameRowControl(listMidFrame.rowSpace / 2); - listMidFrame.AddChidren(rowOther); + //listMidFrame.AddChidren(rowOther); //绗笁鏂硅处鍙� rowOther.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uAuthenticatedOtherPartyAccount), 400); //搴曠嚎 @@ -285,7 +285,7 @@ { var specialFrame = new FrameLayout(); specialFrame.Height = ControlCommonResourse.ListViewRowHeight; - specialFrame.Y = Application.GetRealHeight(1394); + specialFrame.Y = Application.GetRealHeight(1394) - ControlCommonResourse.ListViewRowHeight - Application.GetRealHeight(12); specialFrame.BackgroundColor = UserCenterColor.Current.White; bodyFrameLayout.AddChidren(specialFrame); @@ -317,7 +317,7 @@ /// 鏇存柊鐢ㄦ埛鍚� /// </summary> /// <param name="txtName"></param> - private async void SaveUserName(TextInputControl txtName, bool showMsg) + private void SaveUserName(TextInputControl txtName, bool showMsg) { if (UserCenterResourse.UserInfo.UserName == string.Empty) { @@ -334,7 +334,7 @@ var pra = new SaveUserNamePra(); pra.UserName = UserCenterResourse.UserInfo.UserName; - bool result = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/UpdateUserName", false, pra); + bool result = UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/UpdateUserName", false, pra); if (result == false) { return; @@ -403,10 +403,10 @@ /// </summary> /// <param name="btnUser"></param> /// <param name="imagePath"></param> - private async void UpLoadUserIconFile(ImageView btnUser, string imagePath) + private void UpLoadUserIconFile(ImageView btnUser, string imagePath) { var pra = new { HeadImage = Shared.IO.FileUtils.ReadFile(imagePath) }; - var result = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/UpdateHeadImage", false, pra); + var result = UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/UpdateHeadImage", false, pra); if (result == true) { UserCenterResourse.UserInfo.UserIconFileChanged = true; -- Gitblit v1.8.0