// *********************************************************************** // Assembly : HZH_Controls // Created : 2019-09-30 // // *********************************************************************** // // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com // // // 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 { /// /// 状态颜色 /// public class StatusColors { /// /// The primary /// private static Color _Primary = ColorTranslator.FromHtml("#409eff"); /// /// Gets or sets the primary. /// /// The primary. public static Color Primary { get { return _Primary; } internal set { _Primary = value; } } /// /// The success /// private static Color _Success = ColorTranslator.FromHtml("#67c23a"); /// /// Gets or sets the success. /// /// The success. public static Color Success { get { return _Success; } internal set { _Success = value; } } /// /// The warning /// private static Color _Warning = ColorTranslator.FromHtml("#e6a23c"); /// /// Gets or sets the warning. /// /// The warning. public static Color Warning { get { return _Warning; } internal set { _Warning = value; } } /// /// The danger /// private static Color _Danger = ColorTranslator.FromHtml("#f56c6c"); /// /// Gets or sets the danger. /// /// The danger. public static Color Danger { get { return _Danger; } internal set { _Danger = value; } } /// /// The information /// private static Color _Info = ColorTranslator.FromHtml("#909399"); /// /// Gets or sets the information. /// /// The information. public static Color Info { get { return _Info; } internal set { _Info = value; } } } }