RaUI/Source/ryControls/Controls/SkinCommon.cs

42 lines
982 B
C#
Raw Normal View History

2020-11-28 07:03:28 +00:00
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace ryControls.Skin
{
/// <summary>
///皮肤公共类
/// </summary>
public class SkinCommon
{
/// <summary>
/// 是否使用默认皮肤
/// </summary>
public static bool UseDefSkin = true;
/// <summary>
/// 按钮皮肤
/// </summary>
public static ButtonSkinInfo ButtonSkin = new ButtonSkinInfo();
}
/// <summary>
/// 按钮皮肤类
/// </summary>
public class ButtonSkinInfo
{
/// <summary>
/// 背景颜色
/// </summary>
public Color BackColor = Color.FromArgb(51, 76, 95);
/// <summary>
/// 字体颜色
/// </summary>
public Color ForeColor = Color.White;
/// <summary>
/// 是否颜色渐变
/// </summary>
public bool ColorGradient = false;
2020-11-28 07:03:28 +00:00
}
}