都市无敌医圣全文txt:如何编译windows控件

来源:百度文库 编辑:神马品牌网 时间:2024/05/06 12:52:06
我在VS2003中创建了一个windows控件库,却不知道怎么编译,新手,请赐教

生成控件

在Visual Studio .net 中, 用Windows控件库来作为模板,生成一个新的项目.项目的名称为 ctlCuteButton.
首先么做的就是要修改cuteButton的父类
修改下面这行:

public class cuteButton : System.Windows.Forms.Control

改为:

public class cuteButton : System.Windows.Forms.Button