- 4
- 0
- 约 72页
- 2017-08-29 发布于上海
- 举报
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 3.23 类库、组件和控件 (续) GateBase类是所有门电路的基类,完整定义如下: using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms;//Control类所在命名空间 using System.Drawing;//输出图形必须引入的命名空间, //参见第5章 namespace GateLibrary { public delegate void ChangedEvent(object sender,EventArgs e);//代表类声明见1.18节 //自定义控件的基类必须为Control 3.23 类库、组件和控件 (续) public abstract class GateBase:Control//抽象类,所有门电路的基类 { //每个门电路都有若干输入引脚,一个输出引脚。用索引指示器记录输入引脚值 protected Listint PinInput=null;/
原创力文档

文档评论(0)