Source/Rendering/Office2010ColorTable.cs

(完整代码) 1KB

using System;
using System.Text;
using System.Drawing;

namespace DevComponents.DotNetBar.Rendering
{
    /// <summary>
    /// Represents color table for Office 2010 style.
    /// </summary>
    public class Office2010ColorTable: Office2007ColorTable
    {
        /// <summary>
        /// Initializes a new instance of the Office2010ColorTable class.
        /// </summary>
        public Office2010ColorTable()
        {
            Office2010BlueFactory.InitializeBlueColorTable(this, ColorFactory.Empty);
        }

        public Office2010ColorTable(eOffice2010ColorScheme color)
        {
            Office2010BlueFactory.InitializeBlueColorTable(this, ColorFactory.Empty);
        }

        public Office2010ColorTable(eOffice2010ColorScheme color, Color blendColor)
        {
            Office2010BlueFactory.InitializeBlueColorTable(this, new ColorBlendFactory(blendColor));
        }
    }

    /// <summary>
    /// Defines the color scheme type for the Office2010ColorTable.
    /// </summary>
    public enum eOffice2010ColorScheme
    {
        /// <summary>
        /// Blue color scheme.
        /// </summary>
        Blue
    }

}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。