123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- // ***********************************************************************
- // Assembly : HZH_Controls
- // Created : 2019-09-30
- //
- // ***********************************************************************
- // <copyright file="GradientColors.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>
- /// Class GradientColors.
- /// </summary>
- public class GradientColors
- {
- /// <summary>
- /// The orange
- /// </summary>
- private static Color[] orange = new Color[] { Color.FromArgb(252, 196, 136), Color.FromArgb(243, 138, 159) };
- /// <summary>
- /// Gets the orange.
- /// </summary>
- /// <value>The orange.</value>
- public static Color[] Orange
- {
- get { return GradientColors.orange; }
- internal set { GradientColors.orange = value; }
- }
- /// <summary>
- /// The light green
- /// </summary>
- private static Color[] lightGreen = new Color[] { Color.FromArgb(210, 251, 123), Color.FromArgb(152, 231, 160) };
- /// <summary>
- /// Gets the light green.
- /// </summary>
- /// <value>The light green.</value>
- public static Color[] LightGreen
- {
- get { return GradientColors.lightGreen; }
- internal set { GradientColors.lightGreen = value; }
- }
- /// <summary>
- /// The green
- /// </summary>
- private static Color[] green = new Color[] { Color.FromArgb(138, 241, 124), Color.FromArgb(32, 190, 179) };
- /// <summary>
- /// Gets the green.
- /// </summary>
- /// <value>The green.</value>
- public static Color[] Green
- {
- get { return GradientColors.green; }
- internal set { GradientColors.green = value; }
- }
- /// <summary>
- /// The blue
- /// </summary>
- private static Color[] blue = new Color[] { Color.FromArgb(193, 232, 251), Color.FromArgb(162, 197, 253) };
- /// <summary>
- /// Gets the blue.
- /// </summary>
- /// <value>The blue.</value>
- public static Color[] Blue
- {
- get { return GradientColors.blue; }
- internal set { GradientColors.blue = value; }
- }
- /// <summary>
- /// The blue green
- /// </summary>
- private static Color[] blueGreen = new Color[] { Color.FromArgb(122, 251, 218), Color.FromArgb(16, 193, 252) };
- /// <summary>
- /// Gets the blue green.
- /// </summary>
- /// <value>The blue green.</value>
- public static Color[] BlueGreen
- {
- get { return GradientColors.blueGreen; }
- internal set { GradientColors.blueGreen = value; }
- }
- /// <summary>
- /// The light violet
- /// </summary>
- private static Color[] lightViolet = new Color[] { Color.FromArgb(248, 192, 234), Color.FromArgb(164, 142, 210) };
- /// <summary>
- /// Gets the light violet.
- /// </summary>
- /// <value>The light violet.</value>
- public static Color[] LightViolet
- {
- get { return GradientColors.lightViolet; }
- internal set { GradientColors.lightViolet = value; }
- }
- /// <summary>
- /// The violet
- /// </summary>
- private static Color[] violet = new Color[] { Color.FromArgb(185, 154, 241), Color.FromArgb(137, 124, 242) };
- /// <summary>
- /// Gets the violet.
- /// </summary>
- /// <value>The violet.</value>
- public static Color[] Violet
- {
- get { return GradientColors.violet; }
- internal set { GradientColors.violet = value; }
- }
- /// <summary>
- /// The gray
- /// </summary>
- private static Color[] gray = new Color[] { Color.FromArgb(233, 238, 239), Color.FromArgb(147, 162, 175) };
- /// <summary>
- /// Gets the gray.
- /// </summary>
- /// <value>The gray.</value>
- public static Color[] Gray
- {
- get { return GradientColors.gray; }
- internal set { GradientColors.gray = value; }
- }
- }
- }
|