BasisColors.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. // ***********************************************************************
  2. // Assembly : HZH_Controls
  3. // Created : 2019-09-30
  4. //
  5. // ***********************************************************************
  6. // <copyright file="BasisColors.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.Linq;
  19. using System.Text;
  20. using System.Drawing;
  21. namespace HZH_Controls
  22. {
  23. /// <summary>
  24. /// Class BasisColors.
  25. /// </summary>
  26. public class BasisColors
  27. {
  28. /// <summary>
  29. /// The light
  30. /// </summary>
  31. private static Color light = ColorTranslator.FromHtml("#f5f7fa");
  32. /// <summary>
  33. /// Gets the light.
  34. /// </summary>
  35. /// <value>The light.</value>
  36. public static Color Light
  37. {
  38. get { return light; }
  39. internal set { light = value; }
  40. }
  41. /// <summary>
  42. /// The medium
  43. /// </summary>
  44. private static Color medium = ColorTranslator.FromHtml("#f0f2f5");
  45. /// <summary>
  46. /// Gets the medium.
  47. /// </summary>
  48. /// <value>The medium.</value>
  49. public static Color Medium
  50. {
  51. get { return medium; }
  52. internal set { medium = value; }
  53. }
  54. /// <summary>
  55. /// The dark
  56. /// </summary>
  57. private static Color dark = ColorTranslator.FromHtml("#000000");
  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. }
  68. }