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 { /// /// DevExpress风格皮肤 /// 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; } } }