| | |
| | | }
|
| | |
|
| | | #endregion |
| | |
|
| | | #region ■ 添加删除控件_______________________ |
| | | |
| | | /// <summary>
|
| | | /// 添加删除控件
|
| | | /// </summary>
|
| | | /// <returns></returns> |
| | | public NormalViewControl AddDeleteControl()
|
| | | {
|
| | | //删除
|
| | | var btnDelete = new NormalViewControl(Application.GetRealWidth(184), this.Height, false);
|
| | | btnDelete.BackgroundColor = 0xfff75858;
|
| | | btnDelete.TextSize = 12;
|
| | | btnDelete.TextColor = UserCenterColor.Current.White;
|
| | | btnDelete.TextAlignment = TextAlignment.Center;
|
| | | btnDelete.TextID = R.MyInternationalizationString.uDelete;
|
| | | this.AddRightView(btnDelete);
|
| | |
|
| | | return btnDelete;
|
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region ■ 添加编辑控件_______________________ |
| | | |
| | | /// <summary>
|
| | | /// 添加编辑控件
|
| | | /// </summary>
|
| | | /// <returns></returns> |
| | | public NormalViewControl AddEditorControl()
|
| | | {
|
| | | var btnEditor = new NormalViewControl(Application.GetRealWidth(184), this.Height, false);
|
| | | btnEditor.BackgroundColor = 0xff4a4a4a;
|
| | | btnEditor.TextSize = 12;
|
| | | btnEditor.TextColor = UserCenterColor.Current.White;
|
| | | btnEditor.TextAlignment = TextAlignment.Center;
|
| | | btnEditor.TextID = R.MyInternationalizationString.uEditor;
|
| | | this.AddRightView(btnEditor);
|
| | |
|
| | | return btnEditor;
|
| | | } |
| | | |
| | | #endregion |
| | |
|
| | | } |
| | | } |