| | |
| | | public partial class MemberPermissionPage : FrameLayout |
| | | { |
| | | MemberPermissionPage bodyView; |
| | | Button btnDelMember; |
| | | |
| | | ResidenceMemberInfo memberInfo; |
| | | |
| | | public MemberPermissionPage(ResidenceMemberInfo mInfo) |
| | | Action backAction; |
| | | |
| | | public MemberPermissionPage(ResidenceMemberInfo mInfo,Action action) |
| | | { |
| | | bodyView = this; |
| | | memberInfo = mInfo; |
| | | backAction = action; |
| | | } |
| | | |
| | | public void LoadPage() |
| | |
| | | |
| | | #endregion |
| | | |
| | | btnDelMember = new Button() |
| | | { |
| | | Y = Application.GetRealHeight(617), |
| | | Height = MainPage.Increase ? Application.GetRealHeight(70) : Application.GetRealHeight(50), |
| | | TextAlignment = TextAlignment.Center, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.WarningColor, |
| | | TextID = StringId.RemoveTheMember, |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | bodyView.AddChidren(btnDelMember); |
| | | |
| | | LoadEventList(); |
| | | } |
| | | } |
| | | } |