------ #### VSoft V1.0.2107.0501 - *.[新增]新增适配原生64位系统。 - *.[修复]修复将侧键作为热键时,点击两个侧键都会激活软件的BUG。 - *.[修复]修复点击主界面中设置按钮,设置按钮没在父窗体居中的BUG。 - *.[修复]修复在右键菜单中无法编辑和新增软件的BUG。 - *.[修复]修复主界面右键菜单打开的窗体没居中的BUG。
51 lines
1.6 KiB
C#
51 lines
1.6 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 VSoft.Skins
|
|
{
|
|
|
|
public class ThemeForm : ThemeFormBase
|
|
{
|
|
/// <summary>
|
|
/// DevExpress风格皮肤
|
|
/// </summary>
|
|
public ThemeForm()
|
|
: base()
|
|
{
|
|
ThemeName = "Default";
|
|
#if DY
|
|
ryControls.Skin.SkinCommon.ButtonSkin.BackColor = Color.FromArgb(0, 150, 20);
|
|
CaptionBackColorTop = Color.FromArgb(70, 190, 107);
|
|
CaptionBackColorBottom = Color.FromArgb(24, 190, 114);
|
|
#else
|
|
ryControls.Skin.SkinCommon.ButtonSkin.BackColor = Color.Teal;
|
|
CaptionBackColorTop = Color.LightSeaGreen;
|
|
CaptionBackColorBottom = Color.Teal;
|
|
#endif
|
|
ryControls.Skin.SkinCommon.ButtonSkin.ColorGradient = true;
|
|
BorderWidth = 1;
|
|
CaptionHeight = 30;
|
|
IconSize = new Size(24, 24);
|
|
//ControlBoxOffset = new Point(8, 8);
|
|
//ControlBoxSpace = 2;
|
|
SideResizeWidth = 4;
|
|
UseDefaultTopRoundingFormRegion = false;
|
|
|
|
ShadowWidth = 1;
|
|
RoundedStyle = RoundStyle.None;
|
|
FormBorderOutterColor = Color.Gray;
|
|
FormBorderInnerColor = Color.White;
|
|
SetClientInset = false;
|
|
ShowShadow = false;
|
|
CaptionTextCenter = false;
|
|
//CaptionTextColor = Color.FromArgb(102, 102, 102);
|
|
//FormBackColor = Color.White;
|
|
}
|
|
}
|
|
}
|