| | |
| | | Width = Application.GetMinRealAverage(84), |
| | | Height = Application.GetMinRealAverage(84), |
| | | Radius = (uint)Application.GetMinRealAverage(42), |
| | | ImagePath = MainPage.LoginUser.headImagePagePath, |
| | | ImagePath = UserInfo.Current.headImagePagePath, |
| | | }; |
| | | headPortraitView.AddChidren(userHeadImageView); |
| | | |
| | |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | Text = string.IsNullOrEmpty(MainPage.LoginUser.userName) ? Language.StringByID(StringId.UsersWhoNameIsEmpty) : MainPage.LoginUser.userName |
| | | Text = string.IsNullOrEmpty( UserInfo.Current.userName) ? Language.StringByID(StringId.UsersWhoNameIsEmpty) : UserInfo.Current.userName |
| | | }; |
| | | userNameView.AddChidren(btnUserName); |
| | | /// <summary> |
| | |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | Text = GetBindAccountText(MainPage.LoginUser.userEmailInfo) |
| | | Text = GetBindAccountText( UserInfo.Current.userEmailInfo) |
| | | }; |
| | | userEmailInfoView.AddChidren(btnUserEmailInfo); |
| | | /// <summary> |
| | |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | Text = GetBindAccountText(MainPage.LoginUser.userMobileInfo) |
| | | Text = GetBindAccountText( UserInfo.Current.userMobileInfo) |
| | | }; |
| | | userPhoneInfoView.AddChidren(btnUserPhoneInfo); |
| | | /// <summary> |