1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- /* 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
- {
- //外观常量定义
- /// <summary>
- /// 标题区域的背景颜色
- /// </summary>
- public static Color TitleBackColor = Color.FromArgb(0xFF, 0x29, 0x2A, 0x2D);
- /// <summary>
- /// 内容区域的背景颜色
- /// </summary>
- public static Color ContextBackColor = Color.FromArgb(0xFF, 0x0F, 0x0F, 0x0F);
- /// <summary>
- /// 控件对应的蓝色
- /// </summary>
- public static Color ControlBlueColor = Color.FromArgb(0xFF, 0, 0x9D, 0xFF);
- }
- /// <summary>
- /// 圆角位置
- /// </summary>
- public enum UICornerRadiusSides
- {
- /// <summary>
- /// 四个角都有圆角。
- /// </summary>
- All = 15, // 0x0000000F
- /// <summary>
- /// 左下角有圆角
- /// </summary>
- LeftBottom = 8,
- /// <summary>
- /// 左上角有圆角
- /// </summary>
- LeftTop = 1,
- /// <summary>
- /// 右下角有圆角
- /// </summary>
- RightBottom = 4,
- /// <summary>
- /// 右上角有圆角
- /// </summary>
- RightTop = 2,
- /// <summary>
- /// 没有圆角
- /// </summary>
- None = 0,
- }
- }
|