毕加索的秘密 字幕:如何编译windows控件

来源:百度文库 编辑:高考问答 时间:2024/04/29 10:30:40
我在VS2003中创建了一个windows控件库,却不知道怎么编译,新手,请赐教

生成控件

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

public class cuteButton : System.Windows.Forms.Control

改为:

public class cuteButton : System.Windows.Forms.Button