随笔分类 -  Componets

创建ImageButton自定义控件
摘要:*本文大部分都参考了MSDN的文章,非原创在创建自行绘制的控件时,应从 System.Windows.Forms.Control 中派生,并覆盖 OnPaint 和 OnPaintBackground 事件。 下面是一个最简单的例子: 1using System; 2using System.Collections.Generic; 3using System.ComponentModel; 4... 阅读全文
posted @ 2006-07-17 15:44 Nihgwu 阅读(978) 评论(1) 推荐(0)