| | |
| | | |
| | | #endregion |
| | | |
| | | #region 检测更新 |
| | | #region ■ 检测更新_______________________ |
| | | /// <summary> |
| | | /// 检测更新线程 |
| | | /// </summary> |
| | |
| | | } |
| | | } |
| | | |
| | | #region 推送处理 |
| | | #region ■ 推送处理_______________________ |
| | | /// <summary> |
| | | /// 推送消息处理 |
| | | /// </summary> |
| | |
| | | |
| | | #endregion |
| | | |
| | | #region ■ 常用方法_______________________ |
| | | /// <summary> |
| | | /// 设置下划线按钮状态 |
| | | /// 统一封装设置方法 |
| | | /// </summary> |
| | | /// <param name="button">下划线按钮</param> |
| | | /// <param name="bottomLineType">状态</param> |
| | | public void BottomLineShowType(Button button, BottomLineType bottomLineType) |
| | | { |
| | | switch (bottomLineType) |
| | | { |
| | | case BottomLineType.GotFocus: |
| | | button.BackgroundColor = CSS_Color.MainColor; |
| | | button.Height = Application.GetRealHeight(2); |
| | | break; |
| | | case BottomLineType.Error: |
| | | button.BackgroundColor = CSS_Color.AuxiliaryColor2; |
| | | button.Height = Application.GetRealHeight(2); |
| | | break; |
| | | case BottomLineType.Normal: |
| | | button.BackgroundColor = CSS_Color.DividingLineColor; |
| | | button.Height = Application.GetRealHeight(1); |
| | | break; |
| | | default: |
| | | button.BackgroundColor = CSS_Color.DividingLineColor; |
| | | button.Height = Application.GetRealHeight(1); |
| | | break; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |