解释代码
public delegate void myPrint(singlePrint sp);
[Bindable(true), Category("printSingle")]
public event myPrint printSingle;
int codeid;
谁帮忙解释下这段代码的意思啊?
谢谢啊
------解决方案--------------------myPrint是委托
Bindable和 Category是特性,见帮助
------解决方案--------------------public delegate void myPrint(singlePrint sp); //委托
[Bindable(true), Category("printSingle")] //printSingle事件的特性
public event myPrint printSingle; //myPrint封装的事件
int codeid; //变量声明