| | |
| | | #region 个人信息 |
| | | topbg = new FrameLayout() |
| | | { |
| | | Y = Application.GetRealHeight(-10), |
| | | Height = Application.GetRealHeight(150), |
| | | Radius = 12, |
| | | Y = Application.GetRealHeight(-20), |
| | | Height = Application.GetRealHeight(160), |
| | | Radius = 16, |
| | | BorderColor = 0x00FFFFFF, |
| | | BorderWidth = 0, |
| | | BackgroundColor = CSS_Color.MainColor, |
| | |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | Text = MainPage.LoginUser.UserName, |
| | | Text ="不愿意透露姓名的用户" |
| | | }; |
| | | personalInfoView.AddChidren(btnUserName); |
| | | |
| | | if (!string.IsNullOrEmpty(MainPage.LoginUser.UserName)) |
| | | { |
| | | btnUserName.Text = MainPage.LoginUser.UserName; |
| | | } |
| | | btnEmail = new Button() |
| | | { |
| | | Y = btnUserName.Bottom, |
| | |
| | | btnCurResidenceName = new Button() { |
| | | X = btnResidenceDownIcon.Right+ Application.GetRealWidth(1), |
| | | Y = Application.GetRealHeight(10), |
| | | Width = Application.GetRealWidth(120), |
| | | Width = Application.GetRealWidth(240), |
| | | Height = Application.GetRealHeight(45), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.EmphasisFontSize_FirstLevel, |
| | | Text = UserConfig.Instance.CurrentRegion.RegionName, |
| | | Text = UserConfig.Instance.CurrentRegion.Name, |
| | | }; |
| | | residenceInfoView.AddChidren(btnCurResidenceName); |
| | | |
| | |
| | | residenceAuxiliaryFunctionView.AddChidren(residenceAuxiliaryFunctionText); |
| | | #endregion |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | #endregion |
| | | |
| | |
| | | |
| | | #endregion |
| | | |
| | | |
| | | LoadEventList(); |
| | | } |
| | | } |
| | | } |