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;           
        }
    }
}
