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

📄 xcomboboxstyle.cs

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

    public class XComboBoxStyle : StyleBase
    {
        private Color _BorderColor;
        private ImageList _DrawDownImages;

        protected override void LoadStyle(XmlElement elem)
        {
            foreach (XmlAttribute attribute in elem.Attributes)
            {
                switch (attribute.Name)
                {
                    case "BorderColor":
                    {
                        this.BorderColor = ThemeManager.GetColor(attribute.Value);
                        continue;
                    }
                    case "DrawDownImages":
                        break;

                    default:
                    {
                        continue;
                    }
                }
                this.DrawDownImages = ThemeManager.GetImageList(attribute.Value, 3, 1);
            }
        }

        protected override void SetDefaultValue()
        {
            this._BorderColor = Color.Black;
        }

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

        public ImageList DrawDownImages
        {
            get
            {
                return this._DrawDownImages;
            }
            set
            {
                this._DrawDownImages = value;
            }
        }
    }
}

⌨️ 快捷键说明

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