关于员工生日的文章:如何编译windows控件
来源:百度文库 编辑:中科新闻网 时间:2024/06/01 11:34:25
我在VS2003中创建了一个windows控件库,却不知道怎么编译,新手,请赐教
生成控件
在Visual Studio .net 中, 用Windows控件库来作为模板,生成一个新的项目.项目的名称为 ctlCuteButton.
首先么做的就是要修改cuteButton的父类
修改下面这行:
public class cuteButton : System.Windows.Forms.Control
改为:
public class cuteButton : System.Windows.Forms.Button