| | |
| | | /// 保存按钮事件需要将 |
| | | /// </summary> |
| | | /// <param name="callBackAction">回调函数</param> |
| | | public void LoadDialog_EditParater(int titleId, string editParater, Action<string> callBackAction, int errorId_IsNullOrEmpty, int errorId_ContainsPar, List<string> baseList, bool encryption = false) |
| | | public void LoadDialog_EditParater(int titleId, string editParater, Action<string> callBackAction, int errorId_IsNullOrEmpty, int errorId_ContainsPar, List<string> baseList, bool encryption = false, string confirmText = "") |
| | | { |
| | | Dialog dialog = new Dialog() |
| | | { |
| | |
| | | TextID = StringId.Confirm, |
| | | }; |
| | | contentView.AddChidren(btnConfirm); |
| | | |
| | | //自定义btnConfirm标题 |
| | | if (!string.IsNullOrEmpty(confirmText)) |
| | | { |
| | | btnConfirm.Text = confirmText; |
| | | } |
| | | |
| | | int mRectCornerID = HDLUtils.RectCornerBottomRight; |
| | | btnConfirm.SetCornerWithSameRadius((uint)Application.GetMinRealAverage(10), mRectCornerID); |
| | | |