源代码,学习用。publicdelegatevoidReportEventHandler(objectsender,ReportEventArgse);//声明一个事件的指代(指针)publicdelegatevoidSMSEventHandler(objectsender,SMSEventArgse);//声明一个事件的指代(指针)publicdelegatevoidTerminateEventHandler(objectsender,TerminateEventArgse);//声明收到终止信号publicdelegatevoidTerminateRespE