⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bpanelstyle.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Client.Pc.BizControls
{
    using Imps.Client.Pc.Theme;
    using Imps.Client.Pc.XControlStyle;
    using System;
    using System.Drawing;
    using System.Xml;

    public class BPanelStyle : StyleBase
    {
        private Color backColor = Color.White;
        private Image backgroundImage;
        private Color borderColor = Color.FromArgb(0xa4, 170, 220);
        private Color borderInsideColor = Color.White;
        private int borderInsideWidth = 1;
        private int borderWidth = 1;

        protected override void LoadStyle(XmlElement elem)
        {
            ThemeManager.SetColor(elem, ref this.borderColor, "BorderColor");
            ThemeManager.SetColor(elem, ref this.borderInsideColor, "BorderInsideColor");
            ThemeManager.SetColor(elem, ref this.backColor, "BackColor");
            ThemeManager.SetInt(elem, ref this.borderInsideWidth, "BorderInsideWidth", 1);
            ThemeManager.SetInt(elem, ref this.borderWidth, "BorderWidth", 1);
            ThemeManager.SetImage(elem, ref this.backgroundImage, "BackgroundImage");
        }

        public Color BackColor
        {
            get
            {
                return this.backColor;
            }
            set
            {
                this.backColor = value;
            }
        }

        public Image BackgroundImage
        {
            get
            {
                return this.backgroundImage;
            }
            set
            {
                this.backgroundImage = value;
            }
        }

        public Color BorderColor
        {
            get
            {
                return this.borderColor;
            }
            set
            {
                this.borderColor = value;
            }
        }

        public Color BorderInsideColor
        {
            get
            {
                return this.borderInsideColor;
            }
            set
            {
                this.borderInsideColor = value;
            }
        }

        public int BorderInsideWidth
        {
            get
            {
                return this.borderInsideWidth;
            }
            set
            {
                this.borderInsideWidth = value;
            }
        }

        public int BorderWidth
        {
            get
            {
                return this.borderWidth;
            }
            set
            {
                this.borderWidth = value;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -