ftblicense.cs

来自「Freetextbox是优秀的在线编辑器」· CS 代码 · 共 57 行

CS
57
字号
namespace FreeTextBoxControls.Licensing
{
    using System;
    using System.ComponentModel;

    public class FtbLicense : License
    {
        public FtbLicense(Type type, string key, string data)
        {
            this._type = type;
            this._key = key;
            this._data = data;
        }

        public FtbLicense(Type type, string key, string data, bool isPro) : this(type, key, data)
        {
            this._isPro = isPro;
        }

        public override void Dispose()
        {
        }


        public string Data
        {
            get
            {
                return this._data;
            }
        }

        public bool IsPro
        {
            get
            {
                return this._isPro;
            }
        }

        public override string LicenseKey
        {
            get
            {
                return this._key;
            }
        }


        private string _data;
        private bool _isPro;
        private string _key;
        private Type _type;
    }
}

⌨️ 快捷键说明

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