using System.Drawing;
using System.Windows.Forms;
namespace Sunny.UI
{
///
/// 日期控件选择类型
///
public enum UIDateType
{
///
/// 年月日
///
YearMonthDay,
///
/// 年月
///
YearMonth,
///
/// 年
///
Year
}
///
/// 接口
///
public interface IToolTip
{
///
/// 需要额外设置工具提示的控件
///
/// 控件
Control ExToolTipControl();
}
///
/// 线头部类型
///
public enum UILineCap
{
///
/// 无
///
None,
///
/// 正方形
///
Square,
///
/// 菱形
///
Diamond,
///
/// 三角形
///
Triangle,
///
/// 圆形
///
Circle
}
///
/// 线型
///
public enum UILineDashStyle
{
///
/// 实线
///
Solid,
///
/// 虚线
///
Dash,
///
/// 由重复的点图案构成的直线
///
Dot,
///
/// 由重复的点划线图案构成的直线
///
DashDot,
///
/// 由重复的双点划线图案构成的直线
///
DashDotDot,
///
/// 自定义
///
Custom,
///
/// 不设置线型
///
None
}
///
/// 树节点绘制
///
public class UITreeNodePainter
{
///
/// 背景色
///
public Color BackColor;
///
/// 前景色
///
public Color ForeColor;
}
}