skinsetting.cs

来自「破解的飞信源代码」· CS 代码 · 共 78 行

CS
78
字号
namespace Imps.Client.Core
{
    using System;
    using System.Xml;

    public class SkinSetting : IUserConfig
    {
        private ProposedData<string> _currentSkinName = new ProposedData<string>("default");

        internal SkinSetting()
        {
        }

        public void ClearLocalUserCfg()
        {
        }

        public void ClearUserCfg()
        {
        }

        public void ClearWndCfg()
        {
        }

        public void LoadLocalUserCfg(XmlNode node)
        {
        }

        public void LoadWndXml(XmlNode node)
        {
        }

        public void LoadXml(XmlNode node)
        {
        }

        public string ToLocalUserCfg()
        {
            return string.Format("<{0}>{1}</{0}>", "SkinName", this.CurrentSkinName);
        }

        public string ToWndXml()
        {
            return string.Format("<{0}>{1}</{0}>", "SkinName", this.CurrentSkinName);
        }

        public ProposedData<string> CurrentSkinName
        {
            get
            {
                return this._currentSkinName;
            }
            internal set
            {
                this._currentSkinName = value;
            }
        }

        public bool HasProposedProperty
        {
            get
            {
                return this.CurrentSkinName.HasProposedValue;
            }
        }

        public string RootNode
        {
            get
            {
                return string.Empty;
            }
        }
    }
}

⌨️ 快捷键说明

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