桐城市人民医院新规划:如何编译windows控件

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/14 08:09:14
我在VS2003中创建了一个windows控件库,却不知道怎么编译,新手,请赐教

生成控件

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

public class cuteButton : System.Windows.Forms.Control

改为:

public class cuteButton : System.Windows.Forms.Button