| | |
| | | personalInfoView.AddChidren(btnUserName); |
| | | if (!string.IsNullOrEmpty(MainPage.LoginUser.userName)) |
| | | { |
| | | btnUserName.Text = MainPage.LoginUser.userName;; |
| | | btnUserName.Text = MainPage.LoginUser.userName; ; |
| | | } |
| | | btnEmail = new Button() |
| | | { |
| | |
| | | Height = Application.GetRealHeight(400), |
| | | }; |
| | | bodyView.AddChidren(contentView); |
| | | LoadContentView(); |
| | | } |
| | | |
| | | public void LoadContentView() |
| | | { |
| | | contentView.RemoveAll(); |
| | | |
| | | #region 住宅信息区域 |
| | | if (!DB_ResidenceData.residenceData.residecenInfo.IsOthreShare) |
| | |
| | | { |
| | | X = Application.GetRealWidth(48), |
| | | Width = Application.GetRealWidth(270), |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealWidth(44), |
| | | TextID = StringId.NightView, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | |
| | | Button btnGeneralSettingsIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(12), |
| | | Y = Application.GetRealHeight(54), |
| | | Y = Application.GetRealWidth(54), |
| | | Width = Application.GetMinRealAverage(24), |
| | | Height = Application.GetMinRealAverage(24), |
| | | UnSelectedImagePath = "PersonalCenter/GeneralSettingsIcon.png", |
| | |
| | | X = Application.GetRealWidth(48), |
| | | Y = btnSoftSettingViewLine.Bottom, |
| | | Width = Application.GetRealWidth(270), |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealWidth(44), |
| | | TextID = StringId.GeneralSettings, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | |
| | | { |
| | | X = Application.GetRealWidth(48), |
| | | Width = Application.GetRealWidth(270), |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealWidth(44), |
| | | TextID = StringId.GetSupport, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | |
| | | Button btnAboutOnIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(12), |
| | | Y = Application.GetRealHeight(54), |
| | | Y = Application.GetRealWidth(54), |
| | | Width = Application.GetMinRealAverage(24), |
| | | Height = Application.GetMinRealAverage(24), |
| | | UnSelectedImagePath = "PersonalCenter/InfoOnIcon.png", |
| | |
| | | X = Application.GetRealWidth(48), |
| | | Y = btnSoftSettingViewLine.Bottom, |
| | | Width = Application.GetRealWidth(270), |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealWidth(44), |
| | | TextID = StringId.AboutOn, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |