HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2019-11-13 8b9ce384b26c414db32f98e94e088f5334869c2d
ZigbeeApp/Shared/Phone/UserCenter/Member/AddMemberInfoForm.cs
@@ -43,12 +43,19 @@
            //清空bodyFrame
            this.ClearBodyFrame();
            string iconPath = System.IO.Path.Combine(UserCenterResourse.Option.UserPictruePath, memberResult.DistributedMark + ".png");
            //写入头像内容
            Shared.IO.FileUtils.WriteFileByBytes(iconPath, memberResult.HeadImage);
            //头像
            var btnIcon = new PicViewControl(207, 207);
            btnIcon.UnSelectedImagePath = "Center/Admin.png";
            btnIcon.Y = Application.GetRealHeight(219);
            btnIcon.Gravity = Gravity.CenterHorizontal;
            bodyFrameLayout.AddChidren(btnIcon);
            var btnUserIcon = new ImageView();
            btnUserIcon.Height = Application.GetMinRealAverage(207);
            btnUserIcon.Width = Application.GetMinRealAverage(207);
            btnUserIcon.Radius = (uint)Application.GetMinRealAverage(207) / 2;
            btnUserIcon.ImagePath = iconPath;
            btnUserIcon.Y = Application.GetRealHeight(219);
            btnUserIcon.Gravity = Gravity.CenterHorizontal;
            bodyFrameLayout.AddChidren(btnUserIcon);
            //成员ID
            var btnUserId = new NormalViewControl(800, 50, true);