/* UNI-Trend Oscilloscope(MSO7000X) Host自定义控件库
* CopyRight:UN-ITrend
* Gitee:https://gitee.com/wang_changjie_101/nav-bar-group-test
* ***********************************************
* 文件名称:UIStyleDefine.cs
* 文件说明:UI风格统一定义类
* 当前版本:V1.0
* 创建日期:20210519
*/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Uni_Trend.MSO7000X.UserControls
{
public class UIStyleDefine
{
//外观常量定义
///
/// 标题区域的背景颜色
///
public static Color TitleBackColor = Color.FromArgb(0xFF, 0x29, 0x2A, 0x2D);
///
/// 内容区域的背景颜色
///
public static Color ContextBackColor = Color.FromArgb(0xFF, 0x0F, 0x0F, 0x0F);
///
/// 控件对应的蓝色
///
public static Color ControlBlueColor = Color.FromArgb(0xFF, 0, 0x9D, 0xFF);
}
///
/// 圆角位置
///
public enum UICornerRadiusSides
{
///
/// 四个角都有圆角。
///
All = 15, // 0x0000000F
///
/// 左下角有圆角
///
LeftBottom = 8,
///
/// 左上角有圆角
///
LeftTop = 1,
///
/// 右下角有圆角
///
RightBottom = 4,
///
/// 右上角有圆角
///
RightTop = 2,
///
/// 没有圆角
///
None = 0,
}
}