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

📄 ximmainformstyle.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 XIMMainFormStyle : StyleBase
    {
        private Image _titleImage;

        public XIMMainFormStyle()
        {
            ThemeManager.RegisterThemeName("XIMMainForm", this);
        }

        protected override void LoadStyle(XmlElement elem)
        {
            if (elem.HasAttribute("TitleImage"))
            {
                this.TitleImage = ThemeManager.GetImage(elem.GetAttribute("TitleImage"));
            }
        }

        public Image TitleImage
        {
            get
            {
                return this._titleImage;
            }
            set
            {
                if (this._titleImage != null)
                {
                    this._titleImage.Dispose();
                }
                this._titleImage = value;
            }
        }
    }
}

⌨️ 快捷键说明

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