| | |
| | |
|
| | | //头像
|
| | | var btnUserIcon = new ImageView();
|
| | | btnUserIcon.Height = Application.GetMinRealAverage(207);
|
| | | btnUserIcon.Width = Application.GetMinRealAverage(207);
|
| | | btnUserIcon.Radius = (uint)Application.GetMinRealAverage(207) / 2;
|
| | | btnUserIcon.Height = this.GetPictrueRealSize(207);
|
| | | btnUserIcon.Width = this.GetPictrueRealSize(207);
|
| | | btnUserIcon.Radius = (uint)this.GetPictrueRealSize(207) / 2;
|
| | | if (memberResult.HeadImage != null)
|
| | | {
|
| | | btnUserIcon.ImageBytes = memberResult.HeadImage;
|
| | |
| | | UserCenterResourse.ListMemberInfo.Add(memberInfoRes);
|
| | | UserCenterLogic.SaveLocalMemberListInfo();
|
| | |
|
| | | string iconPath = System.IO.Path.Combine(UserCenterResourse.Option.UserPictruePath, memberInfoRes.DistributedMark + ".png");
|
| | | string iconPath = System.IO.Path.Combine(UserCenterResourse.AccountOption.UserPictruePath, memberInfoRes.DistributedMark + ".png");
|
| | | if (memberResult.HeadImage != null)
|
| | | {
|
| | | //写入头像内容
|