| | |
| | | /// 画面显示(底层会固定调用此方法,借以完成画面创建)
|
| | | /// </summary>
|
| | | /// <param name="i_memberResult">成员信息</param>
|
| | | /// <param name="i_iconMark">头像的Mark</param>
|
| | | public void ShowForm(MemberInfoRes i_memberResult, string i_iconMark)
|
| | | public void ShowForm(MemberInfoRes i_memberResult)
|
| | | {
|
| | | this.memberResult = i_memberResult;
|
| | |
|
| | | //初始化中部控件
|
| | | this.InitMiddleFrame(i_iconMark);
|
| | | this.InitMiddleFrame(i_memberResult.ChildAccountId);
|
| | | }
|
| | |
|
| | |
|
| | |
| | | bodyFrameLayout.AddChidren(frame);
|
| | |
|
| | | //用户图标
|
| | | string iconPath = System.IO.Path.Combine(UserCenterResourse.AccountOption.UserPictruePath, i_iconMark + ".png");
|
| | | string iconPath = System.IO.Path.Combine(HdlFileNameResourse.UserPictrueDirectory, i_iconMark + ".png");
|
| | | var btnUserIcon = new ImageView();
|
| | | btnUserIcon.Height = this.GetPictrueRealSize(207);
|
| | | btnUserIcon.Width = this.GetPictrueRealSize(207);
|
| | |
| | | btnName.Y = Application.GetRealHeight(334);
|
| | | btnName.TextColor = UserCenterColor.Current.TextColor2;
|
| | | btnName.TextSize = 16;
|
| | | btnName.Text = memberResult.UserName;
|
| | | if (string.IsNullOrEmpty(memberResult.UserName) == true)
|
| | | {
|
| | | btnName.Text = memberResult.Account;
|
| | | }
|
| | | btnName.Text = memberResult.ShowName;
|
| | | frame.AddChidren(btnName);
|
| | |
|
| | | //权限
|