123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- // ***********************************************************************
- // Assembly : HZH_Controls
- // Created : 2019-09-30
- //
- // ***********************************************************************
- // <copyright file="StatusColors.cs">
- // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
- // </copyright>
- //
- // Blog: https://www.cnblogs.com/bfyx
- // GitHub:https://github.com/kwwwvagaa/NetWinformControl
- // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
- //
- // If you use this code, please keep this note.
- // ***********************************************************************
- using System;
- using System.Collections.Generic;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- namespace HZH_Controls
- {
- /// <summary>
- /// 状态颜色
- /// </summary>
- public class StatusColors
- {
- /// <summary>
- /// The primary
- /// </summary>
- private static Color _Primary = ColorTranslator.FromHtml("#409eff");
- /// <summary>
- /// Gets or sets the primary.
- /// </summary>
- /// <value>The primary.</value>
- public static Color Primary
- {
- get { return _Primary; }
- internal set { _Primary = value; }
- }
- /// <summary>
- /// The success
- /// </summary>
- private static Color _Success = ColorTranslator.FromHtml("#67c23a");
- /// <summary>
- /// Gets or sets the success.
- /// </summary>
- /// <value>The success.</value>
- public static Color Success
- {
- get { return _Success; }
- internal set { _Success = value; }
- }
- /// <summary>
- /// The warning
- /// </summary>
- private static Color _Warning = ColorTranslator.FromHtml("#e6a23c");
- /// <summary>
- /// Gets or sets the warning.
- /// </summary>
- /// <value>The warning.</value>
- public static Color Warning
- {
- get { return _Warning; }
- internal set { _Warning = value; }
- }
- /// <summary>
- /// The danger
- /// </summary>
- private static Color _Danger = ColorTranslator.FromHtml("#f56c6c");
- /// <summary>
- /// Gets or sets the danger.
- /// </summary>
- /// <value>The danger.</value>
- public static Color Danger
- {
- get { return _Danger; }
- internal set { _Danger = value; }
- }
- /// <summary>
- /// The information
- /// </summary>
- private static Color _Info = ColorTranslator.FromHtml("#909399");
- /// <summary>
- /// Gets or sets the information.
- /// </summary>
- /// <value>The information.</value>
- public static Color Info
- {
- get { return _Info; }
- internal set { _Info = value; }
- }
- }
- }
|