------ #### ryControlsV4 V3.0.2107.0101 - *.[新增]新增Sheng.Winform.Controls部分控件。 #### RyWeb V3.0.2107.0101 - *.[新增]QuickWeb新增引用页设置。 #### MyDbV4 V3.0.2107.0101 - *.[新增]支持忽略大小写的替换功能。
37 lines
764 B
C#
37 lines
764 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.ComponentModel;
|
|
|
|
namespace Sheng.Winform.Controls
|
|
{
|
|
class SEControlLicense : License
|
|
{
|
|
private Type _Type;
|
|
|
|
public SEControlLicense(Type type)
|
|
{
|
|
if (type == null)
|
|
{
|
|
throw (new NullReferenceException());
|
|
}
|
|
|
|
_Type = type;
|
|
}
|
|
|
|
public override void Dispose()
|
|
{
|
|
// 根据需要插入垃圾回收的代码
|
|
}
|
|
|
|
/// <summary>
|
|
/// 获取授予该组件的许可证密钥
|
|
/// </summary>
|
|
public override string LicenseKey
|
|
{
|
|
get { return (_Type.GUID.ToString()); }
|
|
}
|
|
}
|
|
}
|