### MyHouse V1.0.2502.0801 - *.[新增]适配新版接口。 ### SmartHouseAPI V1.0.2502.0801 - *.[新增]支持Docker部署,支持NAS。
45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
using MGdu.WinFormUI;
|
|
using MGdu.WinFormUI.MyGraphics;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace RySkins
|
|
{
|
|
|
|
public class ThemeForm : ThemeFormBase
|
|
{
|
|
/// <summary>
|
|
/// DevExpress风格皮肤
|
|
/// </summary>
|
|
public ThemeForm()
|
|
: base()
|
|
{
|
|
ThemeName = "Default";
|
|
ryControls.Skin.SkinCommon.ButtonSkin.BackColor = Color.DarkGreen;
|
|
CaptionBackColorTop = Color.DarkGreen;
|
|
CaptionBackColorBottom = Color.SeaGreen;
|
|
ryControls.Skin.SkinCommon.ButtonSkin.ColorGradient = true;
|
|
BorderWidth = 1;
|
|
//CaptionHeight = 30;
|
|
IconSize = new Size(22, 22);
|
|
//ControlBoxOffset = new Point(8, 8);
|
|
//ControlBoxSpace = 2;
|
|
SideResizeWidth = 4;
|
|
UseDefaultTopRoundingFormRegion = false;
|
|
|
|
|
|
RoundedStyle = RoundStyle.None;
|
|
FormBorderOutterColor = Color.Gray;
|
|
FormBorderInnerColor = Color.White;
|
|
SetClientInset = false;
|
|
ShowShadow = false;
|
|
CaptionTextCenter = false;
|
|
//CaptionTextColor = Color.FromArgb(102, 102, 102);
|
|
//FormBackColor = Color.White;
|
|
}
|
|
}
|
|
}
|