DefaultTheme.01.CommonColor.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using System.Drawing;
  2. namespace Microsoft.Windows.Forms
  3. {
  4. static partial class DefaultTheme
  5. {
  6. /// <summary>
  7. /// 透明色
  8. /// </summary>
  9. public static Color Transparent = Color.Transparent;
  10. /// <summary>
  11. /// 透明色
  12. /// </summary>
  13. public const string _Transparent = "Transparent";
  14. /// <summary>
  15. /// 半透明色,透明度高高
  16. /// </summary>
  17. public static Color DarkDarkTransparent = Color.FromArgb(20, 255, 255, 255);
  18. /// <summary>
  19. /// 半透明色,透明度高高
  20. /// </summary>
  21. public const string _DarkDarkTransparent = "20, 255, 255, 255";
  22. /// <summary>
  23. /// 半透明色,透明度高
  24. /// </summary>
  25. public static Color DarkTransparent = Color.FromArgb(40, 255, 255, 255);
  26. /// <summary>
  27. /// 半透明色,透明度高
  28. /// </summary>
  29. public const string _DarkTransparent = "40, 255, 255, 255";
  30. /// <summary>
  31. /// 半透明颜色,透明度低
  32. /// </summary>
  33. public static Color LightTransparent = Color.FromArgb(60, 255, 255, 255);
  34. /// <summary>
  35. /// 半透明颜色,透明度低
  36. /// </summary>
  37. public const string _LightTransparent = "60, 255, 255, 255";
  38. /// <summary>
  39. /// 半透明颜色,透明度低低
  40. /// </summary>
  41. public static Color LightLightTransparent = Color.FromArgb(80, 255, 255, 255);
  42. /// <summary>
  43. /// 半透明颜色,透明度低低
  44. /// </summary>
  45. public const string _LightLightTransparent = "80, 255, 255, 255";
  46. }
  47. }