| | |
| | | }; |
| | | } |
| | | /// <summary> |
| | | /// 协议管理顶部 |
| | | /// 带撤销同意按钮 |
| | | /// </summary> |
| | | public void LoadTopView_WithdrawalConsent(Action withdrawalConsentAction) |
| | | { |
| | | LoadTopView(); |
| | | |
| | | var btnAddIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(352-100), |
| | | Y = Application.GetRealHeight(29), |
| | | Width = Application.GetMinRealAverage(100), |
| | | Height = Application.GetMinRealAverage(28), |
| | | TextID = StringId.WithdrawalConsent, |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | TextColor = CSS_Color.MainColor, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | }; |
| | | contentView.AddChidren(btnAddIcon); |
| | | |
| | | btnAddIcon.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | withdrawalConsentAction?.Invoke(); |
| | | }; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 成员顶部栏 |
| | | /// </summary> |
| | | public void LoadTopView_MemberTopView(Action addAction, Action action) |