Cracker 's Blog

Now, flutter and fly For own goal. No longer be puerility.
  博客园  :: 首页  :: 新随笔  :: 联系 :: 管理

文章分类 -  C# 2005 组件设计

摘要:“扩展程序提供程序”是一种为其他组件提供属性的组件。扩展程序提供程序提供的属性实际驻留在扩展程序提供程序对象本身,因此并不是它修改的组件的真正属性。在设计时,该属性将出现在任何附加到正在修改的组件的 PropertyGrid 中。不过,在运行时,您无法通过组件自身来访问属性。using System;using System.Collections;using System.ComponentMo... 阅读全文

posted @ 2006-10-09 15:02 Cracker 阅读(126) 评论(0) 推荐(0)

摘要:授权组件设计使用到的主要类型 - System.ComponentModel.License核心代码:public class LicenseControl{ private License license = null; public LicenseControl() { license = LicenseManager.Validate(typeof(Lic... 阅读全文

posted @ 2006-09-28 19:11 Cracker 阅读(2264) 评论(0) 推荐(1)