TextColors.cs 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // ***********************************************************************
  2. // Assembly : HZH_Controls
  3. // Created : 2019-09-30
  4. //
  5. // ***********************************************************************
  6. // <copyright file="TextColors.cs">
  7. // Copyright by Huang Zhenghui(黄正辉) All, QQ group:568015492 QQ:623128629 Email:623128629@qq.com
  8. // </copyright>
  9. //
  10. // Blog: https://www.cnblogs.com/bfyx
  11. // GitHub:https://github.com/kwwwvagaa/NetWinformControl
  12. // gitee:https://gitee.com/kwwwvagaa/net_winform_custom_control.git
  13. //
  14. // If you use this code, please keep this note.
  15. // ***********************************************************************
  16. using System;
  17. using System.Collections.Generic;
  18. using System.Drawing;
  19. using System.Linq;
  20. using System.Text;
  21. namespace HZH_Controls
  22. {
  23. /// <summary>
  24. /// Class TextColor.
  25. /// </summary>
  26. public class TextColors
  27. {
  28. /// <summary>
  29. /// The more light
  30. /// </summary>
  31. private static Color _MoreLight = ColorTranslator.FromHtml("#c0c4cc");
  32. /// <summary>
  33. /// Gets the more light.
  34. /// </summary>
  35. /// <value>The more light.</value>
  36. public static Color MoreLight
  37. {
  38. get { return _MoreLight; }
  39. internal set { _MoreLight = value; }
  40. }
  41. /// <summary>
  42. /// The light
  43. /// </summary>
  44. private static Color _Light = ColorTranslator.FromHtml("#909399");
  45. /// <summary>
  46. /// Gets the light.
  47. /// </summary>
  48. /// <value>The light.</value>
  49. public static Color Light
  50. {
  51. get { return _Light; }
  52. internal set { _Light = value; }
  53. }
  54. /// <summary>
  55. /// The dark
  56. /// </summary>
  57. private static Color _Dark = ColorTranslator.FromHtml("#606266");
  58. /// <summary>
  59. /// Gets the dark.
  60. /// </summary>
  61. /// <value>The dark.</value>
  62. public static Color Dark
  63. {
  64. get { return _Dark; }
  65. internal set { _Dark = value; }
  66. }
  67. /// <summary>
  68. /// The more dark
  69. /// </summary>
  70. private static Color _MoreDark = ColorTranslator.FromHtml("#303133");
  71. /// <summary>
  72. /// Gets the more dark.
  73. /// </summary>
  74. /// <value>The more dark.</value>
  75. public static Color MoreDark
  76. {
  77. get { return _MoreDark; }
  78. internal set { _MoreDark = value; }
  79. }
  80. }
  81. }